browsermcp
v0.0.44Chrome-backed MCP browser service with optional site adapters.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
session_finish
Finish the task: unmarked agent tabs close, user tabs and deliverables release, handoff tabs retain ownership and usable handles. Returns closed/released/retained/failed separately.
| Parameter | Type | Description |
|---|---|---|
keep | array |
tabs_list
List session and unclaimed tabs without claiming, loading or focusing. Continue with cursor alone. Use tabId directly; claim an unclaimed backendId before operating.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | integer | |
query | string | |
scope | string |
claim_tab
Acquire an existing user tab. Exactly one selector: backendId, active:true, or unique URL/title. Does not create a tab.
| Parameter | Type | Description |
|---|---|---|
active | boolean | |
backendId | integer | |
expectedTitle | string | |
expectedUrl | string | |
title | string | |
url | string |
open_tab
Explicitly create a new tab. Prefer navigate_tab to reuse an existing tab.
| Parameter | Type | Description |
|---|---|---|
url | string |
close_tab
Close exactly one session-owned tab. For a user tab, claim it first. Closing is different from releasing control.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Session page handle returned by claim_tab, open_tab or tabs_list. Never a numeric backendId. |
tabs_close
Close explicit session tab handles; returns an outcome for each tab, including partial failure. Never targets the current tab implicitly.
| Parameter | Type | Description |
|---|---|---|
tabIds * | array |
release_tab
Leave the tab open and relinquish session control. Its handle becomes unusable until claimed again.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Session page handle returned by claim_tab, open_tab or tabs_list. Never a numeric backendId. |
tab_observe
Observe a session tab. Continue captured state using options.cursor. No implicit tab selection.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Session page handle returned by claim_tab, open_tab or tabs_list. Never a numeric backendId. |
options | object |
tab_act
Perform one action on an explicit session tab. Input delivery does not prove task completion; observe or verify the resulting page before deciding the next action.
doctor Doctor
Runtime status: browser connection, extension features and protocol warning (if versions differ), site/command counts, sessions. A protocol mismatch blocks browser commands until the host and extension are updated.
sites_search Find existing site adapters
Find reusable site commands before implementing the same task with browser actions or scripts. No query: list available sites with sample commands. With a task, site, or domain as query: find matching commands. Results include args[{name,type,required,help,default,choices}] for site_run. Do not invent parameters.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
query | string | task, site, or domain; omit to browse available sites |
site_run Run a site adapter
Execute an existing adapter using this session’s browser context. No enable or setup step is required. args must match the args list from sites_search. Invalid args return invalid_args with details.expected. Valid commands execute directly, including writes.
| Parameter | Type | Description |
|---|---|---|
command * | string | |
site * | string | |
args | object |
docs_get Read a doc
No name: compact REPL quickstart and available topics. Pass name for a topic; use member with api-reference for one class or method, e.g. Tab.act or Tab.network.
| Parameter | Type | Description |
|---|---|---|
member | string | |
name | string |
js Browser JavaScript REPL
Primary browser workspace. Persistent Node REPL: variables, functions, classes and top-level await; use let for reusable bindings. Pre-bound browser, sites, tools, recon. Discover and claim an existing tab first; use helper.navigate_tab({tabId, url}) to reuse it. Only open_tab or browser.tabs.new explicitly creates a tab. helper exposes the same typed commands as MCP, including close_tab. observe returns a compact action map, not HTML; follow nextCursor with tab.observe({cursor}) for remaining captured pages, or scope with {target:{selector:"#main"}}. tab.read() returns an object: use result.t…
| Parameter | Type | Description |
|---|---|---|
code * | string | |
maxChars | integer | result text budget; retain large data in a variable and return only relevant parts |
timeoutMs | integer |
js_reset Reset JavaScript session
Stop JavaScript, clear bindings and close explicit subscriptions; browser tabs stay open. pendingCalls reports already dispatched API operations that may still complete. Wait until doctor shows javascript.pendingCalls:0 before more js; inspect the page before retrying actions.