These docs track main. Latest release: v2.0.0.

Skip to Content
antigravity-booster
Reference

MCP tools

The tools exposed by the agb MCP server, generated from the TOOLS array in mcp/server.mjs.

The plugin registers an MCP server named agb (see Plugin layout). It speaks JSON-RPC over stdio (tools, resources, and Antigravity ui:// MCP App resources) and exposes 15 tools: 10 CLI-backed workflow tools that invoke the matching CLI subcommand, plus 5 in-process UI/control/sign-off tools (agb_flight_deck, agb_mission_control, agb_plan_viewer, agb_control, agb_accept) paired with 6 interactive ui://agb/*.html resources.

Server

The server answers initialize with protocol version 2024-11-05 and serverInfo.name antigravity-booster-mcp. serverInfo.version is read from the plugin's package.json, the same source agb --version uses (v1.0.0 hard-coded 0.7.0 instead: C6).

Child processes inherit the ambient environment from the host agent harness. Unknown tools return JSON-RPC error -32602, unknown methods -32601.

Tools

The list below is generated from the TOOLS array in mcp/server.mjs.

agb_run concurrency cap

The MCP agb_run tool accepts plan and an optional positive integer concurrency parameter, which is validated and forwarded as -c <n> to agb run to cap total concurrent workers (v1.0.0 previously forwarded an unsupported flag that agb run ignored: C33). Per-pool runtime concurrency is also governed by the plan's caps field (while concurrencyCap is an advisory fan-out forecast written by adlc merge-forecast).

agb_accept: Inspect candidate diff hunks, external-caller blast radius, and gate manifest evidence for ADLC P6 human sign-off

ParameterTypeRequiredDescription
basestringnoOptional git base ref (defaults to HEAD)
repostringnoOptional path to target repository (defaults to cwd)
saveVerdictsbooleannoPersist hunk verdicts to .booster/accept-state.json
verdictsobjectnoOptional map of 64-char SHA-256 hunk fingerprints to accepted, flagged, or pending

agb_control: Send authenticated control IPC or snapshot/diff/stream telemetry queries to an AGB run

ParameterTypeRequiredDescription
actionstringyesControl or telemetry action
linesintegernoMax stream lines to return (default 40)
repostringnoPath to target repository (defaults to cwd)
ticketIdstringnoTarget ticket ID for abort, diff, or stream

agb_distill: Scan repository review and prosecution logs for recurring finding patterns and stage or apply learned ADLC defenses

ParameterTypeRequiredDescription
applybooleannoWrite compacted defenses to .agents/rules/adlc-learned.md
compileChecksbooleannoCompile recurring findings into declarative .adlc/learned-checks.json invariants
repostringyesPath to target repository

agb_doctor: Run diagnostic health check for tools, auth, and sandbox setup

ParameterTypeRequiredDescription
fixbooleannoAutomatically repair missing .adlc store, .gitignore, or companion plugin
repostringnoOptional path to target repository

agb_flight_deck: Open the live AGB Flight Deck auxiliary pane to monitor and control active fleet runs

ParameterTypeRequiredDescription
repostringnoPath to target repository (defaults to cwd)

agb_holdout: List metadata, execute sanitized P5 checks, or clean sealed Dark-Factory holdout scenarios

ParameterTypeRequiredDescription
actionstringyesHoldout operation to perform
repostringyesPath to target repository
runIdstringnoOptional run ID filter
ticketIdstringnoOptional ticket ID filter

agb_init: Initialize a target repository for ADLC and Antigravity Booster (.adlc/config.json, specs/feature-template.md, .gitignore)

ParameterTypeRequiredDescription
decisionProviderstringnoConfigure opt-in System-1 decision engine provider in .adlc/config.json
repostringyesPath to target repository
withCodegraphbooleannoAdd .codegraph/ to .gitignore, run codegraph init if available, and enable accelerators.codegraph in .adlc/config.json

agb_manifest_viewer: Inspect an ADLC gate-manifest JSONL audit trail (.agbmanifest or .adlc/manifest.jsonl) and verify chain integrity

ParameterTypeRequiredDescription
pathstringnoOptional path to .agbmanifest or .adlc/manifest.jsonl (defaults to .adlc/manifest.jsonl)
repostringnoOptional repository path

agb_mission_control: Open the global AGB Mission Control dashboard for 4-window quota gauges and model telemetry

ParameterTypeRequiredDescription
repostringnoOptional path to target repository

agb_plan: Compile an Antigravity brain plan or spec file into plan.json

ParameterTypeRequiredDescription
decomposebooleannoAutomatically split wide tickets exceeding maxTicketScope
emitWorkflowstringnoOptional output path for compiled run_workflow Python script
estimatebooleannoForecast wave-by-wave quota burn without writing plan.json or running Stage B LLM gates
forcebooleannoForce overwrite the output file if it exists
maxTicketScopenumbernoMaximum files per ticket when decompose is enabled (default 3)
noColdstartbooleannoSkip coldstart plan gate
noFastPathbooleannoDisable zero-LLM structured Markdown fast-path and force LLM conversion
noParallaxbooleannoSkip parallax spec ambiguity check
noPremortembooleannoSkip premortem advisory risk gate
outstringnoCustom output file path (default plan.json)
repostringyesAbsolute path to the target repository
specstringyesBrain ID, prefix, or spec.md path to compile

agb_plan_viewer: Inspect, validate, and edit a .agbplan or plan.json ticket DAG file

ParameterTypeRequiredDescription
pathstringyesPath to .agbplan or plan.json file
repostringnoOptional repository path

agb_preflight: Run plan-level coldstart probes and forecast scope overlaps

ParameterTypeRequiredDescription
forceColdstartbooleannoIgnore cached coldstart provenance hashes and re-run coldstart probes
noColdstartbooleannoSkip coldstart plan gate
planstringyesPath to plan.json file

agb_review: Deploy a read-only fleet of models to audit changes or a plan specification

ParameterTypeRequiredDescription
arbiterbooleannoEnable neutral arbiter triage (default true; pass false for --no-arbiter)
codegraphbooleannoEnable CodeGraph context slicing (default true; pass false for --no-codegraph)
decisionEnginebooleannoEnable System-1 decision engine (default true; pass false for --no-decision-engine)
deltastringnoBase git ref for delta fix-round review
dryRoundsintegernoConsecutive dry rounds required for convergence
fiveLensbooleannoRun 5-lens Code ARL (Correctness, Simplicity, Security, Evidence, Anti-Slop)
loopbooleannoRun iterative Plan ARL up to 3 rounds
planstringnoOptional spec.md path to run 5-lens Plan ARL instead of diff review
planFilestringnoOptional path to plan.json used to load ticketScopes for seamsOnly review
priorFindingsstringnoOptional path to persisted prior findings JSON file
refstringnoOptional diff reference range (e.g. main...HEAD)
repostringyesPath to target repository
seamsOnlybooleannoReview cross-ticket integration seams only
thoroughbooleannoEnable multi-dry convergence over static diffs

agb_run: Execute a compiled ticket DAG plan.json

ParameterTypeRequiredDescription
concurrencyintegernoOptional maximum concurrent workers cap (-c <n>)
planstringyesPath to plan.json file
resetRescuebooleannoClear active or preserved rescue locks before running
resumebooleannoResume from previously merged tickets

agb_shape: Pre-analyze a structured spec or brain plan for DAG validity, scope overlaps, rails, and static import coupling before agb plan

ParameterTypeRequiredDescription
maxTicketScopenumbernoMaximum recommended file scope per ticket before emitting a scope warning (default 12)
repostringyesAbsolute path to the target repository
specstringyesPath to spec.md or brain conversation ID/prefix
strictbooleannoFail closed on coupling or scope warnings
syncBrainbooleannoSync formatted plan artifact to .booster/agb_plan_artifact.md and active brain session

agb_status: Get execution status of a booster run in the target repository

ParameterTypeRequiredDescription
repostringyesPath to target repository

agb_ticket_viewer: Inspect an ADLC ticket shard (.agbticket or .adlc/tickets/*.json) with scope, rails, and DAG edges

ParameterTypeRequiredDescription
pathstringyesPath to .agbticket or .adlc/tickets/*.json shard file
repostringnoOptional repository path

Mapping to the CLI

ToolRuns / Mode
agb_shapeagb shape <spec> [repo] --json plus --sync-brain, --max-ticket-scope, --strict
agb_planagb plan <spec> <repo> plus --out, --emit-workflow (emitWorkflow), --estimate, --force, --decompose, --max-ticket-scope, --no-fast-path, --no-coldstart, --no-parallax, --no-premortem
agb_distillagb distill <repo> --json plus --apply, --compile-checks (compileChecks)
agb_runagb run <plan> plus -c <n> (concurrency), --resume, --reset-rescue (resetRescue)
agb_preflightagb preflight <plan> plus --no-coldstart
agb_statusagb status <repo>
agb_doctoragb doctor [repo] plus --fix
agb_initagb init <repo>
agb_reviewagb review <repo> [ref] plus --plan, --loop, --five-lens, --no-arbiter
agb_holdoutagb holdout <list|run|clean> [repo] plus --ticket (ticketId), --run-id (runId)
agb_controlIn-process control.sock IPC / diff / stream telemetry (action, repo, ticketId, lines)
agb_acceptIn-process P6 sign-off dossier & hunk verdict persistence (repo, base, verdicts, saveVerdicts, ui://agb/accept-workbench.html)
agb_flight_deckIn-process UI resource (ui://agb/flight-deck.html) + live control.sock snapshot (repo)
agb_mission_controlIn-process UI resource (ui://agb/mission-control.html) + Factory Economics Ledger & quota telemetry (repo)
agb_plan_viewerIn-process UI resource (ui://agb/plan-viewer.html) for inspecting and saving .agbplan / plan.json (path, repo)

Evidence: tool dispatch. The server resolves the CLI to the sibling dist/agb.mjs in the bundled plugin, bin/agb.mjs in a source checkout, or agb on PATH (resolveAgbEntry). See Headless and MCP.

On this page