Skip to content
Gemini CLI

Browser Automation for Gemini CLI

io.github.mindstone/mcp-server-browser-automation

Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs

client:Gemini CLI transport:stdio runtime:npm

Install Browser Automation in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-server-browser-automation": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-browser-automation"
      ],
      "env": {
        "AGENT_BROWSER_SESSION_NAME": "<AGENT_BROWSER_SESSION_NAME>",
        "AGENT_BROWSER_SHOW_WINDOW": "<AGENT_BROWSER_SHOW_WINDOW>",
        "MCP_WORKSPACE_PATH": "<MCP_WORKSPACE_PATH>"
      }
    }
  }
}

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

Browser Automation in other clients