MCP.so
Sign In

Remote MCP Server on Cloudflare

@cmsparks

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

cmsparks

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-cmsparks": {
      "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 is a template for running a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is intended for developers who want to expose MCP tools over the internet and connect them to MCP clients like Claude Desktop.

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. Deploy to Cloudflare using npm run deploy after configuring a KV namespace. Connect clients via the MCP Inspector (SSE transport) or configure Claude Desktop with a local proxy (mcp-remote) pointing to your server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Runs MCP server as a Cloudflare Worker.
  • Includes OAuth login for remote access.
  • Supports SSE transport for MCP communication.
  • Local development environment with MCP Inspector.
  • Works with Claude Desktop via a remote proxy.

Use cases of Remote MCP Server on Cloudflare

  • Host an MCP server accessible from anywhere via a workers.dev URL.
  • Connect Claude Desktop to custom tools running remotely.
  • Prototype and test MCP tools locally before deploying to production.

Frequently asked questions

1

What runtime dependencies does the server require?

Node.js and npm are needed for local development. For deployment, the Cloudflare Wrangler CLI is used; a Cloudflare account is implied for publishing the Worker.

2

How do I connect Claude Desktop to the remote server?

Update your Claude Desktop configuration file to use `npx mcp-remote` with the server’s `workers.dev/sse` URL as the argument.

3

How can I debug connectivity issues?

Restart Claude Desktop, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the `~/.mcp-auth` directory.

4

What transport protocol does the server use?

The server communicates over Server-Sent Events (SSE). Clients must connect to the `/sse` endpoint.

5

Is the server limited to local or remote use only?

It can be run both locally (for development) and deployed to Cloudflare Workers for remote access via the internet.

Comments

More Cloud & Infrastructure MCP servers