Remote MCP Server on Cloudflare

by Rahulsree1

265 downloads
Not rated
GitHub

Description

# 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 # clone the repository git clone https://github.com/cloudflare/ai.git # Or if using ssh: # git clone…

About

# 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 # clone the repository git clone https://github.com/cloudflare/ai.git # Or if using ssh: # git clone git@github.com:cloudflare/ai.git # install dependencies cd ai #…

Details

Author
Rahulsree1
Downloads
265
Categories
Cloud Service

- Runs on Cloudflare Workers globally.
- Includes OAuth-based authentication.
- Uses SSE (Server-Sent Events) transport.
- Works with the MCP Inspector for testing.
- Connects to Claude Desktop via a remote proxy.
- Deployable with a single command.

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, install dependencies with pnpm install, and run locally with npx nx dev remote-mcp-server. For deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy. Connect using the MCP Inspector or Claude Desktop by pointing to the SSE endpoint (e.g., http://localhost:8787/sse locally or a workers.dev URL).

Claude Desktop / Cursor

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

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

McpServers

{
    "rjcgg-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.