MCP.so
登录

Remote MCP Server on Cloudflare

@drdeeks

基本信息

分类

云与基础设施

传输方式

stdio

作者

drdeeks

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-drdeeks": {
      "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 reference implementation for deploying a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is designed 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, then run locally with npx nx dev remote-mcp-server. To connect a client, use the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding its ID to wrangler.jsonc, and running npm run deploy. Configure Claude Desktop with the mcp-remote command and your deployed Worker’s /sse URL.

Key features of Remote MCP Server on Cloudflare

  • Hosts MCP servers on Cloudflare Workers.
  • Includes OAuth authentication for secure access.
  • Uses SSE (Server‑Sent Events) transport.
  • Supports local development with MCP Inspector.
  • Integrates directly with Claude Desktop via mcp-remote.
  • Deployable with a single command using Wrangler.

Use cases of Remote MCP Server on Cloudflare

  • Running MCP tools as a remote, serverless endpoint.
  • Connecting Claude Desktop to a cloud‑hosted MCP server.
  • Testing and debugging MCP servers locally with the Inspector.
  • Demonstrating OAuth‑protected MCP server deployment on Cloudflare.

常见问题

1

How do I deploy the server to Cloudflare?

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

2

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

Update Claude’s config file to include a server entry with the `mcp-remote` command and your Worker’s `https://worker-name.account-name.workers.dev/sse` URL.

3

What transport does the MCP server use?

The server uses Server‑Sent Events (SSE). Clients connect via the `/sse` endpoint.

4

How do I debug connection issues?

Restart Claude, or test the connection directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear cached auth files with `rm -rf ~/.mcp-auth`.

5

What authentication does the server use?

The server uses OAuth login, backed by a Cloudflare KV namespace (named `OAUTH_KV`).

评论

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