MCP.so
登录

Remote MCP Server on Cloudflare

@yoyooyooo

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

yoyooyooo

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare provides a ready-to-deploy MCP (Model Context Protocol) server running on Cloudflare Workers, complete with OAuth login. It allows developers to host MCP tools remotely and connect them to MCP clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository (git clone [email protected]:cloudflare/ai.git), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. To connect a client, use the SSE endpoint (e.g., http://localhost:8787/sse for local, or your deployed Workers URL). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding the ID to wrangler.jsonc, and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Deploy an MCP server on Cloudflare Workers
  • OAuth-based login for secure access
  • SSE transport for client connections
  • Local development with hot‑reload support
  • Compatible with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools for AI assistants like Claude
  • Rapid prototyping of MCP servers with Cloudflare’s edge network
  • Adding OAuth‑protected tool access to remote AI workflows
  • Testing MCP integrations using the official MCP Inspector

FAQ from Remote MCP Server on Cloudflare

How do I run the server locally?

Clone the repo, install dependencies, then run npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.

How do I connect the MCP Inspector to my server?

Run npx @modelcontextprotocol/inspector, switch the transport type to SSE, and enter http://localhost:8787/sse (or your deployed URL) as the server URL. A mock login screen will appear — use any email and password to log in.

How do I connect Claude Desktop to the server?

Add an entry to Claude Desktop’s configuration file with the mcp-remote command pointing to your server’s SSE endpoint. Example: "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]. Claude will open a browser for OAuth login.

How do I deploy the server to Cloudflare?

Create a KV namespace (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy. Your server will be live at worker-name.account-name.workers.dev/sse.

How can I debug connection issues?

Restart Claude, or test the server directly with npx mcp-remote http://localhost:8787/sse. If needed, clear the auth cache with rm -rf ~/.mcp-auth.

评论

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