MCP.so
登录

Remote MCP Server on Cloudflare

@majie1993

基本信息

分类

云与基础设施

传输方式

stdio

作者

majie1993

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-majie1993": {
      "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 starter project that sets up a Model Context Protocol (MCP) server running on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to deploy a remote MCP endpoint accessible over the internet.

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. Open http://localhost:8787/ in a browser. Use the MCP Inspector with SSE transport at http://localhost:8787/sse to test tools. To connect Claude Desktop, add a configuration entry using npx mcp-remote with the local or deployed URL. Deploy to Cloudflare with npm run deploy after creating an OAUTH_KV namespace with npx wrangler kv namespace create OAUTH_KV.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global, serverless deployment.
  • Includes OAuth login for authentication.
  • Uses SSE (Server‑Sent Events) transport for MCP communication.
  • Supports local development with a mock login screen.
  • Works with MCP Inspector and Claude Desktop via a remote proxy.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP tool server that requires user authentication.
  • Prototype and test MCP tools locally before deploying to production.
  • Connect Claude Desktop to a custom remote MCP server for advanced tool execution.

常见问题

1

How do I connect the MCP Inspector to my server?

Open the Inspector, set Transport Type to SSE, enter `http://localhost:8787/sse` (or your deployed URL) as the server URL, and click Connect. A mock login screen appears – enter any email and password to log in.

2

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration file and add an entry with command `npx` and arguments `["mcp-remote", "http://localhost:8787/sse"]` (or your remote URL). Restart Claude; a browser window will open for OAuth login.

3

What runtime dependencies does the server require?

Node.js and npm are needed for local development. For deployment, the Cloudflare Workers runtime and the `wrangler` CLI are used. The server stores OAuth data in Cloudflare KV (`OAUTH_KV`).

4

How can I debug connection issues?

Restart Claude or test the MCP server directly from the command line using `npx mcp-remote http://localhost:8787/sse`. If problems persist, clear cached authentication files with `rm -rf ~/.mcp-auth`.

5

What transport and authentication does the server support?

The server uses SSE (Server‑Sent Events) as the transport protocol. Authentication is handled via OAuth with a login screen (a mock screen locally and a real OAuth flow when deployed).

评论

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