MCP.so
Sign In

Remote MCP Server on Cloudflare

@aninibread

About Remote MCP Server on Cloudflare

No overview available yet

Config

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

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

Tools

No tools detected

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?

This project sets up a remote MCP server on Cloudflare Workers with OAuth login. It is designed for developers who want to deploy and test MCP tools on Cloudflare’s edge network.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect via MCP Inspector or Claude Desktop using an SSE URL. Deploy to Cloudflare with npm run deploy after creating a KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers.
  • Includes OAuth login.
  • Supports SSE transport.
  • Local development with MCP Inspector.
  • Connects to Claude Desktop via proxy.
  • Remote deployment and access.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server accessible over the internet.
  • Test MCP tools with MCP Inspector.
  • Integrate MCP tools with Claude Desktop remotely.
  • Build and debug MCP servers locally before deploying.

FAQ from Remote MCP Server on Cloudflare

How do I deploy the server to Cloudflare?

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

How do I connect Claude Desktop to the remote server?

Update the Claude config to use npx mcp-remote with the server’s workers.dev URL ending in /sse.

What transport protocol does the server use?

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

How can I test the server locally?

Run npx nx dev remote-mcp-server and connect via MCP Inspector with SSE URL http://localhost:8787/sse.

What should I do if I encounter issues?

Restart Claude, connect directly using npx mcp-remote <url>, or clear ~/.mcp-auth if needed.

Frequently asked questions

How do I deploy the server to Cloudflare?

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

How do I connect Claude Desktop to the remote server?

Update the Claude config to use `npx mcp-remote` with the server’s workers.dev URL ending in `/sse`.

What transport protocol does the server use?

The server uses Server-Sent Events (SSE) at the `/sse` endpoint.

How can I test the server locally?

Run `npx nx dev remote-mcp-server` and connect via MCP Inspector with SSE URL `http://localhost:8787/sse`.

What should I do if I encounter issues?

Restart Claude, connect directly using `npx mcp-remote <url>`, or clear `~/.mcp-auth` if needed.

Comments

More Cloud & Infrastructure MCP servers