MCP.so
登录

Remote MCP Server on Cloudflare

@rabbah

基本信息

分类

云与基础设施

传输方式

stdio

作者

rabbah

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

What transport does the server use?

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

2

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).

3

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.

4

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`.

5

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 服务器