MCP.so
Sign In

Remote MCP Server on Cloudflare

@devinellis

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

devinellis

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-devinellis": {
      "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?

It is a project that enables running a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login, allowing developers to deploy and connect remote MCP servers to clients like Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run npx nx dev remote-mcp-server for local development. Deploy to Cloudflare by creating a KV namespace for OAuth and running npm run deploy. Connect MCP clients over SSE by pointing to the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Deploys MCP server on Cloudflare Workers
  • Includes OAuth login flow
  • Works with MCP Inspector and Claude Desktop
  • Local development with live reload
  • Simple deployment via Wrangler CLI

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server accessible from anywhere
  • Connect Claude Desktop to a server running on Cloudflare Workers
  • Prototype and test MCP tools with OAuth authentication

Frequently asked questions

1

What does this project provide?

It provides a template to set up a remote MCP server on Cloudflare Workers with OAuth login, enabling connections from various MCP clients.

2

How do I develop locally?

Clone the repo, install dependencies, and run `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in your browser.

3

How do I deploy to Cloudflare?

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

4

How do I connect the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, and enter `http://localhost:8787/sse` (or your remote URL) as the server URL. Use the mock login screen to authenticate.

5

How do I connect Claude Desktop to the remote server?

Edit Claude Desktop’s config file to add an MCP server with command `npx mcp-remote` and the URL of your worker’s `/sse` endpoint (e.g., `https://worker-name.account-name.workers.dev/sse`).

Comments

More Cloud & Infrastructure MCP servers