MCP.so
登录

Remote MCP Server on Cloudflare

@k4han

基本信息

分类

云与基础设施

传输方式

stdio

作者

k4han

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It provides an example math tool and supports SSE transport, enabling remote AI clients like Claude Desktop to call tools over HTTP.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run npx nx dev remote-mcp-server for local development. Deploy with npm run deploy after configuring a KV namespace. Connect clients (MCP Inspector or Claude Desktop) using the workers.dev URL with the /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Uses SSE transport for remote MCP connections
  • Includes a sample math (add) tool
  • Deployable with a single npm run deploy command
  • Connects to Claude Desktop via mcp-remote proxy
  • Full local development with MCP Inspector support

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server for Claude Desktop to call custom tools
  • Prototype and test MCP tools locally with the inspector
  • Provide OAuth‑protected tool access to remote AI clients
  • Serve as a reference architecture for Workers‑based MCP servers

常见问题

1

What runtime or platform does Remote MCP Server on Cloudflare require?

It runs on Cloudflare Workers; local development requires Node.js and the `wrangler` CLI (installed via npm).

2

How does Remote MCP Server on Cloudflare handle authentication?

It uses OAuth login via a browser redirect. In development a mock login screen is shown; in production real OAuth flows are used.

3

Can I use Remote MCP Server on Cloudflare with Claude Desktop?

Yes. Configure Claude Desktop to use `mcp-remote` as a command with the server’s `/sse` URL; Claude will open a browser for login.

4

Where does Remote MCP Server on Cloudflare store data?

Session state uses a Cloudflare KV namespace (`OAUTH_KV`) that you create and bind during deployment.

5

What transport does Remote MCP Server on Cloudflare support?

Server‑Sent Events (SSE) via the `/sse` endpoint. No other transports (e.g., stdio) are documented.

评论

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