MCP.so
Sign In

Remote MCP Server on Cloudflare

@ctbedford

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

ctbedford

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

This project provides a template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It allows developers to quickly set up a server that can expose tools to MCP-compatible clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect clients (MCP Inspector or Claude Desktop) by pointing them to the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare Workers with wrangler kv namespace create OAUTH_KV and npm run deploy, then use the resulting workers.dev URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login flow for authentication.
  • Supports SSE transport for MCP communication.
  • Works with the MCP Inspector for testing.
  • Integrates with Claude Desktop via mcp-remote proxy.
  • Provides local development environment with hot reload.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server to expose custom tools to AI clients.
  • Develop and test MCP tools locally before deploying to the edge.
  • Connect Claude Desktop to a remote server with OAuth authentication.
  • Use as a reference implementation for Cloudflare-based MCP servers.

Frequently asked questions

1

How do I authenticate when connecting via the MCP Inspector?

The inspector shows a mock login screen; input any email and password to proceed.

2

What transport type does the server use?

It uses SSE (Server-Sent Events); set the transport type to `SSE` in the MCP Inspector.

3

How do I connect Claude Desktop to the remote server?

Update Claude's config file (`~/.claude/config.json` or via Settings) to use `mcp-remote` with the server's SSE URL, e.g., `https://worker-name.account-name.workers.dev/sse`.

4

What if I encounter connection issues?

Restart Claude, or test the connection directly with `npx mcp-remote <URL>`. In rare cases, clear the auth cache at `~/.mcp-auth` by removing the folder.

5

What environment variables or services are required for deployment?

You need a Cloudflare Workers account and a KV namespace (`OAUTH_KV`) created via `wrangler kv namespace create`.

Comments

More Cloud & Infrastructure MCP servers