MCP.so
登录

Remote MCP Server on Cloudflare

@danXyu

基本信息

分类

云与基础设施

传输方式

stdio

作者

danXyu

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-danxyu": {
      "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 to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is intended for developers who want to expose MCP tools over the internet and connect them to clients like Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare by creating an OAuth KV namespace with npx wrangler kv namespace create OAUTH_KV, adding the ID to wrangler.jsonc, then running npm run deploy. Connect clients like the MCP Inspector or Claude Desktop via SSE at the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication
  • Supports SSE transport for remote MCP clients
  • Includes local development with mock login
  • Integrates with Claude Desktop via a local proxy
  • Provides a workflow to deploy and connect remotely

Use cases of Remote MCP Server on Cloudflare

  • Expose a custom MCP tool suite to Claude Desktop over the internet
  • Develop and test MCP tools locally before deploying globally
  • Remotely call AI‑powered functions from any MCP‑compatible client

常见问题

1

What transport does Remote MCP Server on Cloudflare use?

The server communicates via Server‑Sent Events (SSE) on the `/sse` endpoint.

2

What runtime or dependencies are required?

The server runs on Cloudflare Workers. Local development requires Node.js and npm. Deployment uses Wrangler and an OAuth KV namespace.

3

How does authentication work?

The server implements OAuth login. During local development a mock login screen accepts any email and password; in production the Cloudflare Worker handles the OAuth flow.

4

How do I connect Claude Desktop to a deployed instance?

Configure Claude Desktop’s `mcpServers` JSON to point to your workers.dev URL with `npx mcp-remote` as the command, e.g. `https://worker-name.account-name.workers.dev/sse`.

5

Where does data (e.g. OAuth tokens) live?

OAuth data is stored in a Cloudflare KV namespace created during deployment.

评论

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