MCP.so
登录

Remote MCP Server on Cloudflare

@kamilzafar

基本信息

分类

云与基础设施

传输方式

stdio

作者

kamilzafar

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-kamilzafar": {
      "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 template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is for developers who want to run MCP tools hosted remotely and connect them to MCP clients like 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. Use the MCP Inspector or configure Claude Desktop using npx mcp-remote with the server’s SSE endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace with npx wrangler kv namespace create OAUTH_KV.

Key features of Remote MCP Server on Cloudflare

  • OAuth login built in with a mock login screen
  • SSE (Server-Sent Events) transport for MCP communication
  • Deploy to Cloudflare Workers with one command
  • Local development with hot reload via Nx
  • Works with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Developers prototyping a remote MCP server with authentication
  • Connecting Claude Desktop to a cloud-hosted MCP tool
  • Testing MCP tools locally before deploying to production
  • Running a math or custom tool server accessible from anywhere

常见问题

1

What transport type does the server use?

The server uses SSE (Server-Sent Events). In the MCP Inspector, set Transport Type to `SSE` and use the `/sse` endpoint.

2

How do I deploy to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.

3

How do I connect Claude Desktop to the remote server?

Add a configuration entry using `npx mcp-remote` with the server’s full `workers.dev` URL ending in `/sse`. Restart Claude Desktop.

4

How can I debug connection issues?

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

5

What are the dependencies for local development?

Node.js, npm, and the Nx build tool. The repository uses `nx` for running the server locally (`npx nx dev remote-mcp-server`).

评论

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