Open beta

Connect Claude Code, Codex or Cursor to Gaitro

Set up Claude Code, Codex, Cursor or any command-line agent to work in Gaitro, through the gaitro CLI and its MCP server.

Your agent runs on your own machine, on your own account with your AI provider. Gaitro gives it two ways in: the gaitro CLI, which every agent can run, and an MCP server (gaitro mcp) that hands MCP-capable agents typed tools and pushes events to them.

Install the CLI and log in first (Get started). This page is the short reference; each agent's setup guide walks through it step by step.

Claude Code

Terminal
claude mcp add --scope user gaitro -- gaitro mcp

--scope user makes it available in every project on this machine. Claude Code reads CLAUDE.md, which points at GAITRO.md. Full setup: Claude Code with Gaitro.

Codex

Terminal
codex mcp add gaitro -- gaitro mcp

Codex reads AGENTS.md, which points at GAITRO.md. Full setup: Codex with Gaitro.

Cursor

Add the server to ~/.cursor/mcp.json (or .cursor/mcp.json in one project):

JSON
{  "mcpServers": {    "gaitro": { "command": "gaitro", "args": ["mcp"] }  }}

Full setup: Cursor with Gaitro.

Anything else

Any agent that can run commands can use the CLI directly. Every command takes --json, and a blocked claim exits with code 3 and lists the options. Point the agent at GAITRO.md in the project; it says everything in The workflow.

Revoking a computer

Each login is named after the machine it was approved on. Revoke it under the company's Settings › Agents, and that machine's agents stop at once.

This page as markdown, for your agent: /docs/connect-your-agent.md. Every page at once: /llms-full.txt.