- create-mcp
What is create-mcp?
create-mcp is a command-line interface (CLI) tool designed to set up and deploy Model Control Protocol (MCP) servers to Cloudflare Workers quickly and efficiently. Users can create new tools for their Cursor Agent by writing TypeScript functions.
How to use create-mcp?
To use create-mcp, ensure you have the Wrangler CLI installed and logged into your Cloudflare account. Run the command bun create mcp
to scaffold a new MCP server, or specify a server name with bun create mcp <server-name>
. You can then add functions to the MyWorker
class in src/index.ts
to create MCP tools.
Key features of create-mcp?
- Quick setup and deployment of MCP servers to Cloudflare Workers.
- Easy integration with TypeScript functions and JSDoc comments for tool descriptions.
- Automatic cloning of template repositories and installation of dependencies.
- Supports fast redeployment of changes.
Use cases of create-mcp?
- Rapidly developing and deploying custom tools for Cursor Agents.
- Simplifying the process of creating and managing MCP servers without local setups.
- Enabling developers to leverage Cloudflare's infrastructure for their applications.
FAQ from create-mcp?
- What are the prerequisites for using create-mcp?
You need to have the Wrangler CLI installed and logged into your Cloudflare account, as well as the Claude Desktop App.
- Can I customize the functions in my MCP server?
Yes! You can add any TypeScript functions to the
MyWorker
class to create custom MCP tools.
- How do I deploy changes to my MCP server?
Simply run
bun run deploy
to redeploy your worker after making changes.





