Model Control Protocol Server (MCP)
作成-mcp
モデル制御プロトコル (MCP)サーバーをセットアップして Cloudflare Workers にデプロイする CLI ツール。これにより、数分でカーソル エージェント用の新しいツールの作成を開始できます。
JSDoc コメントを使用して TypeScript 関数を記述するだけで、エージェントに MCP ツールを提供できます。
前提条件
Wrangler CLIがインストールされ、Cloudflare アカウントでログインしています。
Claude デスクトップ アプリがインストールされました。(近日中に削除されます)
Related MCP server: Create MCP
説明書
新しい MCP サーバーをスキャフォールディングしてデプロイするには、次のコマンドを実行します。
bun create mcpコマンドに直接名前を渡すこともできます: bun create mcp --name <server-name> 。
このCLIの機能
テンプレートワーカーリポジトリを
<current-dir>/<server-name>に複製します。依存関係をインストールします
Gitリポジトリを初期化する
CloudflareアカウントにHello World MCPサーバーをデプロイします
Claude Desktopに追加します
MCPサーバコマンドをクリップボードにコピーして、カーソルに貼り付けることができます。
使い方
src/index.tsのMyWorkerクラスに関数を追加するだけです。各関数はMCPツールにコンパイルされます。
例えば:
/**
* 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}!`;
}最初の行はツールの説明です。
@paramタグは、タイプと説明が付いたツールのパラメータです。@returnタグは、ツールの戻り値とその型です。
変更の展開
ワーカーを再デプロイします。
bun run deployカーソル ウィンドウを再読み込みします。
これで、エージェントに新しいツールを使用するように依頼できるようになりました。
Cloudflare Workersを選ぶ理由
雰囲気、素晴らしい DX、そして驚くほど速い展開。
私はMCPサーバーをローカルで実行するのが嫌いで、皆さんもそうではないと思います。しかし、CursorでAPIを呼び出すシンプルなMCPツールを使うために、Nodeプロセスを実行する必要がなくなりました。
関数を書くだけで、JSDocのコメントに説明とパラメータを記述するだけで動作します。
create-mcp で作成されたサンプルサーバー
create-mcp で作成された任意の MCP サーバーを複製して、自分の Cloudflare アカウントにデプロイできます。
bun create mcp --clone <github-url>貢献
貢献とフィードバックは大歓迎です!お気軽にプルリクエストを送信したり、問題を報告してください。
謝辞
このプロジェクトは@geelenが作成したworkers-mcpなしでは実現できません。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.21030MIT
- AlicenseNot gradedqualityDmaintenanceA CLI tool that sets up a Model Control Protocol server and deploys it to Cloudflare Workers, allowing you to quickly create custom tools for your Cursor Agent just by writing TypeScript functions.4317MIT
- FlicenseNot gradedqualityNot gradedmaintenanceA deployable MCP server on Cloudflare Workers that allows you to create custom AI tools without requiring authentication.
- FlicenseNot gradedqualityDmaintenanceA deployable MCP server on Cloudflare Workers that allows you to create and expose custom AI tools without requiring authentication.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
One PAT, any MCP agent: Vercel, GitHub, Cloudflare, Supabase, GCP — unified dev infra gateway.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zueai/create-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server