drio
Open app

Remote MCP Server on Cloudflare

Source

Catalog onlyCatalog onlySTDIO

Overview

Remote MCP Server on Cloudflare is a server setup that allows users to run a Model Context Protocol (MCP) server on Cloudflare Workers, enabling remote access and interaction with various tools through a web interface.

To use the Remote MCP Server, clone the repository, install dependencies, and run the server locally. You can then connect to the MCP Inspector or Claude Desktop to interact with the server.

  • Easy setup on Cloudflare Workers - OAuth login integration - Local development and testing capabilities - Connection to MCP Inspector for API exploration - Integration with Claude Desktop for enhanced functionality
  1. Developing and testing MCP APIs locally before deployment.
  2. Connecting various clients like Claude Desktop to interact with the MCP server.
  3. Deploying a scalable server solution on Cloudflare for remote access.

Add to your AI client

Use these steps to connect Remote MCP Server on Cloudflare in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "remote-mcp-server-d2w-irvinebroque": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-d2w-irvinebroque"
      ]
    }
  }
}

FAQ

Can I run this server without Cloudflare?

No, this server is specifically designed to run on Cloudflare Workers.

Is there a cost associated with using Cloudflare Workers?

Cloudflare offers a free tier, but usage beyond that may incur costs.

How do I debug connection issues?

Restarting the client or checking the server logs can help identify issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3813,"uuid":"7e1fe395-6eab-454f-bc0e-d4608053ce61","name":"remote-mcp-server-d2w","title":"Remote MCP Server on Cloudflare","description":"","avatar_url":"https://avatars.githubusercontent.com/u/1221592?v=4","created_at":"$D2025-03-21T20:35:09.594Z","updated_at":"$D2025-03-21T20:38:24.161Z","status":"created","author_name":"irvinebroque","author_avatar_url":"https://avatars.githubusercontent.com/u/1221592?v=4","tags":"remote-mcp-server,cloudflare,mcp-inspector","category":"cloud-platforms","is_featured":false,"sort":1,"url":"https://github.com/irvinebroque/remote-mcp-server-d2w","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/irvinebroque/remote-mcp-server-d2w/raw/main/img/mcp-inspector-sse-config.png","type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-21 16:38:55\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]