- create-mcp
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 and deploy a new MCP server. You can also specify a server name with bun create mcp --name <server-name>.
Key features of create-mcp?
- Quick setup and deployment of MCP servers to Cloudflare Workers.
- Easy integration with Cursor Agent by writing TypeScript functions.
- Automatic cloning of template repositories and installation of dependencies.
- Supports JSDoc comments for function descriptions and parameters.
Use cases of create-mcp?
- Rapidly deploy custom tools for Cursor Agents.
- Create and manage multiple MCP servers for different applications.
- Facilitate API calls without running local node processes.
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, and the Claude Desktop App (which will be removed soon).
- Can I customize the functions in my MCP server?
Yes! You can add your own TypeScript functions to the
MyWorkerclass insrc/index.ts.
- How do I deploy changes to my MCP server?
Redeploy the worker using
bun run deployand reload your Cursor window.