MCP.so
登录

Remote MCP Server on Cloudflare

@MichaelYangjson

基本信息

分类

云与基础设施

传输方式

stdio

作者

MichaelYangjson

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A starter project that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a template for developers to deploy, test, and connect MCP tools to clients such as Claude Desktop or the MCP Inspector over SSE transport.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally via npx nx dev remote-mcp-server. Use the MCP Inspector or Claude Desktop (with npx mcp-remote) to connect to the server. Deploy to Cloudflare by creating an OAUTH_KV namespace with wrangler and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth-based login
  • Supports SSE transport for MCP clients
  • Includes local development and debugging instructions
  • Integrates with the MCP Inspector for testing
  • Connects directly to Claude Desktop via a remote proxy
  • Provides a deployable server accessible at a workers.dev URL

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools accessible from any MCP client over the internet
  • Developing and testing MCP integrations locally before deploying to Cloudflare
  • Enabling Claude Desktop to call remote tools through an authenticated SSE endpoint
  • Learning how to build and deploy a remote MCP server with OAuth flow

常见问题

1

How do I run the server locally?

Clone the repository, run `npm install`, and then execute `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.

2

How can I test the server with the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch transport to SSE, and enter `http://localhost:8787/sse` (or your workers.dev URL after deploy) as the server URL. You will be redirected to a login screen before you can list and call tools.

3

How do I connect Claude Desktop to the remote server?

Add an entry to Claude Desktop's config file with command `npx`, args `["mcp-remote", "https://worker-name.account-name.workers.dev/sse"]`. Restart Claude; a browser window will open for OAuth login.

4

What happens if something goes wrong?

Restart Claude, or test the connection manually with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the auth cache by deleting `~/.mcp-auth`.

5

What runtime or dependencies are required?

Node.js and npm. For deployment, a Cloudflare account and `npx wrangler` are needed to create the OAUTH_KV namespace and deploy the Worker.

评论

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