MCP server exposing Google Antigravity (agy CLI / Gemini): jobs, codebase analysis, file tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Server Google Antigravity.
use_antigravityDelegate a task (async). Returns a `jobId` immediately. Params: `prompt`, `thinking_depth` (low/high), `add_dirs` (folders agy may read/write), `auto_approve`, `new_project`, `model`, `mode` (plan/accept-edits), `agent`, `project`, `sandbox`, `write_to_file`, `extract` (optional `"last_code_block"`β¦
antigravity_continueContinue the previous conversation (or a specific `conversation_id`) with a new prompt.
antigravity_resultGet a job's result by `jobId`. Supports long-polling via optional `wait_ms` and `poll_interval_ms`. While running, returns a lean payload (`{ status, jobId, chars, tail, startedAt }`). On done/error, returns full record (including `durationMs` and `bytes` telemetry).
antigravity_jobsList recent jobs and statuses.
antigravity_cancelKill a running job by `jobId`.
antigravity_cleanupDelete old job files by age (`older_than_hours`).
Let Claude (or any MCP client) hand its heavy work to Google Antigravity's agy agent.
mcp-server-google-antigravity is a small MCP (Model Context Protocol) server. It exposes Google Antigravity β Google's terminal coding agent, driven by the agy CLI (Gemini under the hood) β as a set of tools any MCP client can call.
The idea: your primary model (Claude Desktop, Claude Code, Codex, β¦) stays lean and delegates the grunt work β web search, whole-repo analysis, scaffolding files, long-running edits β to a second agent running in the background. Jobs are async and unlimited: you fire a task, get a jobId instantly, and poll for the result while the caller keeps working.
| Need | Why |
|---|---|
| Node.js 18+ | Runs this server (ships with npx/npm). Check: node --version |
Antigravity CLI (agy) | The agent this server drives. Install below. |
| An MCP client | Claude Desktop, Claude Code, or anything that speaks MCP |
agy)Never used
agybefore? Start here. It's one command. First launch signs you in with Google.
macOS / Linux
Windows (PowerShell)
Windows (CMD)
Where it lands (remember this β you may need it for AGY_PATH below):
| OS | Default agy location |
|---|---|
| macOS / Linux | ~/.local/bin/agy |
| Windows | C:\Users\<you>\AppData\Local\agy\bin\agy.exe |
Sign in and verify:
If agy isn't found afterwards, open a new terminal (so PATH reloads) or run agy install to fix shell paths.
Option A β npx (recommended): Skip straight to Step 3 and use the npx config. The npx path works seamlessly from the public npm registry with no authentication required.
Alternatively, you can install the package globally:
This exposes the mcp-server-google-antigravity command (which you can register directly in your MCP client's config instead of npx).
Option B β from source (for hacking on it):
node-pty(used only for clean output on Windows) is an optional dependency β if it can't build on macOS/Linux the install still succeeds and the server falls back automatically. No compiler needed.
Edit your claude_desktop_config.json:
| OS | Config file |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Using npx (Option A) β recommended:
Windows note: Electron (Claude Desktop) often can't spawn
npxdirectly β if the server fails to start, wrap it incmd: set"command": "cmd"and"args": ["/c", "npx", "-y", "mcp-server-google-antigravity"](keep the sameenv/timeout).
From source (Option B): set "command": "node" and "args": ["/absolute/path/to/mcp-server-google-antigravity/index.js"] instead. On Windows use forward slashes, e.g. "C:/path/to/mcp-server-google-antigravity/index.js".
Restart the app fully after editing (quit from the tray/menu bar, not just close the window).
That's it. Your client now has tools like use_antigravity, antigravity_continue, and the filesystem helpers.
Ask your MCP client something like "use antigravity to analyze the repo at C:/Dev/Repos/foo and summarize its architecture". Under the hood the client calls:
use_antigravity({ prompt: "...", add_dirs: ["C:/Dev/Repos/foo"] }) β returns { "jobId": "mrib1q20_wa5ma1", "status": "running" } instantly.antigravity_result({ jobId, wait_ms: 10000 }) β blocks/long-polls until the job is done or the 10-second wait elapses. While still running, it returns a lean payload containing status, character count, and the last 200 characters of output ({ status, jobId, chars, tail, startedAt }). Once complete, it returns the full record (including durationMs and bytes telemetry).Follow up in the same session with antigravity_continue({ prompt: "now list the top 3 risks" }). Need agy to write files? Pass add_dirs so it has a workspace; auto_approve (default) lets it create/edit without prompts.
Everything is optional β sane defaults out of the box.
| Var | Default | What it does |
|---|---|---|
AGY_PATH | auto-detected | Full path to the agy binary. Only needed if it's not on PATH. On Windows the path is auto-collapsed to an 8.3 short path, so a non-ASCII username no longer breaks anything. |
AGY_MODEL | agy's default | Default model when a call omits model. Use the exact name from agy models, e.g. Gemini 3.5 Flash (Medium). |
AGY_AUTO_APPROVE | true | Pass --dangerously-skip-permissions so headless jobs don't hang on a prompt. Set false for read-only. |
AGY_SANDBOX | false | Run every job with --sandbox (terminal-restricted). Cheap; safer for untrusted prompts. Per-call sandbox overrides. |
AGY_PRINT_TIMEOUT | 10m | agy's --print-timeout. |
AGY_HEARTBEAT_MS | 15000 | Interval for the "job running" progress notification. 0 disables. |
AGY_MODEL_TTL_MS | 300000 | How long the cached agy models list is trusted. |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-server-google-antigravity)<a href="https://allmcps.com/mcp/mcp-server-google-antigravity"><img src="https://allmcps.com/api/badge/mcp-server-google-antigravity?style=directory" alt="MCP Server Google Antigravity on AllMCPs" /></a>