MCP.so
登录

Remote MCP Server on Cloudflare

@istinyepark

基本信息

分类

云与基础设施

传输方式

stdio

作者

istinyepark

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-istinyepark": {
      "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 project that demonstrates how to run a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is intended for developers who want to create and test remote MCP tools accessible over HTTP via SSE transport.

How to use Remote MCP Server on Cloudflare?

Clone the repository from GitHub, install dependencies with npm, run the server locally with npx nx dev remote-mcp-server on port 8787, then connect any MCP client (e.g., MCP Inspector or Claude Desktop) using SSE at the /sse endpoint. To deploy, use npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, and run npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for remote access.
  • Includes OAuth-based login flow.
  • Uses SSE transport for MCP communication.
  • Supports local development with hot reload.
  • Deployable to a workers.dev URL.

Use cases of Remote MCP Server on Cloudflare

  • Connect Claude Desktop to a remote MCP server for custom tool use.
  • Test MCP tools locally with the MCP Inspector before deployment.
  • Build and host MCP tools accessible from any remote MCP client.
  • Prototype OAuth‑protected MCP APIs on Cloudflare’s edge.

常见问题

1

How do I connect Claude Desktop to the MCP server?

Add a configuration entry in Claude Desktop’s JSON config file using the `mcp-remote` command, pointing to the server’s `/sse` URL (e.g., `"command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]` for local, or the `workers.dev` URL for remote).

2

How do I deploy the server to Cloudflare?

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

3

What transport does the MCP server use?

The server uses Server‑Sent Events (SSE) as its transport protocol. Clients connect to the `/sse` endpoint.

4

How can I debug connection issues?

Restart Claude Desktop, or test the MCP server from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, delete the authentication cache with `rm -rf ~/.mcp-auth`.

5

What are the runtime dependencies?

The project requires Node.js, npm, and npx. For local development, it uses Nx and the MCP Inspector. Deployment uses Wrangler (Cloudflare Workers CLI). No additional remote services are needed.

评论

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