Cursor Remote MCP Server Configuration (~/.cursor/mcp.json)

Run Cursor on your laptop while executing builds, Docker diagnostics, and GPU workloads across remote Linux machines—with zero inbound SSH ports.

~/.cursor/mcp.json
{
  "mcpServers": {
    "riftsh-remote": {
      "url": "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 Cursor IDE

  1. 01On each target Linux/macOS/Windows host, run riftsh remote --server https://riftsh.com and approve pairing.
  2. 02Open https://riftsh.com/dashboard/keys and mint a scoped rft_live_... Personal Access Token.
  3. 03Add the configuration above to ~/.cursor/mcp.json and reload MCP servers in Cursor Settings -> MCP.
  4. 04When multiple hosts are online, instruct Cursor Agent to pass _device: "gpu-node-01" to target a specific server.

FAQ

Why use Riftsh in Cursor instead of Cursor Remote-SSH?

Remote-SSH requires direct inbound TCP port 22 reachability and locks one window to one host. Riftsh traverses CGNAT/firewalls outbound and lets one Cursor session orchestrate up to 25 machines via _device.

Ready to connect your first machine?