Skip to content

feat: support Antigravity agent in MCP installer - #54

Open
1999AZZAR wants to merge 1 commit into
prooflinedev:mainfrom
1999AZZAR:feat/agent-install-antigravity
Open

1999AZZAR wants to merge 1 commit into
prooflinedev:mainfrom
1999AZZAR:feat/agent-install-antigravity

Conversation

@1999AZZAR

Copy link
Copy Markdown

Why

prooflinedev/skills already distributes an official Antigravity plugin (.antigravity-plugin/plugin.json), and Proofline actively promotes agentic code review workflows with Antigravity. However, the CLI's proofline agent install command only recognized Claude Code, Codex, Cursor, Gemini CLI, and Kiro. Developers using Antigravity previously had to hand-craft their MCP configuration.

What changed

Added Client::Antigravity (with CLI alias agy) to proofline agent install:

  • Installs the credential-free stdio MCP server entry into ~/.gemini/antigravity-cli/mcp_config.json.
  • Adheres to standard JSON document preservation: retains existing mcpServers, comments, and formatting.
  • Supports --print for previewing the snippet without writing to disk.
  • Updated documentation in README.md.
  • Expanded integration test matrix in src/agent/tests.rs across all installation, duplicate prevention, and refusal scenarios.

Example:

proofline agent install antigravity
# or with alias
proofline agent install agy --print

Verification

  • cargo fmt --check: Passed (code conforms to formatting standards).
  • cargo clippy --locked --all-targets: Passed with 0 warnings/errors (strict deny policies enforced).
  • cargo test --locked: Passed (all 93 tests passing).
  • cargo deny check: Passed (advisories ok, bans ok, licenses ok, sources ok).
  • Tested manually via proofline agent install agy --print and verified standard JSON output.

mohsen1 commented Nov 17, 2026

Copy link
Copy Markdown
Member

Codex

Please identify the supported Antigravity surface/version and verify that it loads the installed MCP entry. This writes ~/.gemini/antigravity-cli/mcp_config.json, while the current CLI documentation names ~/.gemini/config/mcp_config.json. Correct the host contract, resolve the conflicts with main, and rerun both required checks.

Co-authored-by: Mema <mema@glassgallery.my.id>
@1999AZZAR
1999AZZAR force-pushed the feat/agent-install-antigravity branch from 17aa486 to ef31b59 Compare November 17, 2026 16:54
@1999AZZAR

Copy link
Copy Markdown
Author

Verified against Antigravity CLI 1.5.10 (agy --version), the surface that reads a user-level MCP config.

You're correct — I had the wrong path. Fixed to ~/.gemini/config/mcp_config.json.

Confirmed empirically with two isolated HOME fixtures and the same server entry:

Config location agy mcp list
~/.gemini/config/mcp_config.json proofline stdio enabled …
~/.gemini/antigravity-cli/mcp_config.json No MCP servers configured.

The binary's string table agrees: ~/.gemini/config/mcp_config.json is a path literal, while ~/.gemini/antigravity-cli/ only holds settings.json, hooks.json and cache/. Antigravity's own bundled guidance states "Global Discovery: ~/.gemini/config/". The antigravity-cli directory is shared with the Antigravity editor for caches, not server config — my original reading came from a changelog entry about agy changelog cache paths.

Also rebased onto main (only README.md conflicted; the clients list and the Antigravity path note now live in the new ### MCP agent registration section) and re-ran the checks: cargo fmt --check clean, cargo clippy --locked --all-targets 0 warnings, cargo test --locked 160 passed / 1 ignored, cargo deny check advisories ok, bans ok, licenses ok, sources ok.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants