Getting started
This walkthrough installs Chromium, connects BrowserMesh to an MCP client, and describes the first explicitly addressed browser workflow.
1. Check Node.js
node --versionNode.js 22 is the minimum supported major version. Node.js 24 is recommended for development.
2. Install Chromium
npx -y multi-agent-browser-mcp --install-browser3. Configure your client
Set the MCP server command to npx and its arguments to -y, multi-agent-browser-mcp. See MCP client configuration.
For unattended use, set BROWSERMESH_HEADLESS=true. The runtime default is false, so Chromium is visible unless configured otherwise.
4. Ask for a workflow
For example:
Open example.com in a new isolated browser session, inspect the page title, and close the session when finished.
The external client should:
- call
browser_session_create; - retain
session.sessionIdandinitialPage.pageId; - call
browser_navigatewith both IDs; - call
browser_get_titlewith both IDs; - call
browser_session_close.
Example call payloads:
{ "name": "docs-example" }{
"sessionId": "<returned sessionId>",
"pageId": "<returned pageId>",
"url": "https://example.com"
}IDs are opaque. Never invent, parse, or reuse a page ID with another session.
5. Add a second identity
For buyer/admin or signed-in/signed-out comparisons, call browser_session_create again. The new session receives another BrowserContext, cookie jar, storage area, page registry, and queue.