MCP in Rig

Rig runs a local MCP hub so Cursor, Claude, Codex, Copilot CLI, OpenCode, Pi, Windsurf, VS Code, or any other MCP client can read live logs, check status, and restart processes — without pasting stack traces or granting a raw shell.

Rig 1.1.0 Connections: the MCP hub, linked editors and per-project agent access
Connections in Rig 1.1.0: the hub, linked editors, and agent access set per project.

Install in Cursor

  1. Open Connections (or AI / MCP) in Rig.
  2. Start the MCP hub if it is not already running.
  3. One-click Link Cursor (or Claude / Codex / Copilot CLI / OpenCode / Pi / Windsurf / VS Code). Any other MCP client can paste the hub JSON.
  4. Confirm the editor shows Rig tools available.
  5. Ask the agent to list projects, start the right one, then open its URL — not a random localhost.

Works with

One-click Link in Connections for the first six. The rest paste Rig’s generic hub JSON.

Also one-click: Windsurf and VS Code.

On Windows

Linking works the same way on Windows. The hub uses the same address, Rig writes the same editor settings files inside your user folder, and editors that start Rig as a command use %APPDATA%\Rig\bin\rig-mcp.cmd. The token lives in %APPDATA%\Rig\mcp.json (on a Mac, ~/Library/Application Support/Rig/mcp.json).

Hub port vs project ports

Two different things people (and agents) mix up:

What the agent can do

Scoped tools (names may vary slightly by build):

Watch the MCP activity feed in Rig so you know what the agent touched.

How to prompt the agent

Project-scoped vs hub-wide MCP

You can link the whole hub (all projects) or a single-project token. Project-scoped tokens can only act on that project — safer when the editor workspace maps 1:1 to a Rig project.

Stdio bridge

Some editors prefer stdio MCP. Rig ships a bridge that talks to the local HTTP hub, and Link sets it up for you. For a client Rig cannot link, run npx -y @userig/mcp; it reads the token from Rig’s mcp.json. Confirm the hub URL in Connections if you changed the port.

Troubleshooting

Related

https://userig.app/docs/mcp