drio
Open app

Remote MCP Server on Cloudflare

Source

Catalog onlyCatalog onlySTDIO

Overview

Remote MCP Server on Cloudflare is a tool that allows users to set up a remote Model Context Protocol (MCP) server using 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 of a remote MCP server on Cloudflare Workers. - OAuth login integration for secure access. - Compatibility with MCP Inspector for exploring APIs. - Ability to connect with Claude Desktop for advanced tool usage.
  1. Setting up a remote server for API development and testing.
  2. Integrating with AI tools like Claude for enhanced functionality.
  3. Exploring and debugging 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-nevikashah": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-remote-mcp-server-nevikashah"
      ]
    }
  }
}

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

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can I deploy the MCP server to other platforms?

While this project is designed for Cloudflare Workers, similar setups can be configured on other platforms with adjustments.

Is there a cost associated with using Cloudflare Workers?

Cloudflare Workers has a free tier, but usage beyond that may incur costs based on your usage.

How do I debug connection issues?

Restarting the server or checking the configuration files can help resolve most connection issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3508,"uuid":"7ccb022d-6dc4-412b-99c1-814d702685b9","name":"remote-mcp-server","title":"Remote MCP Server on Cloudflare","description":"","avatar_url":"https://avatars.githubusercontent.com/u/76798024?v=4","created_at":"2025-03-19T22:41:14.201Z","updated_at":"2025-03-19T22:50:10.570Z","status":"created","author_name":"nevikashah","author_avatar_url":"https://avatars.githubusercontent.com/u/76798024?v=4","tags":"remote-mcp-server,cloudflare,mcp-inspector","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/nevikashah/remote-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/nevikashah/remote-mcp-server/raw/main/img/mcp-inspector-sse-config.png","type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-19 20:37:59\"}","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"}]]}]