Remote MCP Server (Authless)
Cloudflare上でのリモートMCPサーバーの構築(認証なし)
この例では、認証を必要としないリモートMCPサーバーをCloudflare Workersにデプロイできます。
はじめに:
これにより、MCPサーバーが remote-mcp-server-authless.<your-account>.workers.dev/mcp のようなURLにデプロイされます。
あるいは、以下のコマンドラインを使用して、ローカルマシン上にリモート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 の init() メソッド内で this.server.tool(...) を使用して各ツールを定義します。
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-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
9 remote MCP servers on Cloudflare Workers for AI agents. Free tier + Pro API keys.
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-agent-scratchpad
Cloudflare Workers MCP server: ai-model-router
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling integration with AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityDmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling custom tools and connectivity to AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling connection to AI Playground and local MCP clients like Claude Desktop.-
- FlicenseNot gradedqualityCmaintenanceDeploy a remote MCP server on Cloudflare Workers without authentication, enabling connection to AI Playground and Claude Desktop.-