MCP.so
登录

Remote MCP Server on Cloudflare

@w4nd3r1ingY4k

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

w4nd3r1ingY4k

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

A starter project to run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is designed for developers who want to host MCP tools remotely and connect them to MCP clients like Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. Deploy with npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect via the MCP Inspector (SSE transport) or by configuring Claude Desktop to use the server’s URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports SSE transport for remote connections
  • Full local development with MCP Inspector
  • Deployable with a single command
  • Integrates with Claude Desktop via mcp-remote proxy
  • Built‑in debug tools and mock login for testing

Use cases of Remote MCP Server on Cloudflare

  • Hosting an MCP server on the edge for remote access
  • Prototyping MCP tools with the MCP Inspector
  • Connecting Claude Desktop to a remote MCP server
  • Testing OAuth flows for MCP authentication
  • Deploying a production‑ready remote MCP endpoint

FAQ from Remote MCP Server on Cloudflare

What transport protocol does the server use?

The server uses SSE (Server‑Sent Events) as the transport. Clients connect to the /sse endpoint.

How do I connect Claude Desktop to my remote MCP server?

Update the Claude Desktop config file to use npx mcp-remote with your server’s URL (e.g., https://worker-name.account-name.workers.dev/sse). A browser login window will open.

How do I deploy the server to Cloudflare?

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

What should I do if I encounter issues?

Restart Claude or test the server directly with npx mcp-remote http://localhost:8787/sse. Clearing ~/.mcp-auth may also help in rare cases.

Do I need an actual OAuth provider to run locally?

No. The local development version uses a mock login screen that accepts any email and password for testing.

评论

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