remote-mcp-server-authlesss
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 に接続する
Cloudflare AI Playground はリモート MCP クライアントであるため、その場所から自分の MCP サーバーに接続できます:
https://playground.ai.cloudflare.com/ にアクセスしてください。
デプロイした 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
Related MCP Connectors
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.
Cloudflare Workers MCP server: agent-workflow-engine
Cloudflare Workers MCP server: ai-model-router
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 MCP clients like Cloudflare AI Playground and Claude Desktop to connect and use registered tools.-
- 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.-