remote-mcp-server-authless
Cloudflare でリモート MCP サーバーを構築する(認証なし)
この例では、Cloudflare Workers 上で認証を必要としないステートレスなリモート MCP サーバーをデプロイできます。MCP 2026-07-28 仕様を実装しつつ、通常のツール呼び出しについては従来のクライアントとの互換性も維持しています。
はじめに
これにより、MCP サーバーは次のような URL にデプロイされます: remote-mcp-server-authless.<your-account>.workers.dev/mcp
あるいは、以下のコマンドラインを使用して、リモート MCP サーバーをローカルマシン上に作成することもできます。
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Cloudflare Authless Remote MCP Server
MCP サーバーのカスタマイズ
MCP サーバーに独自の ツール を追加するには、src/index.ts の createServer() 関数内で作成した McpServer に server.registerTool(...) を使用して各ツールを登録します。
Cloudflare AI Playground に接続する
リモート MCP クライアントである Cloudflare AI Playground から MCP サーバーに接続できます。
https://playground.ai.cloudflare.com/ にアクセスします。
デプロイした MCP サーバーの URL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)を入力します。これで、Playground から直接 MCP ツールを使用できます。
Claude Desktop を MCP サーバーに接続する
ローカルの MCP クライアントからリモート MCP サーバーに接続するには、mcp-remote プロキシ を使用します。
Claude Desktop から MCP サーバーに接続するには、Anthropic のクイックスタート に従い、Claude Desktop で「設定 > 開発者 > 設定を編集」の順に進みます。
この構成に更新します:
{
"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
Related MCP Connectors
Cloudflare Workers MCP server: agent-workflow-engine
Cloudflare Workers MCP server: ai-model-router
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables deploying a remote MCP server on Cloudflare Workers without authentication, allowing tools to be defined and used with MCP clients like Cloudflare AI Playground or Claude Desktop.-
- 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 custom tools to be used from remote MCP clients such as Cloudflare AI Playground and Claude Desktop.-
- 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.-