Antigravity Codex MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGY_BIN | No | AGY executable path; defaults to 'agy' on PATH. Set if agy is not on PATH. | agy |
| AGY_HEALTH_TIMEOUT_MS | No | Health-check timeout in milliseconds, clamped to 100–60,000 ms. Defaults to 15000. | 15000 |
| ANTIGRAVITY_USE_SANDBOX | No | Request AGY CLI's optional sandbox mode. Set to 'true' to enable. | |
| ANTIGRAVITY_CLI_DATA_DIR | No | Override the AGY CLI data root used for transcript lookup. | |
| ANTIGRAVITY_ALLOWED_ROOTS | No | Static path-delimited root fence in addition to dynamic project authorization. | |
| ANTIGRAVITY_SETTINGS_PATH | No | Override the AGY settings file path. | |
| ANTIGRAVITY_PASSTHROUGH_ENV | No | Comma-separated extra environment-variable names. Names that look sensitive are rejected by default. | |
| ANTIGRAVITY_ALLOW_SENSITIVE_ENV_PASSTHROUGH | No | High-risk override for sensitive extra names; use only after explicit risk acceptance. Set to 'true' to enable. |
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| antigravity_healthA | Check the configured agy binary and bridge version without enabling a project or consuming a model turn. |
| antigravity_project_statusA | Check whether one exact project root is initialized, trusted, read-authorized, and linked to an active AGY conversation. Does not call a model. |
| antigravity_enable_projectA | Initialize .antigravity-mcp in one exact project root and atomically add only that root to Antigravity trustedWorkspaces and read_file allow rules. Call only after the user explicitly requests AGY. Does not call a model. |
| antigravity_disable_projectA | Remove only one project's exact Antigravity trusted workspace and read_file rule, mark it disabled, and preserve all local session and run history. |
| antigravity_start_sessionB | Create a new AGY conversation for an enabled project, save it as active, and return its conversation ID. Consumes one Antigravity model turn. |
| antigravity_get_active_sessionA | Return the active AGY conversation ID for a project without calling a model. |
| antigravity_list_sessionsA | List recent persisted AGY delegation and conversation events for one project without calling a model. |
| antigravity_sync_conversationA | Read the official AGY transcript for a conversation registered to this project, filter internal thinking/system/checkpoint records, and update the project-local visible transcript mirror. Does not call a model. |
| antigravity_get_transcriptA | Refresh and return the bounded project-local user/assistant/tool transcript for a registered AGY conversation. Internal thinking, system messages, and checkpoints are never returned. |
| antigravity_askA | Start a new read-only AGY analysis conversation for an enabled project and persist it as active. |
| antigravity_continueB | Continue a specified conversation or the project's active AGY conversation and persist the result. |
| antigravity_reviewB | Start a read-only evidence-oriented review for an enabled project and persist the conversation. |
| antigravity_executeA | For an enabled project, ask AGY for schema-validated file replacements, apply only validated paths to a disposable copy, optionally run one fixed verification, and never merge into source. |
| antigravity_list_runsA | List recent isolated execution runs for one project. |
| antigravity_get_runA | Read one project's run response, token usage, verification output, changed-file manifest, and optional external events. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |