MCP.so
登录

Remote MCP Server on Cloudflare

@rianvdm

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

rianvdm

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is an MCP server that runs on Cloudflare Workers with OAuth login. It enables MCP clients—such as Claude Desktop or the MCP Inspector—to connect remotely via SSE and call defined tools.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. For production, deploy to Cloudflare using npm run deploy after configuring a KV namespace. Connect clients by pointing them to your worker’s workers.dev URL with the /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers.
  • OAuth login for secure access.
  • SSE transport for MCP clients.
  • Remote deployment with Wrangler.
  • Local development with mock OAuth.
  • Supports MCP Inspector for testing.

Use cases of Remote MCP Server on Cloudflare

  • Connect Claude Desktop to a custom MCP server hosted on Cloudflare.
  • Test and debug MCP tools using the MCP Inspector.
  • Deploy a production MCP server without managing infrastructure.
  • Prototype MCP tools locally before deploying.
  • Enable authenticated remote access to MCP tools.

FAQ from Remote MCP Server on Cloudflare

How do I test the server locally?

Run npx nx dev remote-mcp-server and open http://localhost:8787/ in a browser. Use the MCP Inspector with SSE and the local URL to test tools.

How do I deploy to Cloudflare?

Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy.

How do I connect Claude Desktop to the server?

Update Claude’s config file to point to the server’s URL with /sse (e.g., https://worker-name.account-name.workers.dev/sse), using npx mcp-remote as the command.

What transport does the MCP server use?

It uses SSE (Server-Sent Events) as the transport protocol for MCP clients.

How can I debug connection issues?

Try connecting directly via npx mcp-remote http://localhost:8787/sse or clear cached auth files with rm -rf ~/.mcp-auth. Restarting Claude may also help.

评论

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