Windsurf Cascade Remote MCP Setup (~/.codeium/windsurf/mcp_config.json)

Connect Windsurf Cascade to Riftsh's remote HTTP MCP endpoint using serverUrl so your IDE agent can debug containers and run tests on remote hosts without SSH port forwarding.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "riftsh": {
      "serverUrl": "https://riftsh.com/mcp",
      "headers": {
        "Authorization": "Bearer rft_live_YOUR_SECRET_KEY"
      }
    }
  }
}
Need custom _device host routing or directory guardrails?Open Interactive MCP Config Generator

1. Install & pair host

$ curl -fsSL https://riftsh.com/install.sh | sh
$ riftsh remote

2. Configure Windsurf IDE

  1. 01Run riftsh remote --server https://riftsh.com on your remote Linux or macOS build machine.
  2. 02Generate an rft_live_... API key in the Riftsh Console.
  3. 03Open ~/.codeium/windsurf/mcp_config.json (via Cascade -> Hammer icon -> Configure) and paste the snippet above.
  4. 04Click Refresh in Windsurf MCP settings to load all 32 built-in tools.

FAQ

Does Windsurf use `url` or `serverUrl` in mcp_config.json?

Windsurf's remote HTTP MCP configuration uses "serverUrl": "https://riftsh.com/mcp" alongside headers for Bearer token authentication.

Ready to connect your first machine?