Cover image

CLI将在几秒钟内设置并部署MCP服务器到Cloudflare工人。只需编写打字稿功能即可制作光标MCP工具。

3 years

Works with Finder

2

Github Watches

6

Github Forks

33

Github Stars

create-mcp

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.

Prerequisites

  • Wrangler CLI 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:

bun create mcp

You can also pass a name directly to the command: bun create mcp --name <server-name>.

What this CLI does

  • Clones the template worker repository into <current-dir>/<server-name>
  • 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:

/**
 * 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:
bun run deploy
  1. 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

You can clone and deploy any MCP server made with create-mcp to your own Cloudflare account:

bun create mcp --clone <github-url>

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 made by @geelen

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • chongdashu
  • 使用模型上下文协议(MCP),启用Cursor,Windsurf和Claude Desktop等AI助手客户,以通过自然语言控制虚幻引擎。

    Reviews

    1 (1)
    Avatar
    user_3wQjNe96
    2025-04-16

    create-mcp by zueai is an exceptional tool for creating multi-cloud platforms effortlessly. Its seamless integration and comprehensive documentation make it a go-to choice for developers. The ease of use and robust features significantly simplify the deployment process. Highly recommend checking it out on GitHub!