MCP.so
登录

Remote MCP Server on Cloudflare

@Hatz-AI

基本信息

分类

云与基础设施

传输方式

stdio

作者

Hatz-AI

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A reference implementation for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is designed for developers who want to host MCP tools remotely and connect them to clients like Anthropic’s 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. Use the MCP Inspector by connecting over SSE to http://localhost:8787/sse with npx @modelcontextprotocol/inspector. Deploy to Cloudflare by running npm run deploy after configuring a KV namespace for OAuth. For production, configure Claude Desktop’s claude_desktop_config.json with the mcp-remote command pointing to your deployed workers.dev/sse URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication.
  • Local development with live reload via Nx.
  • Connects to MCP Inspector and Claude Desktop.
  • Uses SSE transport for MCP client communication.
  • Deploys to a global workers.dev endpoint.
  • Includes a mock login screen for local testing.

Use cases of Remote MCP Server on Cloudflare

  • Host a math tool that can be called remotely from Claude Desktop.
  • Test and debug remote MCP endpoints using the MCP Inspector.
  • Provide a secure MCP server behind OAuth for external clients.

常见问题

1

What is the MCP server, and how is it different from a standard server?

It is a Model Context Protocol server that runs on Cloudflare Workers, adding remote access and OAuth login compared to a local MCP server.

2

What dependencies do I need to run it locally?

Node.js and npm. The project is part of a monorepo and uses Nx for development commands.

3

Where does authentication data live?

In a Cloudflare KV namespace called `OAUTH_KV` that you create with `npx wrangler kv namespace create OAUTH_KV` and reference in `wrangler.jsonc`.

4

What transport protocol does the server use?

SSE (Server-Sent Events) over HTTP. Client connections are made to the `/sse` endpoint.

5

Are there known limits for the deployed server?

The README does not specify limits, but deployment requires a Cloudflare Workers account and may be subject to Workers plan quotas.

评论

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