MCP.so
登录

Remote MCP Server on Cloudflare

@rabbah

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

rabbah

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Remote MCP Server on Cloudflare?

A template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login via browser. It is intended for developers who want to run MCP tools remotely and connect them to clients like Claude Desktop or the MCP Inspector.

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. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. Connect clients by pointing them to the /sse endpoint of the server (e.g., http://localhost:8787/sse locally or the workers.dev URL after deployment). For Claude Desktop, add an mcp-remote proxy entry in the config file pointing to the SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Serverless deployment on Cloudflare Workers
  • OAuth login flow via browser
  • SSE (Server‑Sent Events) transport for MCP
  • Local development with hot‑reload
  • Works with MCP Inspector and Claude Desktop
  • CLI proxy (mcp-remote) for client connections

Use cases of Remote MCP Server on Cloudflare

  • Quickly prototype and deploy custom MCP tools
  • Connect Claude Desktop to remote tools behind OAuth
  • Demo an MCP server to collaborators without local setup
  • Run computation (e.g., math tools) via a cloud worker

FAQ from Remote MCP Server on Cloudflare

What transport does the server use?

It uses SSE (Server‑Sent Events) as the MCP transport layer.

How do I connect Claude Desktop to the server?

Add an entry in Claude’s configuration file with command: "npx" and args: ["mcp-remote", "<sse-url>"] (e.g., http://localhost:8787/sse locally or the remote workers.dev/sse URL).

What dependencies are required to run the server?

You need Node.js, the repository cloned, and npm install. For deployment you also need the Cloudflare Wrangler CLI and a Cloudflare account.

How do I deploy the server to Cloudflare?

Run npx wrangler kv namespace create OAUTH_KV, add the returned KV namespace ID to wrangler.jsonc, then execute npm run deploy.

What can I do if the server doesn’t connect?

Try connecting directly with npx mcp-remote http://localhost:8787/sse on the command line. In rare cases, clear the auth cache with rm -rf ~/.mcp-auth.

评论

云与基础设施 分类下的更多 MCP 服务器