MCP.so
Sign In

Remote MCP Server on Cloudflare

@Ruagewei

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

Ruagewei

Config

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

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

Remote MCP Server on Cloudflare is a sample implementation that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is intended for developers who want to host MCP tools remotely and connect MCP clients such as 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 deployment, create an OAuth KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy. Connect an MCP client by pointing it to the SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse when deployed). Use the MCP Inspector or configure Claude Desktop with the mcp-remote command and the SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports local development and remote deployment
  • Connects via SSE transport to MCP clients
  • Includes a math tool example for calculations
  • Uses a Cloudflare KV namespace for OAuth data

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server accessible over the internet
  • Connect Claude Desktop to a cloud-hosted MCP tool
  • Develop and test MCP tools locally before deploying
  • Provide OAuth-secured MCP endpoints for clients

FAQ from Remote MCP Server on Cloudflare

What dependencies are required?

Node.js, npm, and a Cloudflare account. The project uses wrangler for deployment.

How does authentication work?

It uses OAuth login. Locally a mock login screen appears; when deployed, real OAuth is handled.

Where is OAuth data stored?

In a Cloudflare KV namespace called OAUTH_KV, which must be created before deployment.

How do I connect Claude Desktop?

Edit the Claude Desktop configuration file to add an MCP server entry with command npx mcp-remote and the SSE URL (e.g., https://worker-name.account-name.workers.dev/sse).

What transport does the server use?

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

Comments

More Cloud & Infrastructure MCP servers