Skip to content
Gemini CLI

H/Ai Browser for Gemini CLI

io.github.festuscharles-n/hai-browser

Let AI agents drive VS Code's built-in browser alongside you, with click-to-source.

client:Gemini CLI transport:stdio runtime:npm

Install H/Ai Browser in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "hai-browser": {
      "command": "npx",
      "args": [
        "-y",
        "hai-browser-mcp"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

H/Ai Browser in other clients