MCP.so
Sign In

Remote MCP Server on Cloudflare

@whoesli

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

whoesli

Config

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

{
  "mcpServers": {
    "remote-mcp-server-whoesli": {
      "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 template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows AI clients like Claude Desktop to call tools hosted on Cloudflare’s edge network via SSE transport.

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 the MCP Inspector by selecting SSE transport and entering http://localhost:8787/sse. For Claude Desktop, configure mcpServers in the Claude config file using npx mcp-remote http://localhost:8787/sse. Deploy to Cloudflare with npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, and run npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login flow.
  • Uses SSE transport for MCP communication.
  • Provides a math tool (add) as an example.
  • Integrates with MCP Inspector for testing.
  • Works with Claude Desktop via a local proxy.

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools for AI assistants on a serverless platform.
  • Testing MCP tool development locally before deploying globally.
  • Connecting Claude Desktop to remote tools for extended functionality.

FAQ from Remote MCP Server on Cloudflare

How do I run the MCP server locally?

Clone the repo, install dependencies, and run npx nx dev remote-mcp-server. Access the server at http://localhost:8787/.

How do I connect Claude Desktop to the remote server?

Add a configuration entry in Claude Desktop’s config file with command npx mcp-remote and args ["https://worker-name.account-name.workers.dev/sse"].

How do I deploy the server to Cloudflare?

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

What transport does the server use?

It uses SSE (Server-Sent Events) as the transport protocol.

How do I debug connection issues?

Restart Claude, try connecting directly via npx mcp-remote http://localhost:8787/sse, or clear cached auth files by removing the ~/.mcp-auth directory.

Comments

More Cloud & Infrastructure MCP servers