MCP.so
登录

Remote MCP Server on Cloudflare

@threepointone

基本信息

分类

云与基础设施

传输方式

stdio

作者

threepointone

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server": {
      "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 guide and codebase for deploying a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It enables you to run MCP tools remotely and connect clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare with npm run deploy after setting up a KV namespace. Connect clients by pointing them to the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse after deployment). Use the MCP Inspector with SSE transport, or configure Claude Desktop by adding an mcp-remote entry in its configuration file.

Key features of Remote MCP Server on Cloudflare

  • Deploys on Cloudflare Workers for global availability
  • Includes OAuth login flow with mock login locally
  • Uses SSE (Server-Sent Events) transport
  • Supports local development and debugging
  • Provides step-by-step deployment instructions
  • Can be connected to Claude Desktop via a local proxy

Use cases of Remote MCP Server on Cloudflare

  • Deploying custom MCP tools accessible over the internet
  • Connecting Claude Desktop to a remote MCP server with authentication
  • Testing MCP tools locally before production deployment
  • Building and sharing MCP tools with OAuth-based access control

常见问题

1

What are the runtime and dependency requirements?

Requires Node.js, npm, and a Cloudflare account for deployment. For local development, clone the repo and run `npm install`.

2

How does authentication work?

Locally, a mock login screen accepts any email and password. When deployed, OAuth is used with tokens stored in a Cloudflare KV namespace named `OAUTH_KV`.

3

What transport protocol does the server use?

The server uses SSE (Server-Sent Events) over HTTP. Clients connect to the `/sse` endpoint.

4

How do I connect Claude Desktop to the remote server?

Add an entry to Claude Desktop’s configuration file using the `mcp-remote` command pointing to the server’s SSE URL (e.g., `https://worker-name.account-name.workers.dev/sse`). A browser window will open for login.

5

Where are OAuth tokens stored?

Tokens are stored in a Cloudflare KV namespace (`OAUTH_KV`) that must be created and linked to the Worker before deployment.

评论

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