MCP.so
登录

Remote MCP Server on Cloudflare

@Spel

基本信息

分类

云与基础设施

传输方式

stdio

作者

Spel

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server1-spel": {
      "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 template that lets you run a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is designed for developers who want a remote, secure MCP endpoint that can be connected to MCP 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 connect clients, use npx @modelcontextprotocol/inspector for the MCP Inspector or configure Claude Desktop with "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"] for local testing. Deploy to Cloudflare with npx wrangler kv namespace create OAUTH_KV then npm run deploy, and point clients to your workers.dev URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with Server-Sent Events (SSE) transport.
  • Includes OAuth login for authentication.
  • Supports local development and remote deployment.
  • Connects seamlessly to MCP Inspector and Claude Desktop.
  • Uses a local proxy (mcp-remote) for Claude Desktop connectivity.

Use cases of Remote MCP Server on Cloudflare

  • Hosting a remote MCP server with built-in OAuth authentication.
  • Testing MCP tools locally with the MCP Inspector.
  • Integrating MCP tools into Claude Desktop via a remote proxy.
  • Deploying a production-ready MCP endpoint on Cloudflare’s edge network.

常见问题

1

How do I deploy my own Remote MCP Server on Cloudflare?

Create an OAUTH_KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`. Your server will be available at a `workers.dev` URL.

2

How do I connect Claude Desktop to my Remote MCP Server on Cloudflare?

Edit your Claude Desktop configuration file to include an entry with `"command": "npx"` and `"args": ["mcp-remote", "https://your-worker.your-account.workers.dev/sse"]`. Restart Claude and a browser window will open for login.

3

What transport does Remote MCP Server on Cloudflare use?

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

4

Does Remote MCP Server on Cloudflare include authentication?

Yes, it includes OAuth login. When you connect via the MCP Inspector or Claude Desktop, you are redirected to a login screen (locally a mock screen) to authenticate.

5

How can I debug Remote MCP Server on Cloudflare?

Try restarting Claude, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. If issues persist, clear the `~/.mcp-auth` directory with `rm -rf ~/.mcp-auth`.

评论

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