MCP.so
登录

Remote MCP Server on Cloudflare

@MCP-Mirror

基本信息

分类

云与基础设施

传输方式

stdio

作者

MCP-Mirror

关于 Remote MCP Server on Cloudflare

Mirror of

Remote MCP Server on Cloudflare 配置

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

{
  "mcpServers": {
    "anandkumarpatel_remote-mcp-server": {
      "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 provides a starter template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is designed for developers building AI‑connected tools that need a publicly accessible, authenticated MCP endpoint.

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. To connect clients, use the MCP Inspector (via npx @modelcontextprotocol/inspector) with SSE transport at http://localhost:8787/sse for local testing, or replace localhost with your deployed Worker URL for remote access. For Claude Desktop, add a configuration entry using mcp-remote pointing to that SSE endpoint.

Key features of Remote MCP Server on Cloudflare

  • OAuth login integrated into the server flow.
  • Local development with hot‑reloading via Nx.
  • One‑command deployment to Cloudflare Workers.
  • Supports SSE transport for remote MCP clients.
  • Connects to MCP Inspector, Claude Desktop, and other clients.
  • Includes a mock login screen for local testing.

Use cases of Remote MCP Server on Cloudflare

  • Run a custom MCP server accessible from anywhere.
  • Connect Claude Desktop to a remote, authenticated tool server.
  • Prototype and debug MCP tools locally before deploying.
  • Provide a secure API endpoint for AI assistants using OAuth.
  • Experiment with remote MCP workflows without self‑hosting infrastructure.

常见问题

1

What transport does the server use?

The server uses SSE (Server‑Sent Events) at the `/sse` endpoint for client connections.

2

How do I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then execute `npm run deploy`.

3

How do I connect the MCP Inspector to the server?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to SSE, and enter the server URL ending with `/sse`. A mock login screen appears; input any email and password.

4

How do I connect Claude Desktop to a remote instance?

Edit Claude’s config file to add an entry like `"command": "npx", "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]`. A browser window opens for OAuth login; tools become visible in Claude after authentication.

5

How can I debug connection issues?

Restart Claude, or test directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear stored credentials by running `rm -rf ~/.mcp-auth`.

评论

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