MCP.so
ログイン

Remote MCP Server on Cloudflare

@joshwhitfield

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

joshwhitfield

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a guide and codebase for running a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host MCP tools remotely and connect them to clients like Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally via npx nx dev remote-mcp-server. For production, deploy with npm run deploy after creating an OAUTH_KV namespace via Wrangler. Clients connect using SSE at the /sse endpoint, either locally (http://localhost:8787/sse) or at the deployed workers.dev/sse URL, typically through the mcp-remote proxy.

Key features of Remote MCP Server on Cloudflare

  • Deploy MCP server on Cloudflare Workers with OAuth
  • SSE transport for remote MCP client connections
  • Local development with MCP Inspector
  • Integration with Claude Desktop via mcp-remote proxy
  • Simple authentication using mock login screen

Use cases of Remote MCP Server on Cloudflare

  • Host MCP tools as a remote service on Cloudflare’s edge network
  • Connect Claude Desktop to a cloud-hosted MCP server
  • Develop and test MCP tools with the official MCP Inspector
  • Run private MCP servers protected by OAuth authentication

よくある質問

1

What runtime and dependencies are required?

Node.js and npm are needed for local development. Deployment requires a Cloudflare account and the `wrangler` CLI. Clients need `npx` and the `mcp-remote` package.

2

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration file (`claude_desktop_config.json`) to add an MCP server entry with command `npx`, args `["mcp-remote", "<your‑server‑url>/sse"]`. Restart Claude and log in via the OAuth browser window.

3

What transport does the server use?

The server uses Server‑Sent Events (SSE) for communication. Connect to the `/sse` endpoint on the local or remote URL.

4

How do I deploy to Cloudflare Workers?

Run `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your `workers.dev` subdomain.

5

How can I test the server locally?

Use the MCP Inspector: run `npx @modelcontextprotocol/inspector`, set transport type to SSE, and enter `http://localhost:8787/sse` as the URL. Log in with any email and password to list and call tools.

コメント

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