Skip to main content

1. Install Auggie CLI

2. Sign in to Augment

This will open a browser window for authentication.

3. Configure the MCP server in Gemini CLI

Gemini CLI reads the MCP server configuration from a settings file. You can configure MCP servers at either the user level (applies to all projects) or project level (applies only to that specific project):Configuration file locations:
  • User settings (global):
    • macOS/Linux: ~/.gemini/settings.json
    • Windows: %USERPROFILE%\.gemini\settings.json
  • Project settings (optional): .gemini/settings.json in your project’s root directory
Add the following configuration to your Gemini CLI settings file:

4. Test the integration

Prompt the Gemini CLI with:
Gemini CLI should confirm it has access to the codebase-retrieval tool.See MCP Server Mode for more options.