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: 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 内で 設定 > 開発者 > 設定を編集 に移動します。
この設定で更新します:
{
"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
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
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.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling tool calls via MCP protocol.-
- FlicenseNot gradedqualityBmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, enabling MCP tool calls from clients like Claude Desktop and Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling remote tool calls via the MCP protocol.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, implementing the MCP 2026-07-28 specification and compatible with legacy clients for tool calls.-