Skip to main content

Quick Start with OpenCode

1. Install Auggie CLI (Pre-release version)

npm install -g @augmentcode/auggie@prerelease

2. Sign in to Augment

auggie login
This will open a browser window for authentication.

3. Configure the MCP server in OpenCode

  • Go to Folder: ~/.config/opencode/
  • Create a file named: opencode.json
Paste this configuration:
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "augment-context-engine": {
      "type": "local",
      "command": ["auggie", "--mcp"],
      "enabled": true
    }
  }
}

4. Test the integration

Prompt : "What is this project ? Please use codebase retrieval tool to get the answer."
OpenCode should confirm it has access to the codebase-retrieval tool.