A CLI tool that sets up a Model Control Protocol server and deploys it to Cloudflare Workers, allowing you to quickly create custom tools for your Cursor Agent just by writing TypeScript functions.
A CLI tool that sets up a Model Control Protocol (MCP) server and deploys it to Cloudflare Workers so you can start making new tools for your Cursor Agent in minutes.
Just write TypeScript functions with JSDoc comments to give your agent MCP tools.
To scaffold and deploy a new MCP server, just run:
bun create mcp
You can also pass a name directly to the command: bun create mcp --name
.
/
Just add functions to the MyWorker
class in src/index.ts
. Each function will compile into an MCP tool.
For example:
/** * A warm, friendly greeting from your new Workers MCP server. * @param name {string} the name of the person we are greeting. * @return {string} the contents of our greeting. */ sayHello(name: string) { return `Hello from an MCP Worker, ${name}!`; }
@param
tags are the tool's params, with types and descriptions.@return
tag is the tool's return value, with its type.bun run deploy
Now you can ask your agent to use the new tool!
Vibes, great DX, and blazing fast deployments.
I don't like running MCP servers locally, and I'm pretty sure you don't either. Now we don't have to run node processes to use simple MCP tools in Cursor that call APIs.
All you have to do is write functions. Put your descriptions and params in JSDoc comments and it just works.
You can clone and deploy any MCP server made with create-mcp to your own Cloudflare account:
bun create mcp --clone
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!