Connect Qwen Code to Guard.ch
Let Qwen Code open and interact with websites in an isolated cloud browser. Watch live or hand over a running session.
Connect Qwen Code
Install Qwen Code and sign in. Use Bash or Zsh (macOS, Linux or WSL) for the command below.
1. Add the connection
Run this command in your terminal. It adds guardch to your user settings in ~/.qwen/settings.json.
Terminal
Run in your terminal
qwen mcp add --scope user --transport http guardch https://api.guard.ch/mcp2. Sign in and allow access
When Qwen Code requests OAuth authorization, follow its browser sign-in flow and allow access on Guard.ch.
3. Try it in a new chat
Check in /mcp that guardch is connected and lists its tools. Then 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.
0 of 3 steps marked done
Need help?
Check the connection with /mcp and the URL with qwen mcp list. If OAuth discovery fails in your Qwen version, follow its official OAuth configuration guide.
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.