Remote MCP Server on Cloudflare

by MCP-Mirror

291 downloads
Not rated
GitHub

About

A template for deploying an MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling remote MCP clients to connect over HTTP via SSE (Server-Sent Events).

Details

Author
MCP-Mirror
Downloads
291
Categories
Cloud Service

- Deploy on Cloudflare Workers with OAuth authentication
- Local development with hot‑reload via Nx
- SSE transport for remote MCP client connections
- Compatible with MCP Inspector for testing
- Integrates with Claude Desktop via a local proxy (mcp-remote)
- Includes mock login for local development

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Remote MCP Server on Cloudflare
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository (github.com/cloudflare/ai), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. Then connect the MCP Inspector or Claude Desktop by configuring the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare using npm run deploy after creating an OAuth KV namespace.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "remote mcp server on cloudflare": {
            "LiteraturePro_mcp-server": {
                "command": "npx",
                "args": [
                    "nx",
                    "dev",
                    "remote-mcp-server"
                ]
            }
        }
    }
}

McpServers

{
    "LiteraturePro_mcp-server": {
        "command": "npx",
        "args": [
            "nx",
            "dev",
            "remote-mcp-server"
        ]
    }
}

Remote MCP Server on Cloudflare

Let's get a remote MCP server up-and-running on Cloudflare Workers complete with OAuth login!

Develop locally

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.