claude-spx-mcp
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)を入力しますこれで、プレイグラウンドから直接 MCP ツールを使用できます!
Claude Desktop を MCP サーバーに接続する
ローカルの MCP クライアントからも、mcp-remote プロキシ を使用してリモート 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 を再起動すると、ツールが利用可能になっているはずです。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
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
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers without authentication, supporting the MCP 2026-07-28 specification and custom tool registration.-
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling tool calls via MCP protocol.-
- FlicenseNot gradedqualityNot gradedmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling remote tool calls via the MCP protocol.-
- FlicenseNot gradedqualityCmaintenanceDeploys a stateless remote MCP server on Cloudflare Workers that requires no authentication, enabling tool calls from remote MCP clients while remaining compatible with legacy clients.-