Brief dump so I don't forget how that worked in August 2025. Requires npm, npx and nodejs.
- Install Chrome
- Add the BrowserMCP extension
- Install gemini-cli
npm install -g @google/gemini-cli
- Retrieve a Gemini API key via AI Studio
- Export API key for gemini-cli
export GEMINI_API_KEY=2342
- Start BrowserMCP extension, see manual, an info box will appear that it's active with a cancel button.
- Add mcp server to gemini-cli
gemini mcp add browsermcp npx @browsermcp/mcp@latest
- Start
gemini
-cli, let it use the mcp server and task it to open a website.