Installation
Requirements
- Node.js 22 or newer
- npm/npx
- a supported local environment for Playwright Chromium
BrowserMesh is published as browsermesh; its executable is browsermesh.
Run with npx
Install the Playwright-managed Chromium binary once:
bash
npx -y browsermesh --install-browserStart the MCP stdio server:
bash
npx -y browsermeshNormally your MCP client starts this command; do not type MCP protocol messages into it manually.
Install globally
bash
npm install --global browsermesh
browsermesh --install-browser
browsermeshBuild from source
bash
git clone https://github.com/scrollDynasty/BrowserMesh.git browsermesh
cd browsermesh
npm ci
npm run build
node dist/cli.js --install-browser
node dist/cli.jsRun --doctor --json if Chromium or the private data directory cannot be used.