claude-agy-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGY_PATH | No | Path to the agy binary | agy |
| AGY_SANDBOX | No | Run agy with --sandbox | false |
| AGY_TIMEOUT | No | Seconds; overrides the ceiling for every tool, passed as --print-timeout, enforced with a 15s kill grace | 3600 |
| AGY_ON_FAILURE | No | strict appends an instruction to failed-tool errors telling the calling agent not to absorb the work itself | fallback |
| AGY_MAX_RUNTIME | No | Seconds; absolute runtime ceiling. The bridge never kills for inactivity — only cancellation, quota, or this | 3600 |
| AGY_DEFAULT_MODEL | No | Fallback model when no chain entry is available | Gemini 3.6 Flash (High) |
| AGY_MAX_OUTPUT_CHARS | No | Truncation cap for tool output | 50000 |
| AGY_SKIP_PERMISSIONS | No | Pass --dangerously-skip-permissions to agy | true |
| AGY_TIMEOUT_DELEGATE | No | Seconds; overrides the ceiling for the delegate tool. Wins over AGY_TIMEOUT | 3600 |
| AGY_TIMEOUT_FOLLOW_UP | No | Seconds; overrides the ceiling for the follow_up tool. Wins over AGY_TIMEOUT | 3600 |
| AGY_TIMEOUT_WEB_LOOKUP | No | Seconds; overrides the ceiling for the web_lookup tool. Wins over AGY_TIMEOUT | 3600 |
| AGY_TIMEOUT_DEEP_SEARCH | No | Seconds; overrides the ceiling for the deep_search tool. Wins over AGY_TIMEOUT | 3600 |
| AGY_TIMEOUT_ANALYZE_FILES | No | Seconds; overrides the ceiling for the analyze_files tool. Wins over AGY_TIMEOUT | 3600 |
| AGY_TIMEOUT_ADVERSARIAL_REVIEW | No | Seconds; overrides the ceiling for the adversarial_review tool. Wins over AGY_TIMEOUT | 3600 |
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 |
|---|---|
| analyze_filesA | Delegate file analysis to the Antigravity CLI (Gemini) instead of reading files yourself. USE THIS whenever a file is large (>200 lines) or the task spans more than 3 files: logs, database dumps, generated code, cross-file reviews, comparisons. The files never enter your context — only the answer does. |
| deep_searchA | Delegate codebase archaeology to the Antigravity CLI: git log/diff/blame spelunking, wide greps across a repo, 'when/why did X change', 'where is Y used'. USE THIS instead of running many search commands yourself — it saves your context. |
| web_lookupA | Delegate a web/documentation lookup to the Antigravity CLI (Gemini with web access): library docs, API references, error messages, current versions, external knowledge. USE THIS when you need information you don't have or that may be newer than your training data. |
| adversarial_reviewA | Get an adversarial review using the selected model or the tool's available route. Use this for plan critiques, design reviews, and pre-merge code review: it hunts for flaws, edge cases, security issues, and unstated assumptions. Pin a different model explicitly when independent model-family review is needed. Pass either |
| follow_upA | Continue a previous Antigravity session by session_id (returned by every other tool). USE THIS for follow-up questions about a prior delegation — the full prior context is already on agy's side, so you don't resend anything. Pass |
| delegateA | Raw delegation to the Antigravity CLI for heavy tasks that don't fit the other tools. Read-only by default; pass |
| delegate_manyA | Fan one question out to several models at once (a council, with a disagreement report), or fan several sub-tasks out to one model. Runs behind the same concurrency cap as everything else, so it queues rather than stampedes the shared quota. |
| set_modelA | Choose the model and reasoning tier every tool uses from now on, on this machine. Ask the user first — "proceed with the default, or change model or effort?" — then call this once: with no arguments to accept the default, or with what they chose. The choice is saved and no tool asks again. An explicit |
| agy_statusA | What this bridge has spent and what it can still do: tokens by model, live quota cooldowns, runs in flight, the resolved model chain per tool, the user's set_model choice, the models agy offers, warm sessions, and the agy version and flags detected at startup. Check this before a large fan-out, or to list models before set_model. |
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 9 tools
Each specialized tool (analyze_files, deep_search, web_lookup, adversarial_review) targets a distinct intent, and the descriptions give explicit 'USE THIS when...' triggers that steer selection. The main soft spot is `delegate`, a deliberate catch-all that could plausibly absorb any of the specialized tools' work, and adversarial_review overlaps with delegate for code review; workable but not fully clean boundaries.
All names are snake_case and mostly verb_noun (analyze_files, deep_search, web_lookup, set_model) or verb-based (delegate, delegate_many, follow_up). Minor deviations: `agy_status` is noun-first with a product prefix, and `adversarial_review` is adjective+noun rather than verb-led, but the set reads predictably overall.
Nine tools is well within the sweet spot, and each earns its place: four intent-specific delegations, a generic escape hatch, a fan-out, session continuation, model selection, and a status/quota probe. Nothing looks like padding or a redundant alias.
The lifecycle is largely covered: configure model, delegate (single, many, specialized), continue a session by id, and inspect spend/quota/sessions. Gaps remain around session management — no way to list sessions, cancel/abort an in-flight run, or release warm sessions — which an agent would occasionally want, but these are minor and mostly workaroundable via agy_status and follow_up.