MCP.so
登录

Remote MCP Server on Cloudflare

@heiyhia

基本信息

分类

云与基础设施

传输方式

stdio

作者

heiyhia

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A remote MCP server that runs on Cloudflare Workers with integrated OAuth login. It allows developers to serve MCP tools over the internet and authenticate users before tool access.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. For remote access, deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients like the MCP Inspector or Claude Desktop via the SSE endpoint (e.g., http://localhost:8787/sse or your workers.dev URL). Use a local proxy (npx mcp-remote) when connecting from Claude Desktop.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global, serverless deployment.
  • Includes OAuth-based login for secure access.
  • Supports SSE transport for MCP communication.
  • Works with MCP Inspector and Claude Desktop.
  • Provides a local development environment.
  • Uses Cloudflare KV for OAuth state storage.

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools accessible from any internet-connected MCP client.
  • Adding authentication to an MCP server without building auth from scratch.
  • Rapidly prototyping and deploying MCP tools using Cloudflare's serverless platform.
  • Connecting Claude Desktop to a remote MCP server with secure login.

常见问题

1

What do I need to run the server locally?

Clone the `cloudflare/ai` repository, run `npm install`, then `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.

2

How do I connect Claude Desktop to the server?

Configure Claude Desktop's MCP settings to point to a local proxy: set the `mcpServers` entry with command `npx`, arguments `["mcp-remote", "http://localhost:8787/sse"]` (or the remote URL). Restart Claude and a browser window will open for login.

3

How do I deploy the server to Cloudflare?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, copy its ID into `wrangler.jsonc`, then run `npm run deploy`. Your server will be live at a `workers.dev` URL.

4

How can I debug connection issues?

Restart Claude, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, delete the `~/.mcp-auth` folder.

5

How do I connect a remote MCP client (like the Inspector)?

Use the MCP Inspector, set Transport Type to SSE, and enter your deployed `workers.dev` URL appended with `/sse` (e.g., `worker-name.account-name.workers.dev/sse`). Click Connect; you will be redirected to an OAuth login page.

评论

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