Skip to main content

1. Install Auggie CLI

npm install -g @augmentcode/auggie@latest

2. Sign in to Augment

auggie login
This will open a browser window for authentication.

3. Configure the MCP server in Droid

Add the Augment Context Engine MCP server:
droid mcp add augment-code "auggie" --mcp --mcp-auto-workspace

4. Test the integration

Prompt: "Do you have access to the Augment codebase retrieval tool?"
Droid 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

auggie token print
This will output your session JSON.

2. Configure with environment variables

droid mcp add augment-code "auggie" --mcp --mcp-auto-workspace --env AUGMENT_SESSION_AUTH='<session-json>'
Replace <session-json> with the full session JSON output from step 1.