MCP.so
登录

Remote MCP Server on Cloudflare

@Cam10001110101

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

Cam10001110101

配置

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

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

工具

未检测到工具

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

概览

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

FAQ from Remote MCP Server on Cloudflare

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/.

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.

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.

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.

What transport does the server use?

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

评论

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