Every protocol your agents speak

Deploy once and get MCP, A2A, and HTTP endpoints automatically. Any compatible agent discovers and calls your tools without configuration.

MCP Native

Every deployed tool gets an MCP endpoint at /.well-known/mcp. Agents that support the Model Context Protocol discover your tools automatically and call them with structured inputs and outputs. No adapters, no glue code.

/.well-known/mcp

A2A Ready

An Agent Card is generated at deploy time and served at /.well-known/agent.json. Other agents find yours via the Agent-to-Agent protocol, negotiate capabilities, and start collaborating. Supports tasks/send and tasks/sendSubscribe for streaming.

/.well-known/agent.json

One deploy, three endpoints

Write your tool once. When you deploy, fold generates an HTTPS endpoint, an MCP server, and an A2A agent card. All three are live immediately.

// weather.ts
import { defineHandler } from '@fold-run/runtime';
 
export default defineHandler(async (fold: FoldContext) => {
const city = fold.query('city') || 'London';
const forecast = await fold.ai.run('@fold/llama-3', {
prompt: `Current weather in ${city}`
});
return fold.json({ city, forecast });
});
$ fold deploy weather.ts --name weather
 
Deployed v1
URL: https://you.fold.run/weather
MCP endpoint: https://you.fold.run/.well-known/mcp
Agent card: https://you.fold.run/.well-known/agent.json

Connect any agent in seconds

Point any MCP-compatible agent at your endpoint. It discovers your tools and starts calling them immediately.

# Add to your agent's MCP config
"mcpServers": {
"my-tools": {
"url": "https://you.fold.run/.well-known/mcp"
}
}

No vendor lock-in

MCP and A2A are open protocols. Your tools work with any compatible agent from any provider. Switch agents without changing your code.

Safety & Guardrails →

Deploy your first MCP tool in 60 seconds

Free tier. No credit card. Full MCP and A2A support included.

Get Started