MCP.so
登录

Remote MCP Server on Cloudflare

@Cam10001110101

基本信息

分类

云与基础设施

传输方式

stdio

作者

Cam10001110101

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A template to run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It enables MCP clients to connect to tools over SSE, whether locally during development or remotely after deployment.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run npx nx dev remote-mcp-server to develop locally. For production, deploy using npm run deploy after creating a KV namespace (OAUTH_KV) and adding its ID to wrangler.jsonc. Clients connect via the SSE endpoint (e.g., /sse), and you can use the MCP Inspector or configure Claude Desktop with a local proxy (mcp-remote).

Key features of Remote MCP Server on Cloudflare?

  • Remote MCP server on Cloudflare Workers
  • OAuth login built in
  • SSE transport for client-server communication
  • Local development with live reload
  • Easy deployment via wrangler

Use cases of Remote MCP Server on Cloudflare?

  • Hosting MCP tools accessible from any remote client
  • Rapid prototyping of MCP servers with Cloudflare’s edge infrastructure
  • Connecting Claude Desktop to a cloud-hosted tool server with authentication
  • Testing and debugging MCP tools with the official MCP Inspector

常见问题

1

How do I develop the server locally?

Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server` to start a local instance at `http://localhost:8787/`.

2

How do I connect the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, set transport to SSE, and enter `http://localhost:8787/sse` (or your deployed URL) as the server URL. Complete the mock login to browse and invoke tools.

3

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration (`claude_desktop_config.json`) to point to the local or remote SSE URL via a local proxy: use the `mcp-remote` command with the appropriate URL and restart Claude.

4

How do I deploy the server to Cloudflare?

Create a KV namespace named `OAUTH_KV` 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 your `workers.dev` subdomain.

5

What transport does the server use?

The server uses Server-Sent Events (SSE) for communication. All client connections must specify the `/sse` endpoint.

评论

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