antigravity-cli-mcp-slim
v0.2.4A thin, auditable MCP server wrapping the Antigravity CLI (agy).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
consult_agy
Run a single agy (Antigravity CLI) invocation in non-interactive print mode. agy is an agentic coding assistant that autonomously reads files and works inside `directory` (plus any `add_dir`). Forward-compatible: unknown CLI flags can be passed via `extra_args`. The agy binary path is configurable via $AGY_CMD.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Working directory (agy cwd). Defines the default workspace root agy reads from. |
query * | string | Prompt sent verbatim to agy via --print. agy runs its full agentic loop and prints the response to stdout. |
add_dir | array | Extra workspace directories. Each entry maps to a separate agy --add-dir flag (repeatable, not comma-joined). Use to analyze multiple repositories in one call. |
continue | boolean | Pass --continue: resume the most recent agy conversation. Mutually exclusive with `conversation`. Concurrent calls that set this race on the same 'most recent' conversation; prefer `conversation` for… |
conversation | string | Pass --conversation <ID>: resume a specific past conversation by id. Mutually exclusive with `continue`. |
dangerously_skip_permissions | boolean | Pass --dangerously-skip-permissions: auto-approve ALL tool permission requests without prompting, letting agy run commands and edit files unattended. Leave false (the default) unless you fully trust t… |
env | object | Extra environment variables for the agy subprocess. |
extra_args | array | Raw CLI flags appended verbatim (one token per element). Use to reach new or uncommon agy flags (e.g. --log-file) without updating this server. |
print_timeout | string | Pass --print-timeout: agy's own wait timeout as a Go duration ('5m0s', '300s'). Keep it shorter than timeout_seconds so agy can exit cleanly before the wrapper kills it. |
sandbox | boolean | Pass --sandbox: run agy with terminal restrictions enabled. |
timeout_seconds | integer | Hard wall-clock timeout for the agy subprocess in seconds (default 660). |