MCP.so
Sign In

Remote MCP Server on Cloudflare

@milianks

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

milianks

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

A starter project to deploy a remote MCP server on Cloudflare Workers with OAuth login. It uses SSE transport and supports tools like a math calculator for use with MCP clients (e.g., Claude Desktop).

How to use Remote MCP Server on Cloudflare?

Clone the repo, install dependencies, run locally with npx nx dev remote-mcp-server, then connect via MCP Inspector using SSE at /sse. Deploy with npm run deploy after creating an OAUTH_KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication
  • Supports SSE transport for MCP protocol
  • Works with MCP Inspector for local testing
  • Connects to Claude Desktop via a local proxy
  • Easy one-command deployment to Cloudflare

Use cases of Remote MCP Server on Cloudflare

  • Running a remote math tool from Claude Desktop
  • Developing and testing MCP tools using the MCP Inspector
  • Deploying a production MCP server on Cloudflare Workers
  • Prototyping OAuth‑protected MCP endpoints

Frequently asked questions

1

How do I develop locally?

Clone `git@github.com:cloudflare/ai.git`, install with `npm install`, then run `npx nx dev remote-mcp-server` and open `http://localhost:8787/`.

2

How do I connect the MCP Inspector?

Run `npx @modelcontextprotocol/inspector`, switch transport to SSE, and enter `http://localhost:8787/sse` as the server URL. A mock login screen will appear.

3

How do I deploy 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`.

4

How do I connect Claude Desktop?

Edit Claude’s config file to add an entry with `"command": "npx"` and `"args": ["mcp-remote", "<your-url>/sse"]`. Restart Claude to see tools.

5

How do I debug issues?

Restart Claude, or test directly with `npx mcp-remote http://localhost:8787/sse`. If needed, clear cached auth files with `rm -rf ~/.mcp-auth`.

Comments

More Cloud & Infrastructure MCP servers