MCP.so
登录

Remote MCP Server on Cloudflare

@remodlai

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

remodlai

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

It is a template and guide for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows MCP clients such as Claude Desktop to connect to tools hosted on Cloudflare’s edge network via SSE.

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. For remote access, deploy with npm run deploy after configuring a KV namespace. Connect via the MCP Inspector using SSE at /sse, or point Claude Desktop to the worker URL using the npx mcp-remote proxy in its configuration file.

Key features of Remote MCP Server on Cloudflare

  • Deployed on Cloudflare Workers for global edge performance
  • OAuth login integration for secure access
  • Supports SSE transport for remote MCP connections
  • Works with MCP Inspector for testing and debugging
  • Connects to Claude Desktop via a local proxy
  • Local development environment with live reload

Use cases of Remote MCP Server on Cloudflare

  • Deploy custom MCP tools (e.g., a math tool) on Cloudflare’s network
  • Allow Claude Desktop to call remote tools from anywhere
  • Protect MCP endpoints with OAuth authentication
  • Develop and test MCP servers locally before production deployment

FAQ from Remote MCP Server on Cloudflare

What transport does the server use?

The server uses SSE (Server-Sent Events) as the transport, with the SSE endpoint at /sse.

How do I connect Claude Desktop to the remote server?

Update Claude Desktop’s configuration to use the npx mcp-remote command with the server’s workers.dev URL (e.g., https://worker-name.account-name.workers.dev/sse).

How do I deploy the server to Cloudflare?

First create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the ID to wrangler.jsonc, then run npm run deploy.

How can I debug connection issues?

Run npx mcp-remote http://localhost:8787/sse directly on the command line to test the connection. In rare cases, clearing ~/.mcp-auth may help.

What runtime or dependencies are required?

Node.js and npm are needed for local development. Cloudflare Workers requires the Wrangler CLI and a Cloudflare account for deployment.

评论

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