antigravity-mcp

Antigravity MCP for OpenAI Codex: use Gemini 4 from Codex

OpenAI Codex speaks MCP, so it can drive Google Antigravity through antigravity-mcp. You can then compare Codex with Gemini 4 on the same task, or hand Gemini the work your Codex quota should not pay for.

Register the server

git clone https://github.com/aristidew1/antigravity-mcp
node antigravity-mcp/src/cli.mjs install --client codex

This adds a table to ~/.codex/config.toml, after backing the file up. It never edits a file it cannot parse safely. To add it by hand:

[mcp_servers.antigravity]
command = "node"
args = ["/absolute/path/to/antigravity-mcp/src/cli.mjs"]

Use it

Restart Codex, then ask for things like "use antigravity_task to get Gemini's review of this diff". Long runs return a job_id. Collect it with a single antigravity_job call: it blocks until the run finishes, so there is no polling loop. Jobs survive a Codex restart.

Why route through Antigravity