MCP.so
登录

Remote MCP Server on Cloudflare

@kondhorn

基本信息

分类

云与基础设施

传输方式

stdio

作者

kondhorn

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

This server helps you run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is designed for developers who want to deploy an MCP server that can be accessed from remote clients like Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. Connect clients by pointing them to the server’s SSE endpoint (http://localhost:8787/sse). For deployment, create a KV namespace (npx wrangler kv namespace create OAUTH_KV), add the namespace ID to wrangler.jsonc, then run npm run deploy. Configure Claude Desktop by editing its config file to include an mcpServers entry using npx mcp-remote with your deployed Workers URL.

Key features of Remote MCP Server on Cloudflare

  • Deployable on Cloudflare Workers with OAuth authentication.
  • Supports SSE transport for MCP communication.
  • Includes a math tool (add) as an example.
  • Works with MCP Inspector for testing and debugging.
  • Connects to remote clients like Claude Desktop via a local proxy.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a secure, remotely accessible MCP server for AI assistants.
  • Prototype and test MCP servers locally before production deployment.
  • Expose custom tools (e.g., math operations) to Claude Desktop over the internet.
  • Enable OAuth-protected API endpoints for MCP interactions.

常见问题

1

How do I connect Claude Desktop to my local MCP server?

Edit Claude Desktop’s configuration file (`Settings > Developer > Edit Config`) and add an entry for the `math` server with `npx mcp-remote http://localhost:8787/sse` as the command and arguments.

2

How do I deploy to Cloudflare?

First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, then add the returned ID to `wrangler.jsonc`. Finally run `npm run deploy` to push the worker to Cloudflare.

3

How do I debug connection issues?

Restart Claude, or try connecting directly on 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`.

4

What transport does the server use?

The server uses Server-Sent Events (SSE) transport. Clients connect to the `/sse` endpoint, as shown in the MCP Inspector and Claude Desktop configuration examples.

评论

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