MCP.so
Sign In

Remote MCP Server on Cloudflare

@mmcspiritt

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

mmcspiritt

About Remote MCP Server on Cloudflare

No overview available yet

Remote MCP Server on Cloudflare config

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

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

A guide and template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to run MCP tools remotely and connect them to 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. Connect using the MCP Inspector (npx @modelcontextprotocol/inspector) via SSE at http://localhost:8787/sse. Deploy to Cloudflare by creating a KV namespace with npx wrangler kv namespace create OAUTH_KV, updating wrangler.jsonc, and running npm run deploy. For Claude Desktop, configure mcpServers in the Claude config file with npx mcp-remote pointing to the server’s SSE endpoint.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server with SSE transport.
  • Built-in OAuth login for authentication.
  • Deployable to Cloudflare Workers.
  • Local development with MCP Inspector.
  • Integration with Claude Desktop via a local proxy.

Use cases of Remote MCP Server on Cloudflare

  • Running MCP tools on Cloudflare’s edge network.
  • Connecting Claude Desktop to a remote tool server.
  • Developing and testing custom MCP servers locally.

Frequently asked questions

1

What dependencies are required?

Node.js, npm, a Cloudflare account with Wrangler CLI installed, and a KV namespace for OAuth storage.

2

How does authentication work?

The server uses OAuth; a mock login screen is provided for local development, while production deployments use the OAuth_KV namespace.

3

Where is user data stored?

OAuth session data is stored in the Cloudflare KV namespace (`OAUTH_KV`) created during deployment.

4

What transport protocol does the server use?

The server communicates via Server-Sent Events (SSE) on the `/sse` endpoint.

5

Are there any known limits or additional requirements?

The README does not mention specific limits. Clearing `~/.mcp-auth` can resolve rare authentication issues.

Comments

More Cloud & Infrastructure MCP servers