MCP.so
Sign In

Remote MCP Server on Cloudflare

@pravarcoder

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

pravarcoder

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-pravarcoder": {
      "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 reference implementation for running a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to expose MCP tools over the internet with authentication.

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. Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), updating wrangler.jsonc, and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global, serverless deployment.
  • Includes OAuth login for secure tool access.
  • Supports local development with Hot Module Replacement.
  • Easily connectable via MCP Inspector (SSE transport).
  • Compatible with Claude Desktop using mcp-remote proxy.
  • Provides a fully remote, authenticated MCP endpoint.

Use cases of Remote MCP Server on Cloudflare

  • Deploying a public MCP math tool for AI assistants.
  • Building custom MCP servers with OAuth-protected endpoints.
  • Prototyping and testing MCP tools locally before deploying to production.

Frequently asked questions

1

What dependencies or runtime are required?

Node.js and npm for local development; a Cloudflare account with Wrangler CLI for deployment. The server runs on the Cloudflare Workers runtime.

2

How does authentication work?

The server implements OAuth login via a browser redirect. A mock login screen is used in local development; for production, OAuth provider configuration would be needed.

3

Where does user or session data live?

Session/authentication data is stored in a Cloudflare Workers KV namespace (`OAUTH_KV`) created during deployment.

4

What transport does the server use?

It uses Server-Sent Events (SSE) for the MCP transport, accessed at the `/sse` endpoint.

Comments

More Cloud & Infrastructure MCP servers