MCP.so
Sign In

Remote MCP Server on Cloudflare

@MCP-Mirror

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

MCP-Mirror

About Remote MCP Server on Cloudflare

Mirror of

Remote MCP Server on Cloudflare config

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

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

Remote MCP Server on Cloudflare tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare provides a starter template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is designed for developers building AI‑connected tools that need a publicly accessible, authenticated MCP endpoint.

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. To connect clients, use the MCP Inspector (via npx @modelcontextprotocol/inspector) with SSE transport at http://localhost:8787/sse for local testing, or replace localhost with your deployed Worker URL for remote access. For Claude Desktop, add a configuration entry using mcp-remote pointing to that SSE endpoint.

Key features of Remote MCP Server on Cloudflare

  • OAuth login integrated into the server flow.
  • Local development with hot‑reloading via Nx.
  • One‑command deployment to Cloudflare Workers.
  • Supports SSE transport for remote MCP clients.
  • Connects to MCP Inspector, Claude Desktop, and other clients.
  • Includes a mock login screen for local testing.

Use cases of Remote MCP Server on Cloudflare

  • Run a custom MCP server accessible from anywhere.
  • Connect Claude Desktop to a remote, authenticated tool server.
  • Prototype and debug MCP tools locally before deploying.
  • Provide a secure API endpoint for AI assistants using OAuth.
  • Experiment with remote MCP workflows without self‑hosting infrastructure.

Frequently asked questions

1

What transport does the server use?

The server uses SSE (Server‑Sent Events) at the `/sse` endpoint for client connections.

2

How do I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then execute `npm run deploy`.

3

How do I connect the MCP Inspector to the server?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to SSE, and enter the server URL ending with `/sse`. A mock login screen appears; input any email and password.

4

How do I connect Claude Desktop to a remote instance?

Edit Claude’s config file to add an entry like `"command": "npx", "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]`. A browser window opens for OAuth login; tools become visible in Claude after authentication.

5

How can I debug connection issues?

Restart Claude, or test directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear stored credentials by running `rm -rf ~/.mcp-auth`.

Comments

More Cloud & Infrastructure MCP servers