feat: add Google Antigravity platform support for MCP install

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tirth Kanani
2026-03-26 15:25:35 +00:00
parent a82463bb06
commit 84bde35459
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ def main() -> None:
)
install_cmd.add_argument(
"--platform",
choices=["claude", "cursor", "windsurf", "zed", "continue", "opencode", "all"],
choices=["claude", "cursor", "windsurf", "zed", "continue", "opencode", "antigravity", "all"],
default="all",
help="Target platform for MCP config (default: all detected)",
)
@@ -202,7 +202,7 @@ def main() -> None:
)
init_cmd.add_argument(
"--platform",
choices=["claude", "cursor", "windsurf", "zed", "continue", "opencode", "all"],
choices=["claude", "cursor", "windsurf", "zed", "continue", "opencode", "antigravity", "all"],
default="all",
help="Target platform for MCP config (default: all detected)",
)
+8
View File
@@ -74,6 +74,14 @@ PLATFORMS: dict[str, dict[str, Any]] = {
"format": "object",
"needs_type": True,
},
"antigravity": {
"name": "Antigravity",
"config_path": lambda root: Path.home() / ".gemini" / "antigravity" / "mcp_config.json",
"key": "mcpServers",
"detect": lambda: (Path.home() / ".gemini" / "antigravity").exists(),
"format": "object",
"needs_type": False,
},
}