MCP.so
登录

Remote MCP Server on Cloudflare

@yoyooyooo

基本信息

分类

云与基础设施

传输方式

stdio

作者

yoyooyooo

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "cf-mcp-server-yoyooyooo": {
      "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 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 git@github.com: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

常见问题

1

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

2

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.

3

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.

4

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

5

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