Remote MCP Server Authless
Cloudflare 上でリモート MCP サーバーを構築する (認証なし)
この例では、Cloudflare Workers で認証を必要としないリモート MCP サーバーをデプロイできます。
始めましょう:
これにより、MCP サーバーが次のような URL にデプロイされます: remote-mcp-server-authless.<your-account>.workers.dev/sse
あるいは、以下のコマンド ラインを使用して、ローカル マシンにリモート MCP サーバーを作成することもできます。
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessRelated MCP server: Remote MCP Server Authless
MCPサーバーのカスタマイズ
独自のツールを MCP サーバーに追加するには、 this.server.tool(...)を使用してsrc/index.tsのinit()メソッド内で各ツールを定義します。
Cloudflare AI Playgroundに接続する
リモート MCP クライアントである Cloudflare AI Playground から MCP サーバーに接続できます。
https://playground.ai.cloudflare.com/にアクセスしてください
デプロイされた MCP サーバーの URL を入力します (
remote-mcp-server-authless.<your-account>.workers.dev/sse)MCP ツールをプレイグラウンドから直接使用できるようになりました。
Claude DesktopをMCPサーバーに接続する
mcp-remote プロキシを使用して、ローカル MCP クライアントからリモート MCP サーバーに接続することもできます。
Claude Desktop から MCP サーバーに接続するには、 Anthropic のクイックスタートに従い、Claude Desktop 内で [設定] > [開発] > [構成の編集] に移動します。
次の構成で更新します。
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}Claude を再起動すると、ツールが利用可能になるはずです。
Related MCP Connectors
Cloudflare Workers MCP server: ai-model-router
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-prompt-optimizer
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA Cloudflare Workers-based Model Context Protocol server that can be deployed without authentication requirements, allowing users to create custom AI tools accessible from Cloudflare AI Playground or Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceA serverless solution for deploying a Model Context Protocol server on Cloudflare Workers without authentication requirements, allowing tools to be used with Claude Desktop and Cloudflare AI Playground.-
- FlicenseNot gradedqualityCmaintenanceA deployable Model Context Protocol server on Cloudflare Workers that runs without authentication requirements, allowing integration with AI models through the Cloudflare AI Playground or Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceA deployable Model Context Protocol server on Cloudflare Workers that enables custom AI tools without requiring authentication, compatible with Cloudflare AI Playground and Claude Desktop.-