MCP.so
登录

Remote MCP Server on Cloudflare

@mthadley-workos

基本信息

分类

云与基础设施

传输方式

stdio

作者

mthadley-workos

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

A reference implementation that demonstrates how to run a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling AI clients like Claude Desktop to call tools over HTTP.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. For production, deploy to Cloudflare Workers using npm run deploy after creating a KV namespace. Connect via MCP Inspector or configure a Claude Desktop client with the remote SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server on Cloudflare Workers
  • OAuth-based authentication via Cloudflare Workers
  • Local development with hot reload
  • SSE transport for MCP communication
  • Integration with MCP Inspector for testing
  • Compatible with Claude Desktop via mcp-remote proxy

Use cases of Remote MCP Server on Cloudflare

  • Run an MCP server remotely for cloud-hosted AI assistants
  • Add tool-calling capabilities to Claude Desktop from a serverless endpoint
  • Prototype and test MCP tools locally before deploying globally
  • Demonstrate OAuth login flow for MCP servers

常见问题

1

What do I need to run this locally?

You need Node.js and npm. Clone the repo, install dependencies, then run `npx nx dev remote-mcp-server` to start the local server at `http://localhost:8787`.

2

How do I connect a remote MCP client to the deployed server?

Use the MCP Inspector with SSE transport and enter your Workers URL (e.g., `https://worker-name.account-name.workers.dev/sse`), then click Connect. For Claude Desktop, update its config with `npx mcp-remote` pointing to the same URL.

3

What authentication does the server use?

The server includes OAuth login. When connecting via MCP Inspector or Claude Desktop, you will be redirected to a login screen (mock in local development) that authenticates before tool access is granted.

4

What are the deployment requirements?

You need a Cloudflare Workers account and must create a KV namespace via `npx wrangler kv namespace create OAUTH_KV`. Add the namespace ID to `wrangler.jsonc` before running `npm run deploy`.

5

How do I debug connection issues?

Restart Claude or try connecting directly from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the auth cache by running `rm -rf ~/.mcp-auth`.

评论

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