MCP.so
登录

Remote MCP Server on Cloudflare

@MichielMAnalytics

基本信息

分类

云与基础设施

传输方式

stdio

作者

MichielMAnalytics

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "remote-mcp-server-michielmanalytics": {
      "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 guide and template to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is intended for developers who want to host MCP servers accessible over the internet, complete with authentication.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. For production, deploy using npm run deploy after configuring a KV namespace. Connect clients via the MCP Inspector or Claude Desktop using the mcp-remote proxy and the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or worker-name.account-name.workers.dev/sse after deployment).

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for scalable hosting.
  • Includes OAuth-based login for secure access.
  • Uses Server-Sent Events (SSE) as the transport.
  • Supports local development and remote deployment.
  • Integrates with MCP Inspector and Claude Desktop.
  • Provides a mock login for local testing.

Use cases of Remote MCP Server on Cloudflare

  • Hosting MCP tools on the edge with Cloudflare Workers.
  • Testing MCP servers locally using the MCP Inspector.
  • Connecting Claude Desktop to remote MCP tools via a proxy.
  • Adding OAuth authentication to MCP interactions.
  • Rapid prototyping and debugging of MCP-based workflows.

常见问题

1

What transport protocol does the remote MCP server use?

It uses Server-Sent Events (SSE). The local endpoint is `http://localhost:8787/sse` and the remote endpoint is `https://worker-name.account-name.workers.dev/sse`.

2

How do I connect Claude Desktop to the server?

In Claude Desktop’s config file, add an entry using the `npx mcp-remote` command pointing to the server’s SSE URL, for example: `"command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]`.

3

How do I handle authentication locally?

When testing locally, the MCP Inspector or Claude Desktop will navigate to a mock login screen where you can input any email and password to log in.

4

How do I deploy to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy`.

5

How can I debug connection issues?

Restart Claude, try connecting with `npx mcp-remote http://localhost:8787/sse` from the command line, or clear the `~/.mcp-auth` directory.

评论

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