Add installation and configuration documentation for Antigravity CLI

Aberta Para iniciantes
#2,529 0 comentários 4 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
84/100
Tipo de issue
Documentação
Clareza
Claramente especificada
Status de atividade
Pouca atividade
Stack de tecnologia
docker, github
Domínio
cli, documentation

Direção de pesquisa

Comece por docs/installation-guides/install-antigravity.md e compare a cobertura atual de IDE com as referências vinculadas de migração e uso do Antigravity CLI. Adicione ou vincule uma seção de CLI que abranja os caminhos global e de workspace, ambos os exemplos de configuração, o parâmetro serverUrl obrigatório e /mcp; considera-se concluído quando um usuário em migração puder configurar e verificar o servidor GitHub sem depender de instruções do IDE.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement request ai review
Describe the feature or problem you’d like to solve

Google recently announced the transition from Gemini CLI to the new Antigravity CLI, with the deprecation of Gemini CLI for free and Pro/Ultra tiers taking effect on June 18, 2026.

Currently, the official repository documentation in docs/installation-guides/install-antigravity.md only covers installation steps for the Antigravity IDE. While the core MCP configuration format is similar, Antigravity CLI uses completely different configuration file paths and directories compared to the desktop IDE. Without explicit documentation for the CLI, users migrating from Gemini CLI will struggle to locate where to place their mcp_config.json files.

Proposed solution

We propose updating the documentation to explicitly include setup instructions for the Antigravity CLI, either by adding a dedicated section to install-antigravity.md or creating a standalone guide.

The documentation should highlight the correct configuration paths and parameters unique to the CLI:

1. Configuration File Locations for Antigravity CLI
  • Global Configuration: ~/.gemini/antigravity-cli/mcp_config.json
  • Workspace Configuration: .agents/mcp_config.json
2. Configuration Setup Options

The guide should provide both setup methods compatible with the CLI architecture:

Option 1: Remote Server Configuration
{
  "mcpServers": {
    "github": {
      "serverUrl": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer YOUR_GITHUB_PAT"
      }
    }
  }
}

(Note: Emphasize that serverUrl is strictly required instead of url or httpUrl)

Option 2: Local Docker Server Configuration
{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
      }
    }
  }
}

3. CLI Management Commands

Include a mention of the built-in management commands inside the Antigravity CLI terminal interface to check status:

  • Use /mcp to list and manage active MCP servers.
Example prompts or workflows (for tools/toolsets only)

Not applicable as this is a documentation improvement request. However, it enables the following user workflow within the new CLI environment:

  1. User initializes a project using Antigravity CLI.
  2. User runs /mcp to check connected servers, notices GitHub is missing.
  3. User follows the updated guide to create .agents/mcp_config.json in their repository root.
  4. User runs a terminal command like: Please review my latest open PRs on GitHub and summarize the changes.
Additional context

For more details on the ecosystem migration, architecture, and configuration differences, please see the official resources below:

Linguagem predominante
Go
Estrelas
33.1k
Forks
5k
Merge médio
2d 15h
PRs com merge (30d)
27

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/github-mcp-server

Todas as issues de github/github-mcp-server

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.