CommonRig docsOpen the app

Docs / Get started / Connect your agent

Connect your agent

One command and a yes in your browser. No key or token is ever pasted.

What happens when you connect

YouYour agentCommonRigRuns the commandfrom the connectdialogAdds the serverand opens a browserConsent pagenames the agent andits scopesSays yesConnection madeshows under AgentsCalls startin a new sessionYouYour agentCommonRigRuns the commandfrom the connectdialogAdds the serverand opens a browserConsent pagenames the agent andits scopesSays yesConnection madeshows under AgentsCalls startin a new session
Connecting an agent: you approve it once in a browser

Until an agent has signed in, the server answers every call, the first one too, by asking it to sign in, so the agent offers you sign-in instead of showing CommonRig connected with no tools.

The server address is on the connect dialog and under Workspace, Connect agents: one address for all your workspaces, like the one below. When you approve it in your browser you tick which of your workspaces it reaches; a work workspace starts unticked. Each session then works in one of them: the workspace its repo is linked in, else your Home, and any tool takes in_workspace to pick another. Every reply ends by naming the workspace it ran in. A workspace's own address, ending in /w/<name>/mcp, works too: an agent app on your computer signed in there starts out reaching all your workspaces, work ones included, now and any you join later, and its sign-in page says so. A hosted agent keeps to its one project. Under Agents, Connections, its reach button shows where it works: untick a workspace there to leave it out, or turn off all your workspaces and tick the ones you want. It is the only way in where a workspace's owner has turned off connections to all of someone's workspaces, and that workspace is never reached from elsewhere. Under Agents, Connections, revoke everywhere on that sign-in stops it in every workspace it reached at once, and it can no longer refresh.

Claude Code

In a terminal: adds the server
claude mcp add --scope user --transport http commonrig https://app.commonrig.com/mcp
In a terminal: opens a browser to approve
claude mcp login commonrig

Then start a new session, so it picks up the tools, and say: Start CommonRig for this repo and tell me what you find.

Claude Code in the desktop app reads the same servers, so these lines cover it too.

Codex

In a terminal: adds the server and opens a browser
codex mcp add commonrig --url https://app.commonrig.com/mcp

If you closed the browser before approving, run codex mcp login commonrig. Or keep the lines in your own config file:

~/.codex/config.toml
[mcp_servers.commonrig]
url = "https://app.commonrig.com/mcp"

Other agents

AgentCommands
OpenCodeopencode mcp add commonrig --url <address> then opencode mcp auth commonrig
Pi (1.4 or later)pi mcp add commonrig --url <address> then pi mcp login commonrig
Anything elseAdd the address as a remote MCP server over HTTP. Leave any key or token field empty: it signs in through a browser

Not sure? The connect dialog has a block of text to paste into any agent. It asks the agent to connect itself, and holds nothing worth stealing.

What each agent can do

AgentToolsCapture of your promptsGuard
Claude CodeYesYes, with the pluginYes
CodexYesYes, with a hooks file; not tested on a real Codex runA mode that watches until you tell it to enforce; not tested on a real Codex run
Other MCP clientsYesNo: the agent passes your words to startNo

After connecting, the agent's first reply is a short welcome with the next one or two setup steps. Every later start carries one line.

Checked against the code at e28af69c. Site built from f04f4af1.