MCP.so
Sign In
Servers

Remote MCP Server + AutoRAG on Cloudflare

@HawkEyeTheRapper

Overview

What is Remote MCP Server + AutoRAG on Cloudflare?

This server provides a remote MCP (Model Context Protocol) implementation deployed on Cloudflare Workers. It offers math tools (e.g., addition) over SSE transport with OAuth authentication and is designed for connecting MCP clients such as Claude Desktop to remotely hosted tools.

How to use Remote MCP Server + AutoRAG 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) and running npm run deploy. Connect via the MCP Inspector or Claude Desktop by pointing to the SSE endpoint (e.g., http://localhost:8787/sse locally or a .workers.dev/sse URL after deployment). Configure Claude Desktop with the provided JSON snippet.

Key features of Remote MCP Server + AutoRAG on Cloudflare

  • Remote MCP server with SSE transport
  • Deployable to Cloudflare Workers
  • OAuth authentication with mock login
  • Provides math tools (e.g., add)
  • Connectable from MCP Inspector and Claude Desktop
  • Uses Cloudflare KV for OAuth state

Use cases of Remote MCP Server + AutoRAG on Cloudflare

  • Running MCP-based tools remotely on Cloudflare’s edge network
  • Integrating math capabilities into Claude Desktop via a remote MCP server
  • Prototyping OAuth-authenticated MCP servers
  • Deploying MCP servers without relying on a local machine

FAQ from Remote MCP Server + AutoRAG on Cloudflare

Is this server limited to math tools?

The README demonstrates a math tool (addition) but indicates the server can include any defined tools; no explicit limit is stated.

What runtime does this server require?

It is designed for Cloudflare Workers. For local development, Node.js and npm are required.

How does authentication work?

The server uses a mock OAuth login screen that accepts any email and password to grant access via the MCP Inspector.

How is data stored?

OAuth state is stored in a Cloudflare KV namespace named OAUTH_KV, which must be created before deployment.

What transport does this server use?

It uses SSE (Server-Sent Events) over HTTP at the /sse endpoint.

Tags

More from Cloud & Infrastructure