MCP.so
Sign In

Remote MCP Server on Cloudflare

@BilalAltundag

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

BilalAltundag

Config

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

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

This guide walks through setting up a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to run an MCP server accessible over the internet and connect it to clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. To connect clients, use the MCP Inspector with SSE transport (http://localhost:8787/sse) or configure Claude Desktop with the mcp-remote proxy pointing to the same URL. For production, deploy by setting up an OAuth KV namespace and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Full OAuth login flow built in.
  • Deploys to Cloudflare Workers for global reach.
  • Uses SSE (Server-Sent Events) transport.
  • Works with MCP Inspector for testing.
  • Connects directly to Claude Desktop.
  • Supports both local and remote operation.

Use cases of Remote MCP Server on Cloudflare

  • Running a private MCP server accessible from anywhere.
  • Integrating custom MCP tools with Claude Desktop.
  • Testing and debugging MCP implementations with the Inspector.
  • Deploying a production-ready remote MCP server on Cloudflare’s edge network.

FAQ from Remote MCP Server on Cloudflare

What transport does the server use?

Server-Sent Events (SSE) at the /sse endpoint.

How do I connect Claude Desktop to the server?

Add a configuration entry in Claude Desktop’s config file using npx mcp-remote with the server’s URL (e.g., http://localhost:8787/sse or the deployed workers.dev URL).

How do I deploy the server to production?

Create a KV namespace for OAuth (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy.

How can I debug connection issues?

Restart Claude, test directly with npx mcp-remote <URL>, or clear cached auth files in ~/.mcp-auth.

What is the OAuth login flow?

The server presents a mock login screen (email/password) during local development; after deployment it uses a Cloudflare Workers OAuth integration.

Comments

More Cloud & Infrastructure MCP servers