Cloudflare Remote MCP Server (Authless)
Cloudflare 上にリモート MCP サーバーを構築する(認証なし)
この例では、Cloudflare Workers 上に認証を必要としないステートレスなリモート MCP サーバーをデプロイする方法を説明します。MCP 2026-07-28 仕様を実装しつつ、通常のツール呼び出しでは従来のクライアントとの互換性を維持します。
はじめに:
これにより、MCP サーバーが remote-mcp-server-authless.<your-account>.workers.dev/mcp のような URL にデプロイされます。
あるいは、以下のコマンドラインを使用して、ローカルマシン上にリモート MCP サーバーを作成することもできます:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: remote-mcp-server-authless
MCP サーバーのカスタマイズ
独自のツールを MCP サーバーに追加するには、src/index.ts の createServer() 関数で作成された McpServer 上で server.registerTool(...) を使用して各ツールを登録します。
Cloudflare AI Playground に接続する
リモート MCP クライアントである Cloudflare AI Playground から MCP サーバーに接続できます:
デプロイした MCP サーバーのURL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)を入力しますこれで、Playground から直接 MCP ツールを使用できます!
Claude Desktop を MCP サーバーに接続する
mcp-remote プロキシを使用して、ローカルの MCP クライアントからリモート MCP サーバーに接続することもできます。
Claude Desktop から MCP サーバーに接続するには、Anthropic のクイックスタートに従い、Claude Desktop 内で Settings > Developer > Edit Config に進みます。
以下の設定で更新します:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
]
}
}
}Claude を再起動すると、ツールが利用可能になるのが確認できます。
This server cannot be deployed
Maintenance
Related MCP Connectors
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: agent-workflow-engine
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing users to register custom tools and connect from clients like Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing MCP clients like Cloudflare AI Playground and Claude Desktop to connect and use registered tools.-
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tool registration and connections from remote MCP clients.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be called from remote MCP clients like Cloudflare AI Playground and Claude Desktop.-