From 607465c87f52a5218105046fc9435029da906900 Mon Sep 17 00:00:00 2001 From: beyondsundial <67931863+beyondsundial@users.noreply.github.com> Date: Thu, 26 Nov 2026 19:02:35 +0800 Subject: [PATCH] docs: add Antigravity CLI MCP setup instructions --- docs/installation-guides/README.md | 2 +- docs/installation-guides/install-antigravity.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/installation-guides/README.md b/docs/installation-guides/README.md index 888caf64a4..18fd8c0de3 100644 --- a/docs/installation-guides/README.md +++ b/docs/installation-guides/README.md @@ -5,7 +5,7 @@ This directory contains detailed installation instructions for the GitHub MCP Se ## Installation Guides by Host Application - **[Copilot CLI](install-copilot-cli.md)** - Installation guide for GitHub Copilot CLI - **[GitHub Copilot in other IDEs](install-other-copilot-ides.md)** - Installation for JetBrains, Visual Studio, Eclipse, and Xcode with GitHub Copilot -- **[Antigravity](install-antigravity.md)** - Installation for Google Antigravity IDE +- **[Antigravity](install-antigravity.md)** - Installation for Google Antigravity IDE and CLI - **[Claude Applications](install-claude.md)** - Installation guide for Claude Desktop and Claude Code CLI - **[Cline](install-cline.md)** - Installation guide for Cline - **[Cursor](install-cursor.md)** - Installation guide for Cursor IDE diff --git a/docs/installation-guides/install-antigravity.md b/docs/installation-guides/install-antigravity.md index 8399f5787e..d9ee785aa8 100644 --- a/docs/installation-guides/install-antigravity.md +++ b/docs/installation-guides/install-antigravity.md @@ -1,11 +1,11 @@ # Installing GitHub MCP Server in Antigravity -This guide covers setting up the GitHub MCP Server in Google's Antigravity IDE. +This guide covers setting up the GitHub MCP Server in Google's Antigravity IDE and CLI. ## Prerequisites -- Antigravity IDE installed (latest version) -- GitHub Personal Access Token with appropriate scopes +- Antigravity IDE or CLI installed (latest version) +- GitHub Personal Access Token with appropriate scopes if using PAT authentication ## Installation Methods @@ -131,6 +131,14 @@ To authenticate with a Personal Access Token instead (it takes precedence over O - Docker Desktop installed and running - Docker must be in your system PATH +## Antigravity CLI + +1. Open or create the MCP configuration file for the desired scope: + - **Global**: `~/.gemini/config/mcp_config.json` (`%USERPROFILE%\.gemini\config\mcp_config.json` on Windows). + - **Workspace**: `.agents/mcp_config.json` in your project root. +2. Add the `github` entry to `mcpServers` using the [remote server configuration](#step-2-add-configuration) or a [local Docker configuration](#option-2-local-docker-server) above. Use the global file for configurations that contain a token if your workspace configuration is tracked in version control. +3. Start `agy` from your project root and enter `/mcp` to confirm that `github` is connected. You can reload the configuration and inspect connection logs from the MCP manager. + ## Troubleshooting ### Server not connecting