Antigravity Sub-Agent MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANTIGRAVITY_TLS | No | Use TLS. | true |
| ANTIGRAVITY_CSRF | No | CSRF token. When not set, the server auto-detects the correct LS instance. | |
| ANTIGRAVITY_PORT | No | Language Server port. When not set, the server auto-detects the correct LS instance. |
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 |
|---|---|
| submit_agentA | Spawn an autonomous agent in Antigravity IDE. Returns a taskId INSTANTLY (does NOT wait for completion). The agent runs as a new Cascade conversation with full codebase access — it can read files, grep, run terminal commands, and edit files. It operates fully autonomously without asking questions. Each agent consumes significant resources (new conversation + model tokens), so only delegate tasks that provide real value. ALWAYS use this 2-step pattern: Step 1: Call submit_agent N times (each returns a taskId in ~1 second) Step 2: Call get_agent_results([taskId1, taskId2, ...]) to wait for ALL results at once All N agents run in parallel. Write self-contained prompts — the agent has ZERO prior context. WHEN TO USE (high-value tasks): ✅ Implement a scoped feature or bug fix (write code, run tests) ✅ Research/summarize a module, architecture, or large codebase area ✅ Run a build/test suite and report results ✅ Generate boilerplate, migrations, or repetitive code ✅ Perform multi-step analysis that requires reasoning WHEN NOT TO USE (do it yourself — faster & cheaper): ❌ Read or view files ❌ Simple grep/search operations ❌ Single-file edits that take < 30 seconds ❌ Tasks that just collect information without transforming it Models: gemini-high (default), gemini-low, gemini-flash, claude-opus, claude-sonnet, gpt-120b. |
| get_agent_resultsA | Collect results from submit_agent calls. Blocks until ALL tasks finish, then returns all results together. Call this AFTER submitting all tasks via submit_agent. Pass the taskIds you received. Note: Sometimes agents may not finish within the timeout period. In such cases, the result will be returned as is, and you may need to manually check the status of the task in the Antigravity IDE. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have clearly orthogonal roles: submit_agent starts an asynchronous task and returns a taskId immediately, while get_agent_results blocks on the collected taskIds. The descriptions explicitly encode the two-step submit-then-collect workflow, leaving no realistic room for misselection.
Both names follow the same snake_case verb_noun convention (submit_agent, get_agent_results) and the pairing is semantically symmetric within an async task lifecycle. No mixed casing or inconsistent verb styles.
Two tools is on the thin side, but it maps exactly onto the intended submit/poll async pattern, so each tool clearly earns its place. A small set of lifecycle helpers would round it out but the current count is defensible for the scope.
The core submit-and-collect loop is covered, but the surface has no way to check a single task's status, list outstanding agents, or cancel a runaway agent. The description even admits that on timeout the user must 'manually check the status of the task in the Antigravity IDE', which is a genuine dead end for an agent-driven workflow.