Cloudflare 上でリモート MCP サーバーを構築する (認証なし)
この例では、Cloudflare Workers で認証を必要としないリモート MCP サーバーをデプロイできます。
始めましょう:
これにより、MCP サーバーが次のような URL にデプロイされます: remote-mcp-server-authless.<your-account>.workers.dev/sse
あるいは、以下のコマンド ラインを使用して、ローカル マシンにリモート MCP サーバーを作成することもできます。
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 内で [設定] > [開発] > [構成の編集] に移動します。
次の構成で更新します。
Claude を再起動すると、ツールが利用可能になるはずです。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
認証を必要とせずに Cloudflare Workers にリモート MCP (Model Context Protocol) サーバーを展開し、Claude Desktop または Cloudflare AI Playground を介して AI モデルに接続できるようにするツール。
Related MCP Servers
- -securityFlicense-qualityA deployable MCP (Model Context Protocol) server on Cloudflare Workers that doesn't require authentication, allowing users to create and access custom AI tools through Claude Desktop or the Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA deployable authentication-free MCP (Model Context Protocol) server on Cloudflare Workers that allows you to add custom tools and connect to AI clients like Claude Desktop or Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA tool that deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication requirements, allowing developers to add custom tools that can be accessed from Claude Desktop or the Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA deployment solution for a remote Model Context Protocol server on Cloudflare Workers that doesn't require authentication, allowing users to create and use custom AI tools with Claude and other MCP clients.Last updated -TypeScript