MCP.so
登录

Remote MCP Server on Cloudflare

@milianks

基本信息

分类

云与基础设施

传输方式

stdio

作者

milianks

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Remote MCP Server on Cloudflare?

A starter project to deploy a remote MCP server on Cloudflare Workers with OAuth login. It uses SSE transport and supports tools like a math calculator for use with MCP clients (e.g., Claude Desktop).

How to use Remote MCP Server on Cloudflare?

Clone the repo, install dependencies, run locally with npx nx dev remote-mcp-server, then connect via MCP Inspector using SSE at /sse. Deploy with npm run deploy after creating an OAUTH_KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication
  • Supports SSE transport for MCP protocol
  • Works with MCP Inspector for local testing
  • Connects to Claude Desktop via a local proxy
  • Easy one-command deployment to Cloudflare

Use cases of Remote MCP Server on Cloudflare

  • Running a remote math tool from Claude Desktop
  • Developing and testing MCP tools using the MCP Inspector
  • Deploying a production MCP server on Cloudflare Workers
  • Prototyping OAuth‑protected MCP endpoints

常见问题

1

How do I develop locally?

Clone `git@github.com:cloudflare/ai.git`, install with `npm install`, then run `npx nx dev remote-mcp-server` and open `http://localhost:8787/`.

2

How do I connect the MCP Inspector?

Run `npx @modelcontextprotocol/inspector`, switch transport to SSE, and enter `http://localhost:8787/sse` as the server URL. A mock login screen will appear.

3

How do I deploy to Cloudflare?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`.

4

How do I connect Claude Desktop?

Edit Claude’s config file to add an entry with `"command": "npx"` and `"args": ["mcp-remote", "<your-url>/sse"]`. Restart Claude to see tools.

5

How do I debug issues?

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

评论

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