MCP.so
Sign In

Remote MCP Server on Cloudflare

@irvinebroque

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

irvinebroque

Config

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

{
  "mcpServers": {
    "remote-mcp-server-6": {
      "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?

A template project to run a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It allows developers to expose MCP tools over HTTP/SSE and connect them to clients like Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. For remote deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, and run npm run deploy. Connect clients (MCP Inspector, Claude Desktop) using the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse after deployment).

Key features of Remote MCP Server on Cloudflare

  • Provides a remote MCP server on Cloudflare Workers.
  • Includes OAuth login for authentication.
  • Supports local development with hot-reload.
  • Uses SSE (Server-Sent Events) transport.
  • Works with MCP Inspector and Claude Desktop.
  • Deployable via wrangler CLI.

Use cases of Remote MCP Server on Cloudflare

  • Running a math tool server that Claude Desktop can call remotely.
  • Prototyping and testing MCP tools locally before deployment.
  • Exposing custom MCP tools to authorized users over the internet.
  • Leveraging Cloudflare’s global edge network for low-latency tool invocation.

FAQ from Remote MCP Server on Cloudflare

What runtime or dependencies are required?

Node.js and npm are required for local development. Cloudflare Workers runtime is used for production, with Wrangler CLI for deployment.

How does authentication work?

The server uses OAuth login. When connecting a client (e.g., MCP Inspector or Claude Desktop), a browser window opens for user/password authentication. Locally, a mock login screen accepts any email and password.

Where does authentication state live?

OAuth data is stored in a Cloudflare KV namespace (OAUTH_KV), which you create before deployment.

What transport protocol does the server use?

The server communicates via Server-Sent Events (SSE) over HTTP, exposing an endpoint at /sse.

Are there known limitations?

The OAuth implementation locally uses a mock login; production OAuth setup may require additional configuration. In rare cases, clearing ~/.mcp-auth can resolve connection issues.

Comments

More Cloud & Infrastructure MCP servers