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 OAuth login and interaction with various tools.

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

  • Easy setup on Cloudflare Workers - OAuth login functionality - Integration with MCP Inspector for exploring APIs - Compatibility with Claude Desktop for enhanced interactions
  1. Running a remote server for Model Context Protocol applications.
  2. Connecting various clients like Claude Desktop to interact with the server.
  3. Debugging and testing MCP APIs using the MCP Inspector.

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-2-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-2-cmsparks"
      ]
    }
  }
}

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-2-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-2-cmsparks"
      ]
    }
  }
}

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-2-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-2-cmsparks"
      ]
    }
  }
}

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-2-cmsparks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-2-cmsparks"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

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 Workers has 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":3803,"uuid":"eb403c8d-2ef9-45cb-9052-d8c0ab99df1f","name":"remote-mcp-server-2","title":"Remote MCP Server on Cloudflare","description":"","avatar_url":"https://avatars.githubusercontent.com/u/25832754?v=4","created_at":"2025-03-21T18:40:01.674Z","updated_at":"2025-03-21T18:45:42.144Z","status":"created","author_name":"cmsparks","author_avatar_url":"https://avatars.githubusercontent.com/u/25832754?v=4","tags":"remote-mcp-server,cloudflare,mcp-inspector","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/cmsparks/remote-mcp-server-2","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/cmsparks/remote-mcp-server-2/raw/master/img/mcp-inspector-sse-config.png","type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-21 17:27:37\"}","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"}]]}]