MCP.so
登录

Remote MCP Server on Cloudflare

@rose201107059

基本信息

分类

云与基础设施

传输方式

stdio

作者

rose201107059

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-rose201107059": {
      "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 remote Model Context Protocol (MCP) server that runs on Cloudflare Workers with OAuth login. It provides an SSE endpoint for MCP clients like the MCP Inspector or Claude Desktop to discover and call tools.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, 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 clients via the SSE URL (e.g., http://localhost:8787/sse locally or the workers.dev URL after deployment) and authenticate through the OAuth login flow.

Key features of Remote MCP Server on Cloudflare

  • Deploys as a Cloudflare Worker with OAuth authentication
  • Uses SSE transport for MCP communication
  • Supports local development with hot reload
  • Works with MCP Inspector for testing tools
  • Integrates with Claude Desktop via mcp-remote proxy
  • Enables remote access to MCP tools from any HTTP client

Use cases of Remote MCP Server on Cloudflare

  • Expose MCP tools over the internet with OAuth security
  • Develop and test MCP tools locally before deployment
  • Connect Claude Desktop to a remote MCP server
  • Use the MCP Inspector to browse, list, and call tools remotely

常见问题

1

How do I develop the server locally?

Clone the repository, run `npm install`, then execute `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in your browser.

2

How can I test my server with the MCP Inspector?

Start the MCP Inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to `SSE`, and enter `http://localhost:8787/sse` (or your remote URL) as the server URL. Log in with any email and password on the mock login screen.

3

How do I deploy the server to Cloudflare?

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

4

How do I connect Claude Desktop to my remote server?

Update Claude's configuration file (Settings > Developer > Edit Config) with an `mcpServers` entry using the `mcp-remote` command pointing to your SSE URL (e.g., `https://worker-name.account-name.workers.dev/sse`). Restart Claude and log in through the browser that opens.

5

What should I do if something goes wrong?

Restart Claude, or try connecting directly from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear cached auth files by running `rm -rf ~/.mcp-auth`.

评论

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