MCP.so
登录

Remote MCP Server on Cloudflare

@kartik71

基本信息

分类

云与基础设施

传输方式

stdio

作者

kartik71

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a working example that can be run locally, connected to the MCP Inspector, and integrated with Claude Desktop over SSE transport.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with pnpm install, then run locally with npx nx dev remote-mcp-server. Connect using the MCP Inspector (set transport to SSE and URL to http://localhost:8787/sse) or configure Claude Desktop with mcp-remote pointing to the same URL. Deploy to Cloudflare by creating a KV namespace for OAuth and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs as a Cloudflare Worker with SSE transport
  • Includes OAuth login flow for authentication
  • Works with MCP Inspector for local testing
  • Integrates directly with Claude Desktop via mcp-remote proxy
  • Supports both local development and production deployment
  • Example math tool included for demonstration

Use cases of Remote MCP Server on Cloudflare

  • Prototype and test a remote MCP server locally before deploying
  • Connect Claude Desktop to a custom MCP server with OAuth security
  • Deploy a scalable serverless MCP backend on Cloudflare’s edge network
  • Demonstrate MCP tool calling with a simple arithmetic tool

常见问题

1

What is the difference between local development and production deployment?

Local development uses `http://localhost:8787/sse` and a mock login. Production deploys to a `workers.dev` URL with real OAuth authentication (requires an OAUTH_KV namespace).

2

What dependencies or runtime are required?

Node.js and pnpm (not npm) are required. For local development, use `pnpm install` and `npx` commands. The server itself runs on Cloudflare Workers.

3

How does authentication work?

The server includes an OAuth login page. Locally, a mock user/password screen appears. In production, Cloudflare Workers handle the OAuth flow with a KV store (OAUTH_KV) for session data.

4

Which transport is used?

The server uses Server‑Sent Events (SSE) as the transport protocol. Clients connect to the `/sse` endpoint.

5

Can I clear cached authentication data?

Yes, if OAuth issues arise, you can delete local auth files by running `rm -rf ~/.mcp-auth` and restarting Claude Desktop.

评论

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