Skip to main content

Entry point

or the compiled dist/browspark with the same flags.

Environment variables

Recorder exports read flow parameters from environment variables named after the parameter in upper case ({{email}} → EMAIL). On browser_session launch, browserPath overrides the executable for the chosen browser. Legacy chromePath and firefoxPath options remain supported. "chrome" and the default "chromium" selection share the existing Chrome profile paths. Several extension browsers can connect to the same port. Select an extension instance by the browserId returned by browser_status; select a developer session by context. Tab tools use globally unique tabId values. See using multiple browsers.

Package scripts

What the companion prints

Everything goes to stderr, because stdout is the MCP stdio channel.

Exit behaviour

The companion exits when stdin closes (the stdio client went away), on SIGINT or SIGTERM. On exit it closes the bridge and every developer browser it launched. Relays exit when their stdin closes; when the owner they relay to stops answering they take the port over instead.