MCP.so
登录

Remote MCP Server on Cloudflare

@MCP-Mirror

基本信息

分类

云与基础设施

传输方式

stdio

作者

MCP-Mirror

关于 Remote MCP Server on Cloudflare

Mirror of

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "Laity624_my-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 template to deploy an MCP server on Cloudflare Workers with OAuth login. It is designed for developers who want to run a remote MCP server that can be accessed by MCP clients such as 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. Use the MCP Inspector to test the server by connecting via SSE to http://localhost:8787/sse. Deploy to Cloudflare with npm run deploy after creating a KV namespace. Connect Claude Desktop by editing its config to use npx mcp-remote pointing to your server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Deploy an MCP server on Cloudflare Workers
  • Include OAuth login for authentication
  • Develop and test locally with MCP Inspector
  • Connect directly to Claude Desktop via a proxy

Use cases of Remote MCP Server on Cloudflare

  • Run a remote MCP server with an authentication layer
  • Test MCP tools locally using the Inspector
  • Connect the server to Claude Desktop for AI tool access
  • Explore deploying MCP servers on a serverless platform

常见问题

1

How do I develop the server locally?

Clone the repository, run `npm install`, then execute `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.

2

How can I test the server with MCP Inspector?

Start the Inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, enter `http://localhost:8787/sse` as the URL, and connect. A mock login screen appears; enter any email and password to proceed.

3

How do I deploy the server to Cloudflare?

First run `npx wrangler kv namespace create OAUTH_KV` and add the namespace ID to `wrangler.jsonc`. Then run `npm run deploy` to publish the Worker.

4

How do I connect Claude Desktop to the server?

In Claude Desktop, go to Settings > Developer > Edit Config and add an entry with the command `npx mcp-remote` and args pointing to your server’s `/sse` URL (e.g., `https://worker-name.account-name.workers.dev/sse`). Restart Claude.

5

What transport and authentication does the server use?

The server communicates via SSE (Server-Sent Events). Authentication is handled via OAuth, with a mock login screen for local development.

评论

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