Installation
Get pagerunner running in under two minutes. Homebrew, Cargo, or pre-built binary — then register it with your MCP client.
Prerequisites
- macOS or Linux (macOS recommended for Keychain integration)
- Chrome must be installed — pagerunner drives Chrome via CDP (Chrome DevTools Protocol)
- Rust 1.91+ if installing via Cargo
Install via Homebrew
The easiest path on macOS and Linux.
Install via Cargo
If you already have Rust installed.
If you see "requires rustc 1.91+" despite having a newer Rust, Homebrew's Rust may be shadowing rustup's. Fix with: export PATH="$HOME/.cargo/bin:$PATH"
Install pre-built binary
No dependencies required. Download the binary for your platform.
On macOS, if Gatekeeper blocks the binary on first run:
Auto-detect Chrome profiles
Pagerunner reads Chrome's profile list and writes ~/.pagerunner/config.toml automatically.
Alternatively, run pagerunner example-config to see the config format and write it by hand.
Register with your MCP client
Claude Code
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor / Windsurf
Add to your project or user settings.json MCP configuration:
Important: The mcp subcommand is required. Registering just the binary path without mcp will not work.
Verify
If both commands work, you're ready. Open your MCP client and ask it to open a browser.
Next: CLAUDE.md Setup →