MCP.so
登录

Remote MCP Server on Cloudflare

@anishone

基本信息

分类

云与基础设施

传输方式

stdio

作者

anishone

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-anishone": {
      "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 to get a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is for developers who want to deploy and connect MCP tools to clients like Claude Desktop over SSE.

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. Connect via the MCP Inspector by switching transport to SSE and entering http://localhost:8787/sse. Deploy to Cloudflare using npm run deploy after setting up an OAuth KV namespace in wrangler.jsonc. Connect Claude Desktop by configuring the mcpServers JSON with the mcp-remote command and the deployed Workers URL.

Key features of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server on Cloudflare Workers.
  • Includes OAuth login flow for authentication.
  • SSE transport for remote connections.
  • Local development with hot reload via Nx.
  • Connect to Claude Desktop via a local proxy.
  • Debugging support with CLI and credential cleanup.

Use cases of Remote MCP Server on Cloudflare

  • Running a serverless math tool MCP server for AI assistants.
  • Hosting custom MCP tools and calling them from remote clients.
  • Prototyping MCP integrations with OAuth-based user authentication.
  • Connecting MCP tools to Claude Desktop in a production-like environment.

常见问题

1

How to connect the MCP Inspector to the local server?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch transport type to SSE, and enter `http://localhost:8787/sse` as the server URL. A mock login screen will appear; input any email and password to authenticate.

2

How to connect Claude Desktop to the remote server?

Update Claude Desktop’s configuration file to include an `mcpServers` entry with the command `npx mcp-remote` and the `args` set to your `workers.dev` URL with the `/sse` path (e.g., `["https://worker-name.account-name.workers.dev/sse"]`).

3

How to deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy` to deploy the Worker.

4

What to do if the connection fails?

Restart Claude, or test the MCP server directly with `npx mcp-remote <URL>`. If needed, clear cached credentials with `rm -rf ~/.mcp-auth`.

评论

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