MCP.so
登录

Remote MCP Server on Cloudflare

@ctbedford

基本信息

分类

云与基础设施

传输方式

stdio

作者

ctbedford

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

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

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

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

What is Remote MCP Server on Cloudflare?

This project provides a template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It allows developers to quickly set up a server that can expose tools to MCP-compatible clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect clients (MCP Inspector or Claude Desktop) by pointing them to the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare Workers with wrangler kv namespace create OAUTH_KV and npm run deploy, then use the resulting workers.dev URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login flow for authentication.
  • Supports SSE transport for MCP communication.
  • Works with the MCP Inspector for testing.
  • Integrates with Claude Desktop via mcp-remote proxy.
  • Provides local development environment with hot reload.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server to expose custom tools to AI clients.
  • Develop and test MCP tools locally before deploying to the edge.
  • Connect Claude Desktop to a remote server with OAuth authentication.
  • Use as a reference implementation for Cloudflare-based MCP servers.

常见问题

1

How do I authenticate when connecting via the MCP Inspector?

The inspector shows a mock login screen; input any email and password to proceed.

2

What transport type does the server use?

It uses SSE (Server-Sent Events); set the transport type to `SSE` in the MCP Inspector.

3

How do I connect Claude Desktop to the remote server?

Update Claude's config file (`~/.claude/config.json` or via Settings) to use `mcp-remote` with the server's SSE URL, e.g., `https://worker-name.account-name.workers.dev/sse`.

4

What if I encounter connection issues?

Restart Claude, or test the connection directly with `npx mcp-remote <URL>`. In rare cases, clear the auth cache at `~/.mcp-auth` by removing the folder.

5

What environment variables or services are required for deployment?

You need a Cloudflare Workers account and a KV namespace (`OAUTH_KV`) created via `wrangler kv namespace create`.

评论

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