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:
@@ -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)",
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user