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.

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.

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 — use the token Rig shows you. Confirm the hub URL in Connections if you changed the port.

Troubleshooting

Related

https://userig.app/docs/mcp