Connect Codex to Guard.ch
Let Codex open and use websites in a Guard.ch cloud browser. Watch live or hand over a running session.
Connect Codex
Install the Codex CLI and sign in; the Codex app and IDE extension use the same setup. Use Bash or Zsh (macOS, Linux or WSL) for the command below.
1. Add the connection
Run this command in your terminal. It registers Guard.ch in your Codex configuration.
Terminal
Run in your terminal
codex mcp add guardch --url https://api.guard.ch/mcp2. Sign in and allow access
codex mcp login guardch opens the Guard.ch sign-in page in your browser. Sign in and allow access; Codex keeps the sign-in for later sessions.
codex mcp login guardch3. Try it in a new chat
Start codex and check the connection with /mcp. Then send the task below.
/mcp
Open example.com in a Guard.ch browser and tell me what the page says.
0 of 3 steps marked done
Need help?
If Codex says guardch needs sign-in, run codex mcp login guardch again. Use codex mcp list to inspect the configuration.
Hand over a running session
Choose “Hand off to an 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.