https://github.com/zueai/create-mcp
  
  
    CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to make Cursor MCP tools. 
    https://github.com/zueai/create-mcp
  
ai cli cloudflare-workers cursor cursor-ai mcp mcp-client mcp-server model-context-protocol
        Last synced: 4 months ago 
        JSON representation
    
CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to make Cursor MCP tools.
- Host: GitHub
 - URL: https://github.com/zueai/create-mcp
 - Owner: zueai
 - License: mit
 - Created: 2025-02-22T18:23:12.000Z (8 months ago)
 - Default Branch: main
 - Last Pushed: 2025-02-26T00:22:04.000Z (8 months ago)
 - Last Synced: 2025-06-05T17:50:14.518Z (5 months ago)
 - Topics: ai, cli, cloudflare-workers, cursor, cursor-ai, mcp, mcp-client, mcp-server, model-context-protocol
 - Language: TypeScript
 - Homepage: https://www.npmjs.com/package/create-mcp
 - Size: 61.5 KB
 - Stars: 38
 - Watchers: 2
 - Forks: 9
 - Open Issues: 1
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
- awesome-mcp-servers - **create-mcp** - CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to make Cursor MCP tools. `typescript` `ai` `cli` `cloudflare-workers` `cursor` `npm install zueai/create-mcp` (🤖 AI/ML)
 - awesome-mcp-servers - **create-mcp** - CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to make Cursor MCP tools. `typescript` `ai` `cli` `cloudflare-workers` `cursor` `npm install zueai/create-mcp` (AI/ML)
 
README
          # create-mcp
A CLI tool that sets up a [Model Control Protocol (MCP)](https://modelcontextprotocol.io) 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.
## Prerequisites
- [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/install-and-update/) installed and logged in with your Cloudflare account.
- Claude Desktop App installed. (This will be removed soon)
## Instructions
To scaffold and deploy a new MCP server, just run:
```bash
bun create mcp
```
You can also pass a name directly to the command: `bun create mcp --name `.
## What this CLI does
- Clones the template worker repository into `/`
- Installs dependencies
- Initializes a Git repository
- Deploys a Hello World MCP server to your Cloudflare account
- Adds it to Claude Desktop
- Copies the MCP server command to your clipboard so you can paste it into Cursor
## How to Use
Just add functions to the `MyWorker` class in `src/index.ts`. Each function will compile into an MCP tool.
For example:
```typescript
/**
 * 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}!`;
}
```
- The first line is the tool's description.
- The `@param` tags are the tool's params, with types and descriptions.
- The `@return` tag is the tool's return value, with its type.
## Deploying Changes
1. Redeploy the worker:
```bash
bun run deploy
```
2. Reload your Cursor window.
Now you can ask your agent to use the new tool!
## Why Cloudflare Workers?
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.
## Example Servers made with create-mcp
- [Neon](https://github.com/zueai/neon-mcp)
- [Cloudflare](https://github.com/zueai/cloudflare-api-mcp)
- [Vercel](https://github.com/zueai/vercel-api-mcp)
- [WorkOS](https://github.com/zueai/workos-mcp)
You can clone and deploy any MCP server made with create-mcp to your own Cloudflare account:
```bash
bun create mcp --clone 
```
## Contributing
Contributions and feedback are extremely welcome! Please feel free to submit a Pull Request or open an issue!
## Acknowledgements
This project would not be possible without [workers-mcp](https://github.com/cloudflare/workers-mcp) made by [@geelen](https://github.com/geelen)