BrowserMesh
v0.2.1Isolated multi-session Chromium runtime for external MCP clients over stdio.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_runtime_info Inspect BrowserMesh runtime
Report bounded, read-only BrowserMesh version, launch state, effective configuration, and session counts without launching Chromium. Use this to diagnose setup and capacity safely; it never returns paths, launch arguments, environment values, browser state, or raw errors.
browser_session_create Create isolated browser session
Create a new isolated browser session with its own cookies, storage, pages, and optional validated contextSettings (viewport, scale, locale, timezone, color scheme, reduced motion, user agent, geolocation, and explicit origin-scoped geolocation grants). Only the geolocation permission is supported; each grant must name one absolute HTTP(S) origin, never a wildcard. Create a separate session whenever a task involves a different user, account, role, authentication state, device profile, accessibility preference, permission profile, or independent parallel workflow; never reuse one session for id…
| Parameter | Type | Description |
|---|---|---|
contextSettings | object | |
metadata | object | |
name | string | |
stateId | string |
browser_session_list List browser sessions
List every browser session with its explicit sessionId, lifecycle status, name, and neutral workflow metadata. Use this to recover the correct session for each role/account; there is no global active session.
browser_session_get Get browser session
Inspect one explicitly addressed browser session. Session names and metadata are workflow labels, not internal AI agents or owners.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |
browser_session_close Close browser session
Close one explicitly addressed session and release all of its pages and isolated browser context. Close each role/account session when its workflow is complete.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |
browser_page_create Create browser page
Create an additional page inside one explicitly addressed session. Use it for another tab that must share that session's cookies and storage; use a separate session instead when identity or authentication must be isolated.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |
browser_page_list List browser pages
List pages belonging only to the addressed session. Session creation already returns the initial pageId; use this tool to rediscover or inspect all pages in that session.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |
browser_page_close Close browser page
Close one explicitly addressed page in its owning session. Supply both IDs because BrowserMesh has no global current session or page.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string |
browser_back Navigate browser page back
Navigate backward in the history of one explicitly addressed page without affecting pages or sessions used by other roles.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_forward Navigate browser page forward
Navigate forward in the history of one explicitly addressed page without affecting other isolated sessions.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_reload Reload browser page
Reload one explicitly addressed page in its existing isolated session and authentication state.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_get_url Get browser page URL
Read the current URL of one explicitly addressed page. Use the IDs returned for the intended session; there is no global current page.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_get_title Get browser page title
Read the title of one explicitly addressed page in its owning isolated session.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_snapshot Get accessibility snapshot
Inspect a bounded accessibility-oriented snapshot of one explicitly addressed page, optionally scoped by a locator including a bounded semantic iframe chain. BrowserMesh rejects oversized DOM sources before native ARIA serialization. Use interactiveOnly to retain interactive nodes with ancestor context and maxChildren to limit every node after filtering. A nextCursor continues the immutable captured serialization without rereading a changed DOM; cursors are page-scoped, expire after 30 seconds, and become stale on navigation or close. Semantic scope, depth, boxes, character/byte bounds, omissi…
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
cursor | string | |
includeBoundingBoxes | boolean | |
includeRefs | boolean | |
interactiveOnly | boolean | |
maxBytes | integer | |
maxChars | integer | |
maxChildren | integer | |
maxDepth | integer | |
maxRefs | integer | |
scope | ||
timeoutMs | integer |
browser_visible_text Get visible page text
Read visible text from a semantic or CSS locator on one explicitly addressed page. A locator may select the top document or a bounded outer-to-inner semantic iframe chain; the lookup remains confined to that page and session.
| Parameter | Type | Description |
|---|---|---|
locator * | ||
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_observe Read page observations
Read bounded observations recorded for one explicitly addressed page. Choose source: 'console' for console events, 'pageError' for uncaught page errors, 'network' for correlated request/response metadata, or 'requestFailed' for transport-level failures. HTTP error responses such as 500 are 'network' response events, not 'requestFailed'. Console and page-error results are metadata-only unless includeText=true, which the network sources reject because they carry no text; exposed text is best-effort redacted and bounded, and console argument objects and raw stacks are never captured. Network URLs…
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
source * | string | |
includeText | boolean | |
limit | integer | |
sinceEventId | string | |
timeoutMs | integer |
browser_click Click page element
Click exactly one semantic/CSS locator or short-lived snapshot ref on one explicitly addressed page. A locator may select the top document or a bounded outer-to-inner semantic iframe chain. Role locator names match exactly by default and every iframe-chain selector must resolve exactly; ambiguous locators return LOCATOR_AMBIGUOUS and stale or cross-page refs return STALE_ELEMENT_REFERENCE. Prefer semantic locators for durable workflows.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_double_click Double-click page element
Double-click a semantic or CSS locator on one explicitly addressed page. Use this only when the application assigns distinct double-click behavior; the action is serialized with all browser work in that session and an ambiguous locator returns LOCATOR_AMBIGUOUS.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_hover Hover over page element
Move the pointer over a semantic or CSS locator on one explicitly addressed page. Use this to reveal hover-driven controls or state before inspecting or interacting; BrowserMesh preserves same-session accepted order.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_focus Focus page element
Focus a semantic or CSS locator on one explicitly addressed page without entering a value. Use this for focus-driven UI state or before a separate key action; the locator remains scoped to the supplied sessionId and pageId.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_check Check page control
Ensure a checkbox or radio located semantically or by CSS is checked on one explicitly addressed page. The operation is idempotent, bounded by timeoutMs, and isolated to the supplied session.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_uncheck Uncheck page control
Ensure a checkbox located semantically or by CSS is unchecked on one explicitly addressed page. The operation is idempotent, bounded by timeoutMs, and isolated to the supplied session.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_scroll_into_view Scroll page element into view
Scroll one semantic or CSS locator into the viewport of an explicitly addressed page. Use this before inspection or interaction when an off-screen target must become visible; it never accepts arbitrary JavaScript or coordinates.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_scroll Scroll browser page
Scroll an explicitly addressed page by bounded integer pixel deltas. Use deltaX for horizontal and deltaY for vertical movement; this typed operation exposes no arbitrary JavaScript and remains serialized within the session.
| Parameter | Type | Description |
|---|---|---|
deltaX * | integer | |
deltaY * | integer | |
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_drag_and_drop Drag and drop page element
Drag one semantic or CSS-located element onto another on one explicitly addressed page. Source and target are resolved in the same page and session, with bounded timeout and strict ambiguity errors.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
source * | ||
target * | ||
timeoutMs | integer |
browser_fill Fill page field
Fill a form field located on one explicitly addressed page. The value is entered only in that session; use separate sessions for different identities.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
value * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_press Press key on page element
Press a key on a locator within one explicitly addressed page, preserving deterministic ordering with other operations in that session. A missing or unsuitable element returns OPERATION_TIMEOUT within timeoutMs (10 seconds by default) without closing MCP or browser sessions.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
pageId * | string | |
sessionId * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_select_option Select page option
Select an option on one explicitly addressed page using a semantic or CSS locator. A missing or unsuitable select returns OPERATION_TIMEOUT within timeoutMs (10 seconds by default), and the supplied session plus all other sessions remain usable.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
value * | string | |
locator | ||
ref | string | |
timeoutMs | integer |
browser_screenshot Capture page screenshot
Capture a bounded in-memory PNG screenshot of one explicitly addressed page, either as the viewport/full page or one semantic element optionally reached through a bounded iframe chain. Full-page and element capture use an immutable measured CSS-pixel clip plus encoded-byte validation. BrowserMesh returns image content and does not write to a caller-controlled path or inspect another session.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sessionId * | string | |
capture | ||
timeoutMs | integer |
browser_wait Wait for browser condition
Wait for one deterministic passive condition on an explicitly addressed page: an exact/safe-glob URL, domcontentloaded/load state, locator state (optionally through a bounded semantic iframe chain), or case-sensitive top-document text presence/absence. The wait occupies that session queue, is bounded by timeoutMs, and must not depend on a later action queued in the same session; use browser_action_and_wait for action-triggered events.
| Parameter | Type | Description |
|---|---|---|
condition * | ||
pageId * | string | |
sessionId * | string | |
timeoutMs | integer |
browser_action_and_wait Perform browser action and wait
Atomically register a navigation, response, popup, or dialog waiter first, then click or press on the explicitly addressed page under one shared deadline; the action locator may use a bounded semantic iframe chain. Popup pages receive a new BrowserMesh pageId in the same session with isDefault=false and are closed if the page limit is exceeded. Dialogs must be handled atomically because they cannot be inspected later; specify the expected type and accept/dismiss action. Returned dialog text is bounded. Use this instead of parallel same-session calls when an action triggers the event.
| Parameter | Type | Description |
|---|---|---|
action * | ||
pageId * | string | |
sessionId * | string | |
wait * | ||
timeoutMs | integer |
browser_state_save Save browser state
Save cookies and supported storage from one explicitly addressed session under a safe logical stateId. Use this only when a later new isolated session should restore that authentication state.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | |
stateId * | string |
browser_state_list List saved browser states
List logical saved-state IDs available for optional restoration when creating a new isolated session; state contents and secrets are not returned.
browser_state_remove Remove saved browser state
Delete persisted browser state by its safe logical stateId when it should no longer be restorable. This does not close or alter currently live sessions.
| Parameter | Type | Description |
|---|---|---|
stateId * | string |