MCP.so
登录

Remote MCP Server on Cloudflare

@kamilzafar

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

kamilzafar

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from Remote MCP Server on Cloudflare

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.

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.

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.

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.

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 服务器