gemini-mcp-tool

v2.4.0
@joeytheman/gemini-mcp-tool Checked 18 hours ago Published 20 days ago

MCP server for asking Gemini through Antigravity CLI (agy)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ask-gemini

Ask Gemini through Antigravity CLI (`agy`) for plan review, implementation critique, code review, architecture feedback, debugging, and tradeoff analysis

ParameterTypeDescription
prompt *stringAnalysis request for Gemini feedback. Use @ syntax to include files (e.g., '@largefile.js review this implementation') or ask for plan/code review feedback
approvalModestringLegacy Gemini CLI option. Only 'yolo' is supported and maps to --dangerously-skip-permissions; other values return an explicit error.
changeModebooleanEnable structured change mode - formats prompts to prevent tool errors and returns structured edit suggestions that Claude can apply directly
chunkCacheKeystringOptional cache key for continuation
chunkIndexnumber | stringWhich chunk to return (1-based)
conversationIdstringResume this exact agy conversation (--conversation <id>); wins over `resume`. The call errors when agy silently starts a different conversation instead of resuming this one. IDs come from the [GEMINI_…
debugbooleanUnsupported legacy Gemini CLI option. Use agy logs for troubleshooting.
effortstringagy --effort, only for models that accept it; tiered Gemini names encode effort in the name ('Gemini 3.8 Flash (High)') and agy rejects --effort for them.
extensionsUnsupported legacy Gemini CLI option. Antigravity uses plugins instead of Gemini CLI extensions.
includeDirectoriesAdditional directories to include in the Antigravity workspace. Comma-separated string or array maps to repeated --add-dir flags.
jsonSchemastringInline JSON Schema passed to agy --json-schema, which constrains the answer to structured_output. Requires outputFormat: 'json'.
modelstringOptional Antigravity model name. Verified options: 'Gemini 4 Carbon (Low)', 'Gemini 4 Carbon (Medium)', 'Gemini 4 Carbon (High)', 'Gemini 4 Argon (Low)', 'Gemini 4 Argon (Medium)', 'Gemini 4 Argon (Hi…
outputFormatstring'text' (default) returns agy's plain answer. 'json' returns agy's JSON envelope rendered as the conversation ID line, the response (or structured_output when jsonSchema is set), and a usage line. 'str…
printTimeoutstringagy --print-timeout duration, such as '5m', '90s', or '10m'. If omitted, agy uses its default. The server stops agy 2 minutes after this limit, or after 2 hours when no limit is given.
promptInteractivestringUnsupported in MCP request/response mode because it requires an interactive TTY.
resumeboolean | stringResume an agy conversation. true/latest/continue maps to --continue; any other string maps to --conversation <id>.
sandboxbooleanUse Antigravity sandbox mode (--sandbox) to restrict terminal access
workingDirectorystringWorking directory to run agy from. Use drive root (e.g., 'C:/' or 'D:/') to access files on that drive.
yolobooleanMap to agy --dangerously-skip-permissions. Auto-approves all tool permission requests without prompting. Use with caution.

ping

Echo

ParameterTypeDescription
promptstringMessage to echo

Help

receive help information

brainstorm

Generate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement.

ParameterTypeDescription
prompt *stringPrimary brainstorming challenge or question to explore
constraintsstringKnown limitations, requirements, or boundaries (budget, time, technical, legal, etc.)
domainstringDomain context for specialized brainstorming (e.g., 'software', 'business', 'creative', 'research', 'product', 'marketing')
existingContextstringBackground information, previous attempts, or current state to build upon
ideaCountintegerTarget number of ideas to generate (default: 10-15)
includeAnalysisbooleanInclude feasibility, impact, and implementation analysis for generated ideas
methodologystringBrainstorming framework: 'divergent' (generate many ideas), 'convergent' (refine existing), 'scamper' (systematic triggers), 'design-thinking' (human-centered), 'lateral' (unexpected connections), 'au…
modelstringOptional Antigravity model name. Verified options: 'Gemini 4 Carbon (Low)', 'Gemini 4 Carbon (Medium)', 'Gemini 4 Carbon (High)', 'Gemini 4 Argon (Low)', 'Gemini 4 Argon (Medium)', 'Gemini 4 Argon (Hi…
workingDirectorystringWorking directory to run agy from.

fetch-chunk

Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.

ParameterTypeDescription
cacheKey *stringThe cache key provided in the initial changeMode response
chunkIndex *numberWhich chunk to retrieve (1-based index)

timeout-test

Test timeout prevention by running for a specified duration

ParameterTypeDescription
duration *numberDuration in milliseconds (minimum 10ms)

live-pass

Delegate a live UI pass to Gemini: it drives its own Playwright or Maestro MCP server, captures screenshots into a worktree-local artifact directory, looks at them itself, and returns a text verdict with per-frame observations. No image ever reaches the caller's context.

ParameterTypeDescription
brief *stringEvery fact Gemini needs, because it may not read code to find one: the app's start URL or app id, any link a user arrives by (an invite, email or share link) with where it comes from, the served-branc…
driver *stringWhich MCP server Gemini drives: 'playwright' for web, 'maestro' for a booted simulator.
targets *arrayEvery frame the pass must produce. The verdict is derived from this list: a target that produced no frame fails the pass, whether Gemini skipped it with a reason or never reported it at all — a skip…
workingDirectory *stringAbsolute path to the worktree under test. Used as the agy cwd and workspace root; must exist and must not be a filesystem root.
artifactDirstringAbsolute directory for the captured PNGs and manifest.json. Must be strictly inside workingDirectory. Defaults to <workingDirectory>/.live-pass/<timestamp>.
conversationIdstringResume a previous pass so Gemini can report deltas (resolved / regressions / changes) against what it saw then. The browser or simulator still starts fresh.
modelstringOptional Antigravity model name. Verified options: 'Gemini 4 Carbon (Low)', 'Gemini 4 Carbon (Medium)', 'Gemini 4 Carbon (High)', 'Gemini 4 Argon (Low)', 'Gemini 4 Argon (Medium)', 'Gemini 4 Argon (Hi…
printTimeoutstringagy --print-timeout for the whole walk. A full pass takes minutes. The server stops agy 2 minutes after this limit, or after 2 hours when no limit is given.
publishCommandstringOptional shell command run in code after validation, with {files} replaced by the shell-quoted paths of the frames that validated OK. Its stdout is returned as PR markdown. Never run on a BLOCKED pass…
yolobooleanPass --dangerously-skip-permissions so Gemini may drive its MCP servers unattended. Without it agy denies the tool calls and the pass is BLOCKED. Refused when workingDirectory is a filesystem root.

screen-review

Delegate screen review to Gemini: in 'review' mode it opens the given PNGs, inventories what each shows, and returns findings with an APPROVE / REQUEST_CHANGES verdict; in 'plan' mode it inventories the controls of a route file before anything is built. Text only — no image reaches the caller's context.

ParameterTypeDescription
instructions *stringThe caller's reviewer prompt, verbatim. Passed through unchanged so rule citations stay exact.
mode *string'review' judges screenshots after a live pass. 'plan' inventories a route file before any screenshot exists and returns no verdict.
workingDirectory *stringAbsolute path to the checkout the instructions cite. Used as the agy cwd and workspace root, so repository-relative rule paths resolve.
baseRefstringreview mode only: the git ref the diff under review is based on, such as 'origin/main'. Resolved in code to its merge base with HEAD (the call fails when it does not resolve); Gemini may then run read…
changedRoutesarrayreview mode: repo-relative route/component files the diff touched (from `git diff --name-only`). Every changed screen file (under an `app/` directory) that no image shows makes the review REQUEST_CHAN…
contextstringOptional extra context: composition contract, changed-file list, issue text.
conversationIdstringResume a previous review so round 2 keeps round 1's visual analysis.
imagesarrayreview mode only: absolute paths to the PNG/JPEG frames to judge. Each must exist.
modelstringOptional Antigravity model name. Verified options: 'Gemini 4 Carbon (Low)', 'Gemini 4 Carbon (Medium)', 'Gemini 4 Carbon (High)', 'Gemini 4 Argon (Low)', 'Gemini 4 Argon (Medium)', 'Gemini 4 Argon (Hi…
printTimeoutstringagy --print-timeout for the review. The server stops agy 2 minutes after this limit, or after 2 hours when no limit is given.
routeFilestringplan mode only: absolute path to the route/screen source file to inventory. Must exist inside workingDirectory.
yolobooleanPass --dangerously-skip-permissions. Defaults to false because a review only reads. Set it to true when the instructions ask Gemini to read repository files that are not passed as images: it reaches f…