MCP.so
登录

Remote MCP Server on Cloudflare

@wertpoiu

基本信息

分类

云与基础设施

传输方式

stdio

作者

wertpoiu

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Remote MCP Server on Cloudflare?

This server lets you run a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is designed for developers who want to host and access MCP endpoints over HTTP/SSE, enabling integration with tools like the MCP Inspector or Claude Desktop.

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. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect via the MCP Inspector using SSE at the server’s /sse URL, or configure Claude Desktop to point to that endpoint with the mcp-remote proxy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with full global deployment.
  • Includes OAuth login for secure access.
  • Supports SSE (Server-Sent Events) transport.
  • Works with MCP Inspector for local testing.
  • Connects directly to Claude Desktop via a local proxy.
  • Example math tool included (addition of two numbers).

Use cases of Remote MCP Server on Cloudflare

  • Deploy a custom MCP server that clients can call from anywhere.
  • Grant Claude Desktop the ability to invoke tools hosted on Cloudflare.
  • Rapidly prototype and test MCP tools using the inspector.
  • Provide a remote tool endpoint behind OAuth for team usage.

常见问题

1

What transport protocol does the server use?

The server uses SSE (Server-Sent Events) over HTTP. Clients connect to its `/sse` endpoint.

2

How do I authenticate with the server?

Authentication is handled via OAuth. When connecting, a browser window opens where you can log in with any email and password (mock during local development).

3

What tools are included by default?

The example server includes a math tool called `add` that takes two numbers and returns their sum.

4

How can I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your `workers.dev` URL.

5

How do I debug connection issues?

Restart Claude, or test connection directly via `npx mcp-remote <URL>`. If problems persist, clear the local auth files with `rm -rf ~/.mcp-auth`.

评论

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