drio
Open app

Remote MCP Server on Cloudflare

Source

Catalog onlyCatalog onlySTDIO

Overview

Remote MCP Server is a cloud-based server that allows users to set up and manage a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login functionality.

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 integrate it with Claude Desktop for enhanced functionality.

  • Easy setup on Cloudflare Workers - OAuth login integration - Local development and testing capabilities - Connection with MCP Inspector for API exploration - Integration with Claude Desktop for advanced tool usage
  1. Setting up a remote server for Model Context Protocol applications.
  2. Connecting various clients to a centralized MCP server.
  3. Facilitating OAuth-based authentication for secure 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-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-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-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-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-cmsparks": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-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-cmsparks": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-cmsparks"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can I run the server locally?

Yes! You can develop and test the server locally before deploying it to Cloudflare.

How do I connect to the MCP server?

You can connect using the MCP Inspector or configure clients like Claude Desktop to communicate with the server.

Is there support for debugging?

Yes, the documentation includes debugging tips for troubleshooting connection issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3804,"uuid":"2550c76b-fac8-468f-8e44-3c2c0e076b00","name":"remote-mcp-server","title":"Remote MCP Server on Cloudflare","description":"","avatar_url":"https://avatars.githubusercontent.com/u/25832754?v=4","created_at":"2025-03-21T18:42:00.715Z","updated_at":"2025-03-21T18:58:13.374Z","status":"created","author_name":"cmsparks","author_avatar_url":"https://avatars.githubusercontent.com/u/25832754?v=4","tags":"remote-mcp-server,cloudflare,mcp-inspector","category":"cloud-platforms","is_featured":false,"sort":1,"url":"https://github.com/cmsparks/remote-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/cmsparks/remote-mcp-server/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:17:31\"}","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"}]]}]