create-mcp
by zueai
A CLI tool that sets up a Model Control Protocol (MCP) server and deploys it to Cloudflare Workers. It allows you to quickly create new tools for your Cursor Agent by writing TypeScript functions with JSDoc comments.
Last updated: N/A
What is create-mcp?
create-mcp is a command-line interface (CLI) tool designed to streamline the creation and deployment of Model Control Protocol (MCP) servers to Cloudflare Workers. It simplifies the process of building custom tools for the Cursor Agent.
How to use create-mcp?
To use create-mcp, first ensure you have Wrangler CLI installed and are logged into your Cloudflare account. Then, run bun create mcp
(optionally with --name <server-name>
) to scaffold a new MCP server. Add functions with JSDoc comments to the MyWorker
class in src/index.ts
. Deploy changes using bun run deploy
and reload your Cursor window to use the new tool.
Key features of create-mcp
Scaffolds a template worker repository
Installs dependencies
Initializes a Git repository
Deploys a Hello World MCP server to Cloudflare
Copies the MCP server command to your clipboard
Use cases of create-mcp
Creating custom tools for Cursor Agent
Integrating with external APIs
Building serverless functions for AI agents
Rapid prototyping of MCP servers
FAQ from create-mcp
What is MCP?
What is MCP?
Model Control Protocol (MCP) is a protocol for interacting with AI models and agents.
Why use Cloudflare Workers?
Why use Cloudflare Workers?
Cloudflare Workers provides a great developer experience and blazing fast deployments for serverless functions.
What is Wrangler CLI?
What is Wrangler CLI?
Wrangler CLI is a command-line tool for managing Cloudflare Workers.
How do I define tools?
How do I define tools?
You define tools by adding functions to the MyWorker
class in src/index.ts
and documenting them with JSDoc comments.
How do I deploy changes?
How do I deploy changes?
Redeploy the worker using bun run deploy
and reload your Cursor window.