MCP.so
登录

Remote MCP Server on Cloudflare

@bright-spark

基本信息

分类

云与基础设施

传输方式

stdio

作者

bright-spark

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "cloudflare-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 starter repository that gets a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is intended for developers who want to deploy and connect MCP tools 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. To connect MCP clients, use the SSE endpoint (e.g., http://localhost:8787/sse locally) with tools like the MCP Inspector or mcp-remote proxy. Deploy to Cloudflare with npm run deploy after creating an OAUTH_KV namespace with Wrangler.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server hosted on Cloudflare Workers
  • OAuth login built in
  • Local development with hot reload via Nx
  • SSE transport for MCP communication
  • Works with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Deploy an MCP server with authentication to a global edge network
  • Connect Claude Desktop to custom MCP tools over the internet
  • Prototype and test MCP servers locally before deploying
  • Use OAuth-protected MCP tools in remote client applications

常见问题

1

How do I run the MCP server locally?

Clone the repository, run `npm install`, then execute `npx nx dev remote-mcp-server` and open `http://localhost:8787/` in your browser.

2

How do I connect the MCP Inspector to the server?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to SSE, enter `http://localhost:8787/sse` (or your deployed URL) as the URL, and click Connect. You will be prompted to log in.

3

How do I connect Claude Desktop to the server?

Add an `mcpServers` entry to Claude Desktop’s config file using `npx mcp-remote` as the command and your server’s SSE URL (e.g., `http://localhost:8787/sse` locally or your `workers.dev` URL) as an argument, then restart Claude.

4

How do I deploy the server to Cloudflare?

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

5

How do I debug connection issues?

Restart Claude, or test directly from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the files in `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.

评论

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