Antigravity MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGY_MCP_CWD | No | Default working directory for `agy` runs. Resolution order: `workingDir` → `AGY_MCP_CWD` → the project root of an `@path` in your prompt (`ask`, `digest`, `delegate`) → the server's launch directory. | |
| AGY_MAX_SESSIONS | No | Maximum number of stored sessions (default 50). | |
| AGY_SESSION_TTL_MS | No | Session TTL (default 24h). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
| prompts | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ask-antigravityA | Execute Google Antigravity CLI (agy) in print mode with model selection, conversation resume, and workspace controls. |
| batch-antigravityB | Delegate multiple atomic tasks to Antigravity for batch processing. Ideal for repetitive operations, mass refactoring, and automated transformations. |
| review-changesB | Run a code review against the current repository using Antigravity (collects git diff + structured review prompt). |
| plan-antigravityA | Generate a structured implementation plan using Antigravity. Use BEFORE coding to get steps, files-to-touch, risks, and open questions. Distinct from ask-antigravity: enforces a plan-only system prompt and parses structured output. |
| brainstormB | Generate creative ideas using structured frameworks with domain context and feasibility analysis. |
| bg-antigravityA | Run Antigravity CLI as a detached background task. Subactions: start (returns taskId), status, tail (log output), stop, remove, list. Use for long-running autonomous work — the MCP call returns immediately and you poll status later. |
| digest-antigravityA | Ingest many files at once and answer a focused question. Uses Antigravity's large model context (Gemini ~1M tokens) to swallow whole modules / docs that don't fit in the caller's context. Walks directories (symlinks are not followed), filters by extension, withholds credential files (.env, .npmrc, keys…), truncates oversized files, caps total payload. Returns a concentrated brief. |
| delegate-antigravityA | Delegate a long, multi-step implementation task to Antigravity. Runs detached in its own git worktree/branch, by default on the Orchestrator model (planner + Gemini 4 Hydrogen implementer, built for long tasks). Returns a taskId immediately; poll |
| list-sessionsB | List active conversation sessions with metadata, or manage them (delete/clear) |
| healthA | Check Antigravity CLI installation, authentication, available models, and session health |
| list-modelsB | List the models available to Antigravity CLI ( |
| pingC | Echo |
| HelpA | Show Antigravity CLI help output |
| versionA | Display version and system information |
| metricsA | Expose Prometheus-formatted metrics for Antigravity MCP server |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| ask-antigravity | Execute Antigravity CLI in print mode with optional session continuity |
| batch-antigravity | Execute multiple atomic Antigravity tasks in batch mode for efficient automation |
| review-changes | Review uncommitted changes / branch diff / specific commit with Antigravity |
| brainstorm | Create structured brainstorming with chosen methodology and analysis |
| list-sessions | View and manage active Antigravity sessions |
| health | Diagnose Antigravity CLI installation, authentication, and session health |
| list-models | List available Antigravity models |
| ping | Echo test message with structured response. |
| Help | Receive help information |
| version | Get version information for Antigravity CLI and MCP server |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools funnel into the same underlying action (send a prompt to the Antigravity CLI), so ask-antigravity, batch-antigravity, delegate-antigravity, bg-antigravity, plan-antigravity, digest-antigravity, and brainstorm sit on a continuum with fuzzy boundaries. Descriptions do work to differentiate them (plan-only prompt, atomic tasks, detached worktree, directory ingestion), but an agent must read carefully to pick between ask vs delegate vs bg vs batch. The admin tools (health, version, metrics, list-models, ping, Help) are clearly distinct.
Patterns are readable but mixed: the main delegation family uses verb-antigravity kebab-case, while admin tools use bare nouns (health, metrics, version, ping) and some use verb-noun (review-changes, list-sessions, list-models) or standalone verbs (brainstorm). There is also a case inconsistency ('Help' capitalized while everything else is lowercase). The suffix convention helps group related tools but isn't applied uniformly.
15 tools sits at the upper edge of well-scoped, and the split of the core delegation capability into six near-siblings (ask, batch, plan, delegate, bg, digest) inflates the count. Still, each entry maps to a defensible use case and the admin/support tools are lightweight, so the surface is reasonable for a CLI wrapper.
Coverage is solid for an agent-CLI wrapper: prompt execution, planning, delegation, background task lifecycle (start/status/tail/stop/remove/list), review, document digestion, sessions, model discovery, and health/diagnostics. Gaps are minor: session operations like delete/clear are buried inside list-sessions rather than exposed as their own tools, and there is no explicit cancel for foreground runs.