MCP.so
登录

Remote MCP Server on Cloudflare

@bright-spark

关于 Remote MCP Server on Cloudflare

暂无概览

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

bright-spark

配置

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

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

工具

未检测到工具

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

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a starter repository that gets a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is intended for developers who want to deploy and connect MCP tools to clients like Claude Desktop.

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 MCP clients, use the SSE endpoint (e.g., http://localhost:8787/sse locally) with tools like the MCP Inspector or mcp-remote proxy. Deploy to Cloudflare with npm run deploy after creating an OAUTH_KV namespace with Wrangler.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server hosted on Cloudflare Workers
  • OAuth login built in
  • Local development with hot reload via Nx
  • SSE transport for MCP communication
  • Works with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Deploy an MCP server with authentication to a global edge network
  • Connect Claude Desktop to custom MCP tools over the internet
  • Prototype and test MCP servers locally before deploying
  • Use OAuth-protected MCP tools in remote client applications

FAQ from Remote MCP Server on Cloudflare

How do I run the MCP server locally?

Clone the repository, run npm install, then execute npx nx dev remote-mcp-server and open http://localhost:8787/ in your browser.

How do I connect the MCP Inspector to the server?

Start the inspector with npx @modelcontextprotocol/inspector, switch Transport Type to SSE, enter http://localhost:8787/sse (or your deployed URL) as the URL, and click Connect. You will be prompted to log in.

How do I connect Claude Desktop to the server?

Add an mcpServers entry to Claude Desktop’s config file using npx mcp-remote as the command and your server’s SSE URL (e.g., http://localhost:8787/sse locally or your workers.dev URL) as an argument, then restart Claude.

How do I deploy the server to Cloudflare?

Create an OAUTH_KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy.

How do I debug connection issues?

Restart Claude, or test directly from the command line with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the files in ~/.mcp-auth with rm -rf ~/.mcp-auth.

评论

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