MCP.so
Sign In

Remote MCP Server on Cloudflare

@remodlai

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

remodlai

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Remote MCP Server on Cloudflare?

It is a template and guide for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows MCP clients such as Claude Desktop to connect to tools hosted on Cloudflare’s edge network via SSE.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. For remote access, deploy with npm run deploy after configuring a KV namespace. Connect via the MCP Inspector using SSE at /sse, or point Claude Desktop to the worker URL using the npx mcp-remote proxy in its configuration file.

Key features of Remote MCP Server on Cloudflare

  • Deployed on Cloudflare Workers for global edge performance
  • OAuth login integration for secure access
  • Supports SSE transport for remote MCP connections
  • Works with MCP Inspector for testing and debugging
  • Connects to Claude Desktop via a local proxy
  • Local development environment with live reload

Use cases of Remote MCP Server on Cloudflare

  • Deploy custom MCP tools (e.g., a math tool) on Cloudflare’s network
  • Allow Claude Desktop to call remote tools from anywhere
  • Protect MCP endpoints with OAuth authentication
  • Develop and test MCP servers locally before production deployment

FAQ from Remote MCP Server on Cloudflare

What transport does the server use?

The server uses SSE (Server-Sent Events) as the transport, with the SSE endpoint at /sse.

How do I connect Claude Desktop to the remote server?

Update Claude Desktop’s configuration to use the npx mcp-remote command with the server’s workers.dev URL (e.g., https://worker-name.account-name.workers.dev/sse).

How do I deploy the server to Cloudflare?

First create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the ID to wrangler.jsonc, then run npm run deploy.

How can I debug connection issues?

Run npx mcp-remote http://localhost:8787/sse directly on the command line to test the connection. In rare cases, clearing ~/.mcp-auth may help.

What runtime or dependencies are required?

Node.js and npm are needed for local development. Cloudflare Workers requires the Wrangler CLI and a Cloudflare account for deployment.

Comments

More Cloud & Infrastructure MCP servers