MCP.so
Sign In

Remote MCP Server on Cloudflare

@PredictabilityAtScale

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-predictabilityatscale": {
      "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 reference implementation that runs a Model Context Protocol server on Cloudflare Workers with built-in OAuth login. It allows developers to quickly deploy a remote MCP server and connect it to clients like Claude Desktop or the MCP Inspector.

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. For deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. Connect clients using the /sse endpoint of your local or deployed URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for serverless deployment.
  • Includes OAuth login for secure access.
  • Supports SSE (Server-Sent Events) transport.
  • Works with MCP Inspector for local testing.
  • Connects to Claude Desktop via a local proxy (mcp-remote).
  • Fully documented with local development and debugging steps.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server with OAuth to expose tools to AI assistants.
  • Test MCP tools locally using the MCP Inspector.
  • Integrate custom tools into Claude Desktop through a remote endpoint.
  • Prototype and iterate quickly with a scalable, serverless architecture.

FAQ from Remote MCP Server on Cloudflare

How do I connect the MCP Inspector?

Open the MCP Inspector, switch Transport Type to SSE, enter http://localhost:8787/sse (or your deployed URL with /sse), and click "Connect". You will be redirected to a (mock) login screen; input any email and password to log in.

How do I connect Claude Desktop to my server?

Add a configuration entry in Claude Desktop’s settings file. Use npx mcp-remote as the command and your server’s URL with /sse as an argument (e.g., "args": ["mcp-remote", "http://localhost:8787/sse"]). Restart Claude Desktop; a browser window will open for OAuth login.

How do I deploy the server to Cloudflare?

Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, copy the returned ID into wrangler.jsonc, then run npm run deploy. The server will be available at your workers.dev URL.

What debugging tips are available?

Restart Claude Desktop if connections fail. Test directly from the command line using npx mcp-remote http://localhost:8787/sse. In rare cases, clear authentication files with rm -rf ~/.mcp-auth.

Does the server support OAuth authentication?

Yes, the server includes OAuth login. On first connection, clients (Inspector or Claude Desktop) are redirected to a login screen. For local development, a mock login accepts any email and password.

Frequently asked questions

How do I connect the MCP Inspector?

Open the MCP Inspector, switch Transport Type to `SSE`, enter `http://localhost:8787/sse` (or your deployed URL with `/sse`), and click "Connect". You will be redirected to a (mock) login screen; input any email and password to log in.

How do I connect Claude Desktop to my server?

Add a configuration entry in Claude Desktop’s settings file. Use `npx mcp-remote` as the command and your server’s URL with `/sse` as an argument (e.g., `"args": ["mcp-remote", "http://localhost:8787/sse"]`). Restart Claude Desktop; a browser window will open for OAuth login.

How do I deploy the server to Cloudflare?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, copy the returned ID into `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your workers.dev URL.

What debugging tips are available?

Restart Claude Desktop if connections fail. Test directly from the command line using `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear authentication files with `rm -rf ~/.mcp-auth`.

Does the server support OAuth authentication?

Yes, the server includes OAuth login. On first connection, clients (Inspector or Claude Desktop) are redirected to a login screen. For local development, a mock login accepts any email and password.

Comments

More Cloud & Infrastructure MCP servers