MCP.so
登录

Remote MCP Server on Cloudflare

@joshwhitfield

基本信息

分类

云与基础设施

传输方式

stdio

作者

joshwhitfield

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-joshwhitfield": {
      "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 running a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host MCP tools remotely 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 via npx nx dev remote-mcp-server. For production, deploy with npm run deploy after creating an OAUTH_KV namespace via Wrangler. Clients connect using SSE at the /sse endpoint, either locally (http://localhost:8787/sse) or at the deployed workers.dev/sse URL, typically through the mcp-remote proxy.

Key features of Remote MCP Server on Cloudflare

  • Deploy MCP server on Cloudflare Workers with OAuth
  • SSE transport for remote MCP client connections
  • Local development with MCP Inspector
  • Integration with Claude Desktop via mcp-remote proxy
  • Simple authentication using mock login screen

Use cases of Remote MCP Server on Cloudflare

  • Host MCP tools as a remote service on Cloudflare’s edge network
  • Connect Claude Desktop to a cloud-hosted MCP server
  • Develop and test MCP tools with the official MCP Inspector
  • Run private MCP servers protected by OAuth authentication

常见问题

1

What runtime and dependencies are required?

Node.js and npm are needed for local development. Deployment requires a Cloudflare account and the `wrangler` CLI. Clients need `npx` and the `mcp-remote` package.

2

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration file (`claude_desktop_config.json`) to add an MCP server entry with command `npx`, args `["mcp-remote", "<your‑server‑url>/sse"]`. Restart Claude and log in via the OAuth browser window.

3

What transport does the server use?

The server uses Server‑Sent Events (SSE) for communication. Connect to the `/sse` endpoint on the local or remote URL.

4

How do I deploy to Cloudflare Workers?

Run `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your `workers.dev` subdomain.

5

How can I test the server locally?

Use the MCP Inspector: run `npx @modelcontextprotocol/inspector`, set transport type to SSE, and enter `http://localhost:8787/sse` as the URL. Log in with any email and password to list and call tools.

评论

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