antigravity-cli-mcp-slim

v0.2.4
antigravity-cli-mcp-slim Checked 1 day ago Published 15 days ago

A 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.

ParameterTypeDescription
directory *stringWorking directory (agy cwd). Defines the default workspace root agy reads from.
query *stringPrompt sent verbatim to agy via --print. agy runs its full agentic loop and prints the response to stdout.
add_dirarrayExtra workspace directories. Each entry maps to a separate agy --add-dir flag (repeatable, not comma-joined). Use to analyze multiple repositories in one call.
continuebooleanPass --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…
conversationstringPass --conversation <ID>: resume a specific past conversation by id. Mutually exclusive with `continue`.
dangerously_skip_permissionsbooleanPass --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…
envobjectExtra environment variables for the agy subprocess.
extra_argsarrayRaw 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_timeoutstringPass --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.
sandboxbooleanPass --sandbox: run agy with terminal restrictions enabled.
timeout_secondsintegerHard wall-clock timeout for the agy subprocess in seconds (default 660).