MCP.so
登录

Remote MCP Server on Cloudflare

@mschrome

基本信息

分类

云与基础设施

传输方式

stdio

作者

mschrome

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A project template to quickly deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers with built-in OAuth login. It is for developers who want to host an MCP server at a public URL and connect it to MCP clients such as 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. To connect tools, use the MCP Inspector with SSE transport at http://localhost:8787/sse. For Claude Desktop, configure the MCP client using the mcp-remote proxy and your Worker’s URL. Deploy to Cloudflare with npm run deploy after setting up a KV namespace for OAuth.

Key features of Remote MCP Server on Cloudflare

  • Runs as a Cloudflare Worker with OAuth login.
  • Uses SSE (Server-Sent Events) transport for MCP communication.
  • Integrates with the MCP Inspector for tool testing.
  • Works with Claude Desktop via a local proxy.
  • Supports local development with hot‑reload.
  • Deploys to a public workers.dev URL.

Use cases of Remote MCP Server on Cloudflare

  • Expose an MCP math tool as a remote API for testing.
  • Connect Claude Desktop to a self‑hosted MCP server over the internet.
  • Develop and debug MCP tools locally before deploying to production.
  • Provide OAuth‑protected MCP endpoints for multiple clients.

常见问题

1

What does this server do?

It hosts an MCP server as a Cloudflare Worker, enabling remote MCP clients (like Claude Desktop) to call its tools after OAuth login.

2

What are the dependencies?

Node.js, npm, and a Cloudflare account with Wrangler CLI installed. A Cloudflare KV namespace is required for OAuth state storage.

3

Where does data (OAuth state, etc.) live?

OAuth data is stored in Cloudflare Workers KV. No user data is persisted beyond authentication tokens.

4

How does the OAuth flow work?

The server implements a mock OAuth login. In local development a user/password screen appears; on deployment the real OAuth flow from Cloudflare’s access protection is used.

5

Which transport does the server use?

It uses SSE (Server-Sent Events) transport. Clients must connect to the `/sse` endpoint.

评论

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