The tools Gaitro's MCP server gives your agent, from opening a project and claiming symbols to running checks and shipping.
Start the server with gaitro mcp (Connect your agent). It works across every project in the company you logged in to: open one first, and the other tools work in it.
Every tool's answer is JSON. Lines after it say what else your agent should know: news for its draft since the last call ("Since your last call: 2 checks failed on draft #12…", each event once), and, once in a session, that Gaitro was updated and the MCP server needs a restart to show the new tools ("Gaitro was updated (vX → vY): restart the Gaitro MCP server to get the new tools."). When Gaitro isn't answering, a tool answers with a short error and retryAfter instead of an error page; reads are tried again first, and a change says whether it went through.
Projects
| Tool | What it does |
gaitro_projects | The projects you can work on with this login. |
gaitro_open_project | Make a project the one you're working in; cloned to ~/gaitro/<company>/<project> the first time, brought up to date after that. |
gaitro_pull | Download the published version as gaitro/main; main follows it when nothing would be lost. |
gaitro_requests | Changes people asked for in the app that no agent has taken yet. |
Drafts
| Tool | What it does |
gaitro_overlap | Is anyone else working on what this folder changes? Opens and claims nothing. |
gaitro_intent | Start a change: open a draft for one request before editing. Name the project: it's needed when no working copy is open and the company has more than one, and when it isn't the open one, that project is opened first. The answer says which project the draft is on. Plans, checks and claims are optional. With worktree: true the draft gets a working copy of its own beside the repo (other agents on this machine can't switch its branch) and the other tools work there; scratch_db: true also creates a database of its own on the local Postgres server. |
gaitro_worktrees | The drafts with a working copy of their own; remove: <n> removes a finished one's copy and its scratch database. |
gaitro_attach | Work on an existing draft from this working copy: to come back to one after starting another here, or to pick up one another agent left. |
gaitro_push | Open a draft from work already done, or save its next checkpoint. |
gaitro_symbols | Search the code index for symbols to claim, and see who holds them. Narrow it to a file or folder, or ask for all. |
gaitro_skills | The skills added to this project (reusable playbooks its agent can use). |
gaitro_skill | Load one added skill's full text, to follow it for the task. |
gaitro_claim | Add or extend claims; if another draft holds one, wait, ask or narrow. |
gaitro_release | Give claims back. |
gaitro_sync | Save a checkpoint: safety checks locally, then the affected checks. The answer starts with saved: "Saved draft #12, checkpoint 3." |
gaitro_status | Checks, safety findings, blockers and the next step. With no draft open, what became of the last one and where the project stands. |
gaitro_wait | Return when the draft's checks have finished, waiting up to 45 seconds by default (many agent apps stop a tool call after a minute). If they're still running, it answers with stillWaiting ("Still waiting: … Call again to keep waiting."): call it again. |
gaitro_ready | Mark the draft done without shipping it. |
gaitro_ship | Publish, once the person has said to ship. A draft that changes nothing is closed instead; shipping again answers with the version it became. Publishing isn't deploying. |
gaitro_discard | Drop the draft without publishing it, with a reason for the project's log. |
gaitro_replay | Re-apply the draft onto the latest version. |
gaitro_choice | Hand a conflict to a person to decide. |
gaitro_safety_ok | Answer a safety finding with a reason (logged). One that needs a person's say-so (a key, a new package, customer details) only asks: it waits for the person to answer on the draft page, and the draft can't ship until they do. |
Backlog
"Pull from the backlog" is a complete instruction: claim the next Ready item, then start a draft with its text. "Grab the next 3 features" is a claim with a count and a kind. Making an item Ready or closing it is a person's call, so no tool does it.
| Tool | What it does |
gaitro_backlog_list | The project's backlog: open items (Ready first), or one status or kind, with who added them and the run on each. |
gaitro_backlog_next | The top Ready item nobody has claimed. Doesn't claim it. |
gaitro_backlog_claim | Claim an item, or the next free ones (count, kind), for this run. Only one agent holds an item, and each gets a run name. Each gaitro_intent after it is linked to the next claimed item. |
gaitro_backlog_add | File something found mid-task. It lands as Not ready, marked agent suggested, until a person looks at it. |
gaitro_backlog_link | Tie a claimed item to its draft. gaitro_intent does this after a claim. |
gaitro_backlog_get | The item's details to build and test against, written in Markdown by a person: what to build, for whom and how to tell it's done. Also its version, the discussion and the latest verification. If a person changed the details since the claim, it shows the changed lines. |
gaitro_backlog_ask | Ask a person one plain question instead of guessing. The item shows Needs input, and the tool waits for the answer and returns it. |
gaitro_backlog_wait_answer | Keep waiting for the answer to a question asked with gaitro_backlog_ask. |
gaitro_backlog_verify | Report once, for the whole item, how you checked it: passed, failed or not checked, and how. People see it on the item; a failed report, or one from before the details changed, is flagged there. |
gaitro_backlog_release | Drop the claim, with a note on why, so another agent can take it. |
gaitro_backlog_complete | Confirm the item is Completed. Refused until its draft has merged with its checks passing; merging does this on its own. For an item customers asked for through a connected app, summary says what shipped in a sentence or two for them (optional). |
Deploys
| Tool | What it does |
gaitro_deploy_status | Which version production runs, how far behind it is, and how this project deploys. next lists what deploying the latest (or version) adds: each published draft with its number, title and risk, to tell the person before deploying. check says when production reports a version the record doesn't have. |
gaitro_deploy_setup | When the person asks you to set up deploys: proposes how the project deploys as a draft. An owner reviews it in Settings → Deploys and Approve saves and enables it; until then nothing changes. Tell them it's waiting, with the link. |
gaitro_deploy_take | Take a deploy a person asked for with the Deploy button (projects deployed outside Gaitro): the version, its commit and the instructions. Recording the deploy completes it. Agents are told when one is waiting. |
gaitro_deploy | Once the person has said to deploy: Gaitro deploys a published version (it usually waits for their approval in Gaitro), or with record, a deploy made outside Gaitro is recorded and checked against the health URL (with no version, the one production reports). Its answer lists the drafts the deploy adds (includes). |
Checks
| Tool | What it does |
gaitro_check_add | Add a plain-language check, with its test if it's written. keep makes it one of the project's checks when the draft ships. services: ["postgres"] gives its run an empty database. A command the runners can't run is refused with the reason; allowUnrunnable: true adds it as a manual check. |
gaitro_check_compile | Link a check to the command that runs its test. Takes services and allowUnrunnable too. |
gaitro_check_edit | Reword or re-point a check this draft added, keep it (keep), make it run on its own (alone: it never shares the sandbox with another check; unmarking a project check that runs alone needs a person), or change its services (["none"] for none). |
gaitro_check_remove | Drop a check this draft added. |
gaitro_check_logs | A check's latest full output. |
gaitro_check_env | What checks run in: OS, Node, tools, network, env vars, timeouts. |
gaitro_check_setup | The command that runs once before each run's checks, and services every run starts (["postgres"], or ["none"]). |
Knowledge
| Tool | What it does |
gaitro_knowledge_search | Known answers for a package, versions and error. |
gaitro_knowledge_show | One answer in full. |
gaitro_knowledge_for_claim | Known answers for the packages behind a claim, to plan around them. |
gaitro_knowledge_ask | Ask a question with no failing check yet. |
Secrets
| Tool | What it does |
gaitro_secret_names | The names of the project's secrets; values are never returned. |
gaitro_secret_set | Store a secret's value. It waits for a publisher to allow it in Settings → Vault, and checks run without it until then. Names that change how programs run are refused. |