chromium-bridge
v0.5.3MCP bridge between Chromium browsers (Arc, Vivaldi, Brave) and Claude Code: browser automation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_status
Check whether the browser extension is connected to the bridge. Returns {connected: boolean}. Read-only, no side effects. Call it first in a session, or when other browser_* tools fail, to distinguish "extension not connected" from page-level errors.
browser_tabs_list
List all open browser tabs with their id, title, and URL. Read-only. Use it to pick a tabId for the other browser_* tools; prefer reusing an existing tab over creating a new one when the target page is already open.
browser_tab_create
Open a new browser tab and return its id and windowId. Mutating: adds a tab to the user's real browser and focuses it. Use when a fresh page is needed; to work with a page that is already open, find its id via browser_tabs_list instead.
| Parameter | Type | Description |
|---|---|---|
url | string | URL for the new tab (blank by default) |
browser_tab_close
Close a browser tab by id. Destructive: the tab and its unsaved page state are gone, with no undo. Close only tabs this session created, unless the user explicitly asked to close theirs.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_page_text
Get a tab's title, URL, and visible text (up to 80 kB) from the live DOM. Read-only and cheap — prefer it over a screenshot whenever layout does not matter. Content rendered to canvas or images is invisible to it; use a browser_computer screenshot for those.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_computer
Mouse, keyboard, and screenshots in a browser tab via the DevTools protocol; the tab does not need to be active (first use shows Chrome's "started debugging" info bar — that is expected). Actions: screenshot (viewport image in CSS pixels — its coordinates map 1:1 to click coordinates), zoom (magnified region [x0,y0,x1,y1]), left_click, right_click, double_click, triple_click, hover, left_click_drag (start_coordinate→coordinate), type (insert text at the current focus), key (space-separated combos, e.g. "cmd+a Backspace"), scroll (scroll_direction+scroll_amount), scroll_to (ref), wait (du…
| Parameter | Type | Description |
|---|---|---|
action * | string | what to do; see the tool description for each action's required parameters |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
coordinate | array | [x, y] in pixels |
duration | number | seconds for wait (max 10) |
modifiers | string | click modifiers: cmd, ctrl, alt, shift (joined with +) |
ref | string | element ref from browser_read_page/browser_find — alternative to coordinate |
region | array | [x0, y0, x1, y1] for zoom |
repeat | number | repeat count for key |
scroll_amount | number | wheel ticks, default 3 |
scroll_direction | string | for scroll; default down |
start_coordinate | array | drag start for left_click_drag |
text | string | text for type, or key combos for key |
browser_read_page
Accessibility tree of the page with a ref id per element; use refs with browser_computer (clicks, scroll_to) and browser_form_input. filter=interactive returns only clickable/editable elements — a compact map of the page. Read-only. Refs go stale after navigation or heavy DOM changes; call again to refresh.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
filter | string | interactive — only clickable/editable elements; default all |
browser_find
Find elements by visible text, accessible name, or role, and return their refs for use with browser_computer and browser_form_input. Read-only. Cheaper than reading the whole accessibility tree when you know what you are looking for. An empty result means nothing matched — not an error.
| Parameter | Type | Description |
|---|---|---|
query * | string | visible text, accessible name, or ARIA role to search for |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_form_input
Set a form control's value directly in the DOM: input/textarea/contenteditable (text), select (option value or label), checkbox/radio ("true"/"false"). Fires input/change events so frameworks pick the value up. Mutating. Target by CSS selector or ref. Reliable for plain form fields; rich editors (CodeMirror and the like) and custom comboboxes often ignore it — for those, click the field with browser_computer and type.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
value * | string | new value; for checkbox/radio pass "true" or "false" |
ref | string | ref from browser_read_page/browser_find |
selector | string | CSS selector |
browser_click
Click an element via DOM .click() by CSS selector. Mutating. Works without the debugger — including on pages where CDP attach fails — but only fires the click handler, with no hover/focus/mousedown chain. If the page ignores it (custom dropdowns, canvas UI), use browser_computer left_click for a real mouse event.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of the element to click (first match) |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_upload_file
Put local files into an <input type="file"> selected by CSS selector, as if the user picked them in the file dialog (fires change). Mutating. files are absolute paths on the user's machine; the input must already exist in the DOM.
| Parameter | Type | Description |
|---|---|---|
files * | array | absolute file paths on the user's machine |
selector * | string | CSS selector of the <input type="file"> |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_javascript
Run arbitrary JavaScript in the page context and return the resolved value (await is supported; runs with the page's own permissions). Can read and mutate anything on the page — treat as mutating unless the code is clearly read-only. Never call alert/confirm/prompt: modal dialogs freeze all automation. Requires the CDP debugger.
| Parameter | Type | Description |
|---|---|---|
code * | string | JavaScript source; may use await — the value of the last expression is returned |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
browser_console_messages
Read a tab's console output (log/warn/error), newest 200 entries. Read-only unless clear=true, which empties the buffer after reading. Messages are captured only from the first time a CDP tool touches the tab — nothing is recorded retroactively; reload the page after attaching to capture its startup logs. Use pattern (regex) to cut noise.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
clear | boolean | clear the buffer after reading |
pattern | string | regex filter over the message text |
browser_network_requests
List a tab's network requests (method, URL, status), newest 200. Read-only unless clear=true, which empties the buffer. Captured only from the first CDP touch of the tab — reload the page after attaching to see its full traffic. urlPattern (regex) filters by URL.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
clear | boolean | empty the buffer after reading |
urlPattern | string | regex filter over the URL |
browser_resize_window
Resize the browser window that contains the tab to width×height CSS pixels. Mutating and user-visible: it resizes the user's real window. Use for reproducing responsive layouts or framing a recording, and consider restoring the original size afterwards.
| Parameter | Type | Description |
|---|---|---|
height * | number | window height, CSS px |
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
width * | number | window width, CSS px |
browser_gif_start
Start recording the tab into an animated GIF: a frame every intervalMs (default 800 ms); on long recordings the frame rate halves automatically so the whole scenario fits in ~80 frames. One recording per tab at a time; starting twice is an error. Nothing is saved until browser_gif_stop.
| Parameter | Type | Description |
|---|---|---|
tabId * | number | tab id from browser_tabs_list or browser_tab_create |
intervalMs | number | frame interval in ms, default 800 |
browser_gif_stop
Stop the recording started by browser_gif_start and write the animated GIF to an absolute path on the user's machine. Mutating: creates or overwrites that file. Errors if no recording is active or no frames were captured.
| Parameter | Type | Description |
|---|---|---|
path * | string | absolute path for the output .gif; overwritten if it exists |
tabId * | number | tab id the recording was started on |