Skip to content

CLI reference

The installed executable is browsermesh.

text
Usage: browsermesh [--install-browser | --doctor --json]
CommandBehaviorExit status
browsermeshstart MCP stdio serveruntil transport closes or shutdown
browsermesh --install-browserinstall Playwright Chromiumnon-zero on failure
browsermesh --doctor --jsonrun bounded diagnostics and write one JSON result1 when status is failed
any other argumentsprint usage to stderr2

Browser startup is lazy: starting the MCP server and discovering tools does not require Chromium to launch immediately.

Doctor

Doctor validates the Node.js version, BrowserMesh version chain, private data-directory access, Chromium executable availability, and a bounded real browser/context/page smoke test with cleanup.

bash
npx -y multi-agent-browser-mcp --doctor --json

Doctor output is structured and safe for diagnostics. It does not return browser state or credentials. Apply the remediation supplied by a failed check; the most common is:

bash
npx -y multi-agent-browser-mcp --install-browser

Released under the Apache License 2.0.