AI Tool Provider
Turn your APIs into AI-callable tools
Expose your domain logic to any AI agent via MCP. Deploy a function, get a tool endpoint. No client libraries, no integration code.
Value: Expose domain logic to any AI agent, standard protocol, zero integration code
How it works
1
Write your function
Export a handler using the runtime SDK. Define input parameters and return structured data.
2
Deploy
One command pushes your function live. It immediately gets an MCP endpoint at /.well-known/mcp.
3
Connect from any agent
Point Claude Desktop, Cursor, or any MCP-compatible client at your endpoint. Your tool appears automatically.
4
Iterate
Update your function and redeploy. Connected agents see the new version immediately. No client changes required.
Capabilities used
Example: Weather tool
// weather.ts — becomes an MCP tool
import { defineHandler } from '@fold-run/runtime'
export default defineHandler(async (fold) => {
const { city } = await fold.body<{ city: string }>();
const weather = await fetchWeather(city);
return fold.json(weather);
});
# Deploy and get your MCP endpoint
$ fold deploy weather.ts
MCP: https://acme.fold.run/.well-known/mcp
Start building
Free tier. No credit card. Deploy your first function in minutes.
Get Started