MCP.so
登录

Remote MCP Server on Cloudflare

@Ruagewei

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

Ruagewei

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a sample implementation that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is intended for developers who want to host MCP tools remotely and connect MCP clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. For deployment, create an OAuth KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy. Connect an MCP client by pointing it to the SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse when deployed). Use the MCP Inspector or configure Claude Desktop with the mcp-remote command and the SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports local development and remote deployment
  • Connects via SSE transport to MCP clients
  • Includes a math tool example for calculations
  • Uses a Cloudflare KV namespace for OAuth data

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server accessible over the internet
  • Connect Claude Desktop to a cloud-hosted MCP tool
  • Develop and test MCP tools locally before deploying
  • Provide OAuth-secured MCP endpoints for clients

FAQ from Remote MCP Server on Cloudflare

What dependencies are required?

Node.js, npm, and a Cloudflare account. The project uses wrangler for deployment.

How does authentication work?

It uses OAuth login. Locally a mock login screen appears; when deployed, real OAuth is handled.

Where is OAuth data stored?

In a Cloudflare KV namespace called OAUTH_KV, which must be created before deployment.

How do I connect Claude Desktop?

Edit the Claude Desktop configuration file to add an MCP server entry with command npx mcp-remote and the SSE URL (e.g., https://worker-name.account-name.workers.dev/sse).

What transport does the server use?

Server-Sent Events (SSE) via the /sse endpoint.

评论

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