MCP.so
登录

Remote MCP Server on Cloudflare

@BilalAltundag

基本信息

分类

云与基础设施

传输方式

stdio

作者

BilalAltundag

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

This guide walks through setting up a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to run an MCP server accessible over the internet and connect it to clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. To connect clients, use the MCP Inspector with SSE transport (http://localhost:8787/sse) or configure Claude Desktop with the mcp-remote proxy pointing to the same URL. For production, deploy by setting up an OAuth KV namespace and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Full OAuth login flow built in.
  • Deploys to Cloudflare Workers for global reach.
  • Uses SSE (Server-Sent Events) transport.
  • Works with MCP Inspector for testing.
  • Connects directly to Claude Desktop.
  • Supports both local and remote operation.

Use cases of Remote MCP Server on Cloudflare

  • Running a private MCP server accessible from anywhere.
  • Integrating custom MCP tools with Claude Desktop.
  • Testing and debugging MCP implementations with the Inspector.
  • Deploying a production-ready remote MCP server on Cloudflare’s edge network.

常见问题

1

What transport does the server use?

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

2

How do I connect Claude Desktop to the server?

Add a configuration entry in Claude Desktop’s config file using `npx mcp-remote` with the server’s URL (e.g., `http://localhost:8787/sse` or the deployed `workers.dev` URL).

3

How do I deploy the server to production?

Create a KV namespace for OAuth (`npx wrangler kv namespace create OAUTH_KV`), add its ID to `wrangler.jsonc`, then run `npm run deploy`.

4

How can I debug connection issues?

Restart Claude, test directly with `npx mcp-remote <URL>`, or clear cached auth files in `~/.mcp-auth`.

5

What is the OAuth login flow?

The server presents a mock login screen (email/password) during local development; after deployment it uses a Cloudflare Workers OAuth integration.

评论

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