MCP.so
Sign In

Remote MCP Server on Cloudflare

@Hatz-AI

About Remote MCP Server on Cloudflare

No overview available yet

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

Hatz-AI

Config

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

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

A reference implementation for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is designed for developers who want to host MCP tools remotely and connect them to clients like Anthropic’s 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. Use the MCP Inspector by connecting over SSE to http://localhost:8787/sse with npx @modelcontextprotocol/inspector. Deploy to Cloudflare by running npm run deploy after configuring a KV namespace for OAuth. For production, configure Claude Desktop’s claude_desktop_config.json with the mcp-remote command pointing to your deployed workers.dev/sse URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication.
  • Local development with live reload via Nx.
  • Connects to MCP Inspector and Claude Desktop.
  • Uses SSE transport for MCP client communication.
  • Deploys to a global workers.dev endpoint.
  • Includes a mock login screen for local testing.

Use cases of Remote MCP Server on Cloudflare

  • Host a math tool that can be called remotely from Claude Desktop.
  • Test and debug remote MCP endpoints using the MCP Inspector.
  • Provide a secure MCP server behind OAuth for external clients.

FAQ from Remote MCP Server on Cloudflare

What is the MCP server, and how is it different from a standard server?

It is a Model Context Protocol server that runs on Cloudflare Workers, adding remote access and OAuth login compared to a local MCP server.

What dependencies do I need to run it locally?

Node.js and npm. The project is part of a monorepo and uses Nx for development commands.

Where does authentication data live?

In a Cloudflare KV namespace called OAUTH_KV that you create with npx wrangler kv namespace create OAUTH_KV and reference in wrangler.jsonc.

What transport protocol does the server use?

SSE (Server-Sent Events) over HTTP. Client connections are made to the /sse endpoint.

Are there known limits for the deployed server?

The README does not specify limits, but deployment requires a Cloudflare Workers account and may be subject to Workers plan quotas.

Comments

More Cloud & Infrastructure MCP servers