Connect GitHub Copilot CLI to Guard.ch
Let GitHub Copilot CLI open and interact with websites in an isolated cloud browser. Watch live or hand over a running session.
Connect GitHub Copilot CLI
Install GitHub Copilot CLI and sign in with /login. If your organisation restricts MCP servers with an allowlist, guardch has to be on it.
1. Add the connection
Run this command in your terminal. It saves guardch in ~/.copilot/mcp-config.json.
Terminal
Run in your terminal
copilot mcp add --transport http guardch https://api.guard.ch/mcp2. Sign in and allow access
Start copilot and run /mcp auth guardch. Sign in on the Guard.ch page and allow access.
/mcp auth guardch3. Try it in a new chat
Type /mcp list and check that guardch is connected, 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 your organization blocks custom MCP servers, ask an admin to allow the server. Run /mcp auth guardch again if authentication has expired.
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.