MCP.so
登录

Remote MCP Server on Cloudflare

@Chenastron

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

Chenastron

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

A starter project for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It enables developers to host MCP tools and connect clients like Claude Desktop over SSE.

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. Deploy by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding its ID to wrangler.jsonc, and running npm run deploy. Connect clients (MCP Inspector or Claude Desktop) using the SSE endpoint at /sse.

Key features of Remote MCP Server on Cloudflare

  • Local development with OAuth login (mock)
  • SSE transport for MCP communication
  • Deploy to Cloudflare Workers
  • Integrates with Claude Desktop via mcp-remote proxy
  • Works with MCP Inspector for testing

Use cases of Remote MCP Server on Cloudflare

  • Hosting a remote MCP server for Claude Desktop
  • Testing MCP tools locally before deployment
  • Building custom AI tool servers secured with OAuth

FAQ from Remote MCP Server on Cloudflare

What transport type does the server use?

Server Name (SSE) – the MCP Inspector must be configured with Transport Type SSE and the URL set to the server’s /sse endpoint.

How do I deploy the server to Cloudflare?

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

How do I connect Claude Desktop to the remote server?

Update Claude Desktop’s config (mcpServers) to use npx mcp-remote with the server’s full workers.dev URL appended with /sse (e.g., https://worker-name.account-name.workers.dev/sse).

How can I debug connection issues?

Restart Claude Desktop, or test direct connectivity with npx mcp-remote http://localhost:8787/sse. If needed, clear cached OAuth data with rm -rf ~/.mcp-auth.

评论

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