MCP.so
登录

Remote MCP Server on Cloudflare

@shannon-morahan

基本信息

分类

云与基础设施

传输方式

stdio

作者

shannon-morahan

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-shannon": {
      "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 is a template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables developers to quickly set up a remote MCP server that can be accessed by MCP clients like 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 (npx nx dev remote-mcp-server). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding its ID to wrangler.jsonc, then running npm run deploy. Connect via the MCP Inspector using SSE at http://localhost:8787/sse (or your deployed workers.dev URL) or configure Claude Desktop with npx mcp-remote as a proxy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports local development and deployment
  • Connects to MCP Inspector via SSE transport
  • Works with Claude Desktop through a remote proxy
  • Includes a mock login screen for local testing

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server for AI assistants like Claude
  • Test and debug MCP tools locally with the MCP Inspector
  • Host a production-ready MCP server on Cloudflare’s edge network
  • Integrate OAuth‑protected MCP endpoints into custom workflows

常见问题

1

What dependencies are required to run this server?

Node.js, npm, and npx are needed for local development. Deployment requires a Cloudflare Workers account and the Wrangler CLI (`npx wrangler`).

2

How do I connect to the server using the MCP Inspector?

Run `npx @modelcontextprotocol/inspector`, switch Transport Type to `SSE`, enter your server’s SSE endpoint (e.g., `http://localhost:8787/sse` locally or your `workers.dev` URL), and click Connect. You will be prompted to log in.

3

How do I connect Claude Desktop to the server?

Edit your Claude Desktop config (Settings > Developer > Edit Config) and add an `mcpServers` entry with `"command": "npx"` and `"args": ["mcp-remote", "http://localhost:8787/sse"]` (or your deployed URL). Restart Claude to see the tools.

4

Where does authentication data (OAuth tokens) live?

OAuth tokens are stored in a Cloudflare KV namespace called `OAUTH_KV`, which is created during deployment (`npx wrangler kv namespace create OAUTH_KV`).

5

What transport protocol does this server use?

The server uses Server‑Sent Events (SSE) as its transport protocol.

评论

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