BrowserMesh
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BrowserMeshTest checkout as customer and verify order as admin simultaneously"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BrowserMesh — Multi-Session Browser MCP Runtime
BrowserMesh is a local, open-source browser runtime for external AI clients.
It lets Claude Code, Codex, Cursor, Qwen, and other MCP-compatible clients control multiple isolated browser sessions through one MCP server.
BrowserMesh replaces an implicit "current page" model with explicit sessionId + pageId addressing.
Each session runs in its own Chromium BrowserContext, so independent users, accounts, roles, and authentication states do not accidentally share cookies, storage, pages, or browser state.
User
↓
External AI client
↓ MCP
BrowserMesh
├── Session buyer → isolated BrowserContext
├── Session seller → isolated BrowserContext
└── Session admin → isolated BrowserContextBrowserMesh does not perform LLM reasoning.
The external MCP client decides what to do. BrowserMesh provides deterministic browser capabilities.
A normal user configures BrowserMesh once and then asks their AI client things like:
Test the checkout flow as a customer while simultaneously verifying the order from the admin account.
The AI client can discover BrowserMesh tools through MCP, create separate sessions for the required identities, operate them independently, and report the result.
BrowserMesh is not:
an internal AI-agent framework;
an LLM orchestrator;
a message bus;
a Playwright fork;
a browser GUI;
an interactive shell that users must operate manually.
v0.1 architecture
Version 0.1 is intentionally small:
one Node.js process
│
▼
one Chromium process
│
├── BrowserContext A
├── BrowserContext B
├── BrowserContext C
└── ...BrowserMesh v0.1 includes:
explicit session/page addressing;
isolated Chromium contexts;
session/page lifecycle;
browser navigation and interaction;
semantic locators;
per-session operation serialization;
parallel execution across independent sessions;
bounded operation timeouts;
structured application errors;
Playwright storage-state persistence;
MCP stdio integration;
deterministic local integration/e2e testing;
graceful shutdown and resource cleanup.
Reasoning and workflow orchestration remain in the external MCP client.
Related MCP server: BrowserGenie MCP Server
How it is normally used
You normally do not call BrowserMesh tools manually.
The intended flow is:
Configure BrowserMesh once in your MCP-compatible AI client.
The client starts BrowserMesh as an MCP stdio process.
The client discovers BrowserMesh tools.
You describe the browser task in natural language.
The AI client chooses and invokes the appropriate BrowserMesh tools.
BrowserMesh executes the browser operations and returns structured results.
For tasks involving multiple users, accounts, roles, or authentication states, the external AI client should create a separate BrowserMesh session for each identity.
Quick start after npm publication
Once the npm package is published, the expected MCP configuration will use the package executable directly.
Example:
{
"mcpServers": {
"browsermesh": {
"command": "npx",
"args": ["-y", "multi-agent-browser-mcp"],
"env": {
"BROWSERMESH_HEADLESS": "true"
}
}
}
}The exact configuration format depends on the MCP client.
BrowserMesh itself remains local: Chromium and BrowserMesh run on the user's machine.
No BrowserMesh cloud server is required for the open-source local mode.
Build from source
BrowserMesh v0.1 targets Node.js 24 and supports Node.js 22 as its minimum supported major version.
Clone the repository and run:
npm install
npx playwright install chromium
npm run buildThen configure an MCP client to launch the locally built server:
{
"mcpServers": {
"browsermesh": {
"command": "node",
"args": ["/absolute/path/to/browsermesh/dist/cli.js"],
"env": {
"BROWSERMESH_HEADLESS": "true"
}
}
}
}For development:
npm run verifySession model
There is no global:
current session;
active session;
current page;
active page;
current tab.
Every browser operation explicitly identifies its session.
Every page-specific operation explicitly identifies its page.
Conceptually:
browser_session_create
│
▼
{
sessionId,
pageId
}
│
▼
browser_navigate({
sessionId,
pageId,
...
})A newly created session contains one deterministic initial page.
browser_session_create returns the initial pageId immediately so an AI client does not need an additional browser_page_list call before its first browser action.
The page also appears in browser_page_list and is marked isDefault.
The isDefault marker is informational only. Browser operations still use explicit pageId addressing.
Isolation
Each ready BrowserMesh session maps to its own non-persistent Chromium BrowserContext.
Therefore independent sessions must not accidentally share:
cookies;
browser storage/authentication state;
pages;
page references;
current URLs;
DOM snapshots;
screenshots;
form state.
A pageId belonging to one session cannot be used through another session.
Cross-session page addressing is rejected.
Concurrency model
Every live session has an independent serial operation queue.
Operations targeting the same session execute deterministically in accepted order.
For example:
Session A
navigate
↓
snapshot
↓
click
↓
get_urlA read-style operation does not bypass an in-progress navigation or interaction.
A failed or timed-out operation must not poison the queue. Later accepted operations continue normally after the failed operation settles.
Different sessions do not share a global operation lock:
Session A ═════════════════════►
Session B ═════════════════════►
Session C ═════════════════════►This allows independent browser workflows to run concurrently.
Session closing
When session close begins:
the session enters
closing;new operations targeting it are rejected;
operations already accepted into its queue are drained;
its pages and
BrowserContextare closed;live engine handles are removed;
the session becomes closed.
Repeated close of a known closing/closed session is safe and returns an idempotent success result.
A completely unknown session ID still returns SESSION_NOT_FOUND.
Supported MCP tools
Sessions and pages
browser_session_createbrowser_session_listbrowser_session_getbrowser_session_closebrowser_page_createbrowser_page_listbrowser_page_close
Navigation
browser_navigatebrowser_backbrowser_forwardbrowser_reload
Inspection
browser_get_urlbrowser_get_titlebrowser_snapshotbrowser_visible_text
Interaction
browser_clickbrowser_fillbrowser_pressbrowser_select_option
Capture
browser_screenshot
Screenshots are returned as MCP image content instead of being written to a caller-controlled filesystem path.
Persistence
browser_state_savebrowser_state_listbrowser_state_remove
browser_session_create accepts an optional stateId.
Without stateId, it creates a fresh isolated context.
With stateId, it initializes the new context using a previously saved BrowserMesh state.
Example conceptually:
browser_session_create({
name: "buyer",
stateId: "buyer-auth"
})Session labels
A session may have:
an optional human-readable
name;optional string metadata.
For example an external AI client may label sessions:
role=buyer
role=seller
account=workThese values are neutral workflow labels only.
They do not create:
internal Agent entities;
ownership principals;
permissions;
mailboxes;
message channels;
LLM identities.
MCP tool discovery
BrowserMesh tool descriptions are part of the product contract.
Descriptions must explain both what a tool does and when an AI client should use it.
For example, the description for browser_session_create must make it clear that separate sessions should be used for:
different users;
different accounts;
different roles;
different authentication states;
independent parallel browser workflows.
The goal is that a user can say:
Test this application as a buyer and an administrator.
without having to manually instruct the AI to call browser_session_create twice.
Locators
Browser actions prefer semantic locator strategies.
Supported v0.1 strategies include:
role;
text;
label;
placeholder;
test ID;
CSS as an escape hatch.
Common interactive role values are supported by the v0.1 public contract.
BrowserMesh does not expose Playwright Locator objects through its public API.
Persistence and sensitive state
BrowserMesh stores local persistence data beneath:
.browsermesh/by default.
Saved browser state may contain authentication credentials or equivalent sensitive browser state.
Therefore:
.browsermesh/is ignored by Git;saved state must not be committed;
saved state must not be published;
logs must not contain storage-state contents;
callers provide logical state IDs, not arbitrary filesystem paths.
Persistence represents serialized browser storage/auth state.
BrowserMesh never attempts to serialize a live BrowserContext, open pages, pending operations, or live browser process state.
Configuration
Environment variable | Default | Meaning |
|
| Run Chromium headless |
|
| Default bounded operation timeout |
|
| Private local data directory |
|
|
|
|
| Active session limit |
|
| Managed pages per session |
|
| Enable saved browser state |
Configuration is read and validated centrally.
Direct scattered process.env access throughout the codebase is not allowed.
Logging
MCP stdio reserves stdout for protocol traffic.
BrowserMesh structured logs therefore go to stderr.
Logs may contain safe correlation information such as:
operationId;sessionId;pageId;tool/operation name;
duration;
safe error code.
Logs must not contain:
cookies;
tokens;
saved state;
page contents;
screenshots;
form values;
passwords;
arbitrary message payloads.
Chromium disconnect behavior
BrowserMesh does not silently reconstruct live sessions if Chromium unexpectedly disconnects.
Affected sessions transition to a failed state and their live handles are invalidated.
Existing sessions are never silently recreated because doing so would violate BrowserMesh state guarantees.
A fresh Chromium process may be started for future newly created sessions if the runtime can safely recover, but old live sessions remain failed.
Development
npm run typecheck
npm run lint
npm run format:check
npm test
npm run test:integration
npm run test:e2e
npm run test:stress
npm run build
npm run verifyBrowser integration/e2e tests use real Chromium together with a deterministic loopback HTTP test server.
Tests do not depend on public websites.
See:
Intentional v0.1 limitations
BrowserMesh v0.1 intentionally does not include:
Firefox/WebKit parity;
remote Streamable HTTP;
BrowserMesh-hosted cloud infrastructure;
multi-tenant authentication;
distributed browser workers;
live-operation crash recovery;
internal Agent entities;
internal session ownership tied to LLM agents;
Agent registries;
mailboxes;
agent-to-agent messaging;
internal LLM calls;
prompt orchestration;
Claude/Codex/Qwen process spawning;
arbitrary shell execution;
arbitrary filesystem reads;
caller-controlled screenshot paths;
downloads;
web dashboard;
network allowlist;
full Playwright API.
A future generic client/workflow lease may be introduced if real multi-client protection requires it.
Such a lease must remain independent of LLM/Agent abstractions.
Core v0.1 guarantee
Within one BrowserMesh runtime:
sessions are explicitly addressed;
pages are explicitly addressed;
each session has an isolated browser context;
different sessions may execute concurrently;
operations targeting one session execute deterministically through that session's queue;
failures do not poison future queued operations;
persisted state is handled through controlled logical identifiers;
shutdown cleans up live browser resources;
BrowserMesh performs browser execution while reasoning remains outside the runtime.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceAn MCP Server that enables AI assistants to interact with your local browsers.2,86854MIT
- AlicenseBqualityBmaintenanceAn MCP server that provides AI models with full browser automation capabilities through Chrome. It enables navigation, interaction, screenshots, and complete DevTools access by bridging AI clients with a companion Chrome extension.9972Apache 2.0

agentify-desktopofficial
Alicense-qualityAmaintenanceMCP server that enables AI tools to control local browser sessions for ChatGPT, Claude, and other AI services, supporting querying, navigation, file uploads, and artifact management.86503Mozilla Public 2.0- Flicense-qualityBmaintenanceMCP server that enables AI agents to automate browser testing via Chromium, providing tools for navigation, interaction, and inspection.
Related MCP Connectors
A paid remote MCP for AI agent browser MCP session, built to return verdicts, receipts, usage logs,
Live browser debugging for AI assistants — DOM, console, network via MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/scrollDynasty/multi-agent-browser-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server