MCP.so
登录

Remote MCP Server on Cloudflare

@pathikpa

基本信息

分类

云与基础设施

传输方式

stdio

作者

pathikpa

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

This repository provides a template to quickly deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host an MCP server accessible from remote clients like the MCP Inspector or Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with pnpm install, and run locally via npx nx dev remote-mcp-server. For production, deploy using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by specifying the SSE endpoint (e.g., http://localhost:8787/sse locally or your workers.dev URL). Configure Claude Desktop by adding an mcpServers entry with "command": "npx", "args": ["mcp-remote", "<URL>/sse"].

Key features of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server on Cloudflare Workers
  • OAuth login for secure client access
  • SSE (Server-Sent Events) transport
  • Local development with MCP Inspector support
  • Easy integration with Claude Desktop via mcp-remote proxy
  • Minimal configuration using wrangler.jsonc

Use cases of Remote MCP Server on Cloudflare

  • Host a math tool MCP server and call it from a remote client
  • Connect Claude Desktop to a self‑deployed MCP server for custom tool use
  • Test and debug MCP tools locally before deploying to production

常见问题

1

What does this project do?

It sets up a remote MCP server on Cloudflare Workers, complete with OAuth login, so that clients like Claude Desktop can call your tools over the internet.

2

What dependencies are required?

Node.js and pnpm are needed for local development. Cloudflare Wrangler CLI (`npx wrangler`) is used for deployment. The `mcp-remote` package (run via npx) acts as a local proxy when connecting Claude Desktop.

3

How do I connect Claude Desktop to the remote server?

Update your Claude Desktop configuration JSON to add an `mcpServers` entry with the command `npx mcp-remote` and the full workers.dev URL ending in `/sse`. Restart Claude, and a browser window will open for OAuth login.

4

How do I deploy my own instance?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`. Your server will be live at a `*.workers.dev` URL.

5

Which transport protocol is used?

The server uses SSE (Server-Sent Events) transport, as shown by the `/sse` endpoint required by the MCP Inspector and the `mcp-remote` proxy.

评论

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