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 Codex

Add the MCP server using the Codex CLI:
The --mcp-auto-workspace flag automatically detects your workspace when using Codex.

4. Test the integration

Run Codex and prompt it with:
Codex should confirm it has access to the codebase-retrieval tool.

Advanced: Non-Interactive Setup

For non-interactive environments like CI/CD pipelines, GitHub Actions, or automated scripts where you cannot run auggie login interactively, you can configure authentication using environment variables.

1. Get your authentication session details

This will output your session JSON.

2. Configure with environment variables

Replace <session-json> with the full session JSON output from step 1.