All integrations

Connect Gemini CLI to Guard.ch

Let Gemini CLI open and use websites in a Guard.ch cloud browser. Watch live or hand over a running session.

Connect Gemini CLI

Install Gemini CLI and sign in. Use Bash or Zsh (macOS, Linux or WSL) for the command below.

  1. 1. Add the connection

    Run this command in your terminal. It registers Guard.ch in your personal Gemini CLI settings.

    Run in your terminal

    gemini mcp add --scope user --transport http guardch https://api.guard.ch/mcp
  2. 2. Sign in and allow access

    Start Gemini CLI and type /mcp auth guardch. Sign in and allow access on the Guard.ch page that opens.

    /mcp auth guardch
  3. 3. Try it in a new chat

    Use /mcp list to check the connection. Send the task below and approve the browser tools when asked.

    /mcp

    Open example.com in a Guard.ch browser and tell me what the page says.
Official instructionsInstructions checked October 2, 2026

Hand over a running session

Choose “Hand over to your agent” in the Guard.ch viewer and paste the prepared prompt into your assistant’s chat. The session ID in that prompt lets the assistant continue in the same browser. Sign your assistant in with the same Guard.ch account.

MCP reference and all browser tools