MCP.so
登录

Remote MCP Server on Cloudflare

@garrettHensley

基本信息

分类

云与基础设施

传输方式

stdio

作者

garrettHensley

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a starter template that lets developers run a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It enables AI assistants like Claude Desktop to connect to and call MCP tools hosted remotely on Cloudflare’s edge network.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Use the MCP Inspector (with SSE transport) or configure Claude Desktop via the mcp-remote proxy pointing to the server’s /sse endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace for OAuth state.

Key features of Remote MCP Server on Cloudflare

  • Runs as a Cloudflare Worker with server‑sent events (SSE) transport
  • Includes OAuth login for authenticated access
  • Local development with hot‑reload and MCP Inspector support
  • Connects Claude Desktop via a lightweight local proxy (mcp-remote)
  • Example math tool demonstrates tool listing and calling
  • Deploys to a public workers.dev URL

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server for multiple AI assistant clients
  • Add custom, edge‑deployed tools to Claude Desktop
  • Prototype and test MCP servers locally before global deployment
  • Provide authenticated tool access via OAuth on Cloudflare’s network

常见问题

1

What transport protocol does the server use?

It uses SSE (Server‑Sent Events) over HTTP. Clients connect to the `/sse` endpoint.

2

How do I connect Claude Desktop to this server?

Add an `mcpServers` entry in Claude Desktop’s config that runs `npx mcp-remote <server‑url>/sse` as a command with `args` pointing to the remote or local SSE URL.

3

Can I run the server locally before deploying?

Yes. Run `npx nx dev remote-mcp-server` and access `http://localhost:8787/`. Use the MCP Inspector or Claude Desktop’s local proxy to test tools.

4

How do I deploy to Cloudflare?

First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV` and add its ID to `wrangler.jsonc`. Then run `npm run deploy`.

5

Does the server enforce authentication?

Yes, it includes an OAuth login flow. When connecting from a client (Inspector or Claude Desktop), a browser window opens for user/password authentication.

评论

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