What you need. An assistant that can use MCP tools: Claude Desktop, Claude Code, Cursor, VS Code with Copilot, Windsurf, Codex, Gemini CLI, Zed, Cline, Goose or JetBrains AI Assistant. An Apple silicon Mac, or Linux on x86-64 or arm64 (Intel Macs and Windows are not supported). Nothing else: the app ships with Chrome for Testing's headless shell, so it works on a machine with no browser installed and no network, and it fetches newer Chrome security releases in the background between vitro releases. vitro drives Chromium only.
Desktop or hosted. The desktop app is free and runs the
browsers on your machine, where they can open localhost. Hosted
runs them on our machines, so they keep going when your laptop sleeps and
your team watches the same wall. It needs an account and a plan. If you are
unsure, start with the desktop app. Hosted
explains the other option.
1. Install the app
curl -fsSL https://vitro.run/install.sh | sh
The script checks each download against the digest published next to it,
installs Vitro.app on macOS, and links the vitro
command into ~/.local/bin. On Linux it downloads the Debian
package and prints the sudo apt install line for you to run. The
script is plain text, so you can read it first.
To download by hand, https://vitro.run/desktop gives you the disk
image or package for your machine. This does not add the vitro
command. On a Mac, use
/Applications/Vitro.app/Contents/MacOS/desktop wherever these
pages say vitro. The app is signed and notarized by Apple, so a
downloaded copy opens like any other app.
Then start it and check:
vitro start # or open Vitro from Applications
vitro status # version, sessions, browser, port
If your shell says vitro: command not found,
~/.local/bin is not on your PATH. The script prints the line
that adds it at the end of its output. Run that line and open a new terminal.
2. Connect your assistant
Claude Code, in one line:
claude mcp add --scope user vitro -- vitro mcp bridge
Claude Desktop, Cursor and most other apps take the same command as JSON:
{
"mcpServers": {
"vitro": { "command": "vitro", "args": ["mcp", "bridge"] }
}
}
Install in your agent names the config file for
each client. Apps opened from the Dock or a launcher do not read your
shell's PATH. If the app cannot find vitro, run
command -v vitro and put the full path it prints in
command.
Restart the client so it reads the new config, then check that it
connected. In Claude Code, run /mcp and look for vitro. In
Cursor or Zed, look for a green dot beside vitro in the MCP settings. In
Claude Desktop, open a new chat and check that vitro is in its tool list.
3. Ask it in words
Ask your assistant something that needs a browser:
Open example.com in vitro and tell me the main heading.
The vitro window opens with one pane showing example.com while the assistant
works. The assistant answers with the page's heading, "Example Domain". The
window is the wall: each session your assistants run appears there live and
stays in the history after it ends. If you close the wall,
vitro watch opens it again.
Then ask for real work: "compare the pricing pages of these three sites", "fill in this form with the details below", "sign up on my site and tell me what breaks". When a step needs a password or a payment, the assistant can hand the page to you.
Using hosted
Hosted is one address, https://vitro.run/mcp. Add it to your
assistant, then sign in and approve it in the browser. No key goes in the
config.
- Claude Code
- Claude Desktop and claude.ai
- ChatGPT
- Mistral Le Chat
- Cursor
- VS Code (Copilot)
- Windsurf (Devin Desktop)
- OpenAI Codex CLI
- Gemini CLI
- Zed
- Cline
- Goose
- JetBrains AI Assistant
- Amp
- opencode
- Kiro
Claude and ChatGPT add it from their settings as a custom connector, so it works on the web and on their phone apps. Any other client: the URL, the transport and the sign-in. For CI, or anywhere without a browser, use an API key. Hosted covers keys and the team console. Tunnels covers reaching a dev server on your own machine.
What the assistant calls
The same first session from a terminal:
vitro open https://example.com # create a session and a page
vitro watch # open the wall
vitro sessions # list what is live
Through MCP, the assistant makes these calls:
create_session() -> {session_id, lease}
new_page(session_id, lease, url: "https://example.com") -> {page_id}
find(session_id, lease, page_id, role: "heading")
-> {snapshot_id, matches: [{uid, name: "Example Domain", ...}]}
close_session(session_id, lease)
Keep the lease from create_session. It is returned once, and
every later call needs it. Sessions explains why,
and driving a page covers the rest of the loop.
The bridge owns no sessions. If your editor restarts, your browsers keep
running in the app. To upgrade, run vitro update. To remove
vitro, run curl -fsSL https://vitro.run/uninstall.sh | sh.
If it does not work
vitro status should print a version and a port. If it says
vitro is not running, open the app or run vitro start. If the
wall opens empty while your assistant is busy, you are probably looking at a
different instance than the one it is using.
Troubleshooting shows how to tell.