MCP.so
登录

Remote MCP Server on Cloudflare

@rawatadit

基本信息

分类

云与基础设施

传输方式

stdio

作者

rawatadit

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-rawatadit": {
      "command": "npx",
      "args": [
        "nx",
        "dev",
        "remote-mcp-server"
      ]
    }
  }
}

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Remote MCP Server on Cloudflare?

A server that lets you run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to expose MCP tools via HTTP and connect them to clients like the MCP Inspector or Claude Desktop.

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 using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or <workers.dev>/sse after deployment).

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication
  • Supports local development with hot reload
  • Connects to MCP Inspector and Claude Desktop via SSE
  • Simple CLI deployment using Wrangler
  • Includes a mock login for local testing

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools accessible over the internet
  • Building a remote math tool server that Claude can invoke
  • Prototyping and testing MCP servers locally before deployment
  • Integrating OAuth-based login into MCP workflows

常见问题

1

What do I need to run Remote MCP Server on Cloudflare locally?

Node.js and npm. Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server`. It starts on `http://localhost:8787/`.

2

How do I connect the MCP Inspector to the server?

Open the MCP Inspector, set Transport Type to `SSE`, enter `http://localhost:8787/sse` (or your deployed URL) as the server URL, and click Connect. Use any email/password to log in locally.

3

How do I connect Claude Desktop to the remote server?

In Claude Desktop’s config file, add an entry using `npx mcp-remote` as the command and your server’s SSE URL (e.g., `https://worker-name.account-name.workers.dev/sse`) as an argument.

4

How do I deploy the server to Cloudflare?

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

5

What should I do if something goes wrong?

Try restarting Claude, or test the server directly by running `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.

评论

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