MCP.so
ログイン

Remote MCP Server on Cloudflare

@remodlai

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

remodlai

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "remote-mcp-server-remodlai": {
      "command": "npx",
      "args": [
        "nx",
        "dev",
        "remote-mcp-server"
      ]
    }
  }
}

Remote MCP Server on Cloudflare のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Remote MCP Server on Cloudflare?

It is a template and guide for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows MCP clients such as Claude Desktop to connect to tools hosted on Cloudflare’s edge network via SSE.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. For remote access, deploy with npm run deploy after configuring a KV namespace. Connect via the MCP Inspector using SSE at /sse, or point Claude Desktop to the worker URL using the npx mcp-remote proxy in its configuration file.

Key features of Remote MCP Server on Cloudflare

  • Deployed on Cloudflare Workers for global edge performance
  • OAuth login integration for secure access
  • Supports SSE transport for remote MCP connections
  • Works with MCP Inspector for testing and debugging
  • Connects to Claude Desktop via a local proxy
  • Local development environment with live reload

Use cases of Remote MCP Server on Cloudflare

  • Deploy custom MCP tools (e.g., a math tool) on Cloudflare’s network
  • Allow Claude Desktop to call remote tools from anywhere
  • Protect MCP endpoints with OAuth authentication
  • Develop and test MCP servers locally before production deployment

よくある質問

1

What transport does the server use?

The server uses SSE (Server-Sent Events) as the transport, with the SSE endpoint at `/sse`.

2

How do I connect Claude Desktop to the remote server?

Update Claude Desktop’s configuration to use the `npx mcp-remote` command with the server’s workers.dev URL (e.g., `https://worker-name.account-name.workers.dev/sse`).

3

How do I deploy the server to Cloudflare?

First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add the ID to `wrangler.jsonc`, then run `npm run deploy`.

4

How can I debug connection issues?

Run `npx mcp-remote http://localhost:8787/sse` directly on the command line to test the connection. In rare cases, clearing `~/.mcp-auth` may help.

5

What runtime or dependencies are required?

Node.js and npm are needed for local development. Cloudflare Workers requires the Wrangler CLI and a Cloudflare account for deployment.

コメント

「クラウドとインフラ」の他のコンテンツ