1password-browser-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BROWSER_MCP_ARGS | No | Extra browser flags. | |
| BROWSER_MCP_MODE | No | Browser launch mode: mirror, direct, or attach. | mirror |
| BROWSER_MCP_PORT | No | DevTools port. | 9333 |
| BROWSER_MCP_BROWSER | No | Which browser to use: brave, chrome, chromium, or edge. auto prefers an installed browser with a profile that is not currently running. | auto |
| BROWSER_MCP_CDP_URL | No | CDP endpoint to attach to. Defaults to http://127.0.0.1:<port>. | http://127.0.0.1:<port> |
| BROWSER_MCP_OP_PATH | No | 1Password CLI binary path. | op |
| BROWSER_MCP_PROFILE | No | Profile folder name, for example Default or Profile 1. | Default |
| BROWSER_MCP_HEADLESS | No | Use --headless=new. 1Password UI needs a window, so keep this off for logins. | false |
| BROWSER_MCP_LOG_FILE | No | Server log file. Browser stderr goes to browser-mcp.browser.log. | ~/.browser-mcp/browser-mcp.log |
| BROWSER_MCP_TAB_GROUP | No | Whether to keep driven tabs in one tab group. | true |
| BROWSER_MCP_EXECUTABLE | No | Path to the browser binary. Defaults to the detected browser executable. | detected |
| BROWSER_MCP_MIRROR_DIR | No | Directory where mirrored profiles live. | ~/.browser-mcp/profiles |
| BROWSER_MCP_OP_ACCOUNT | No | 1Password account to pin. By default, every account known to `op account list` is searched, and each may prompt once. | |
| BROWSER_MCP_1P_SHORTCUT | No | 1Password popup shortcut used by strategy=shortcut. | cmd+shift+x |
| BROWSER_MCP_MIRROR_SYNC | No | When to sync the mirrored profile: always (every launch), once, or never. | always |
| BROWSER_MCP_DISABLE_SYNC | No | Pass --disable-sync to the mirrored instance. | true |
| BROWSER_MCP_USER_DATA_DIR | No | Source profile root. Defaults to the browser's default user data directory. | browser default |
| BROWSER_MCP_MIRROR_HISTORY | No | Whether to copy History too. | true |
| BROWSER_MCP_1P_EXTENSION_ID | No | 1Password extension id. | aeblfdkhhhdcdjpifhhbdiojplfjncoa |
| BROWSER_MCP_TAB_GROUP_COLOR | No | Colour for the tab group: grey, blue, red, yellow, green, pink, purple, cyan, or orange. | purple |
| BROWSER_MCP_TAB_GROUP_TITLE | No | Label for the tab group. | Claude |
| BROWSER_MCP_ACTION_TIMEOUT_MS | No | Playwright action timeout in milliseconds. | 15000 |
| BROWSER_MCP_SNAPSHOT_MAX_CHARS | No | Snapshot truncation limit in characters. | 20000 |
| BROWSER_MCP_SNAPSHOT_AFTER_ACTIONS | No | Return a snapshot after click, type, and similar actions by default. | false |
| BROWSER_MCP_MIRROR_INDEXEDDB_MAX_MB | No | Skip IndexedDB origins larger than this size in MB. Extensions are always copied. | 100 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Drives the user's own Chrome/Brave profile (cookies, sessions, extensions) through the DevTools protocol. Workflow: browser_navigate or browser_snapshot to get element refs like e12, then browser_click / browser_type / browser_fill_form with ref. Logins: on a sign-in page call onepassword_fill (extension autofill, CLI fallback); for 2FA codes call onepassword_otp. Secrets never come back to you. Prefer browser_snapshot / browser_get_text over screenshots for reading pages.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browser_statusA | Report which browser/profile this server drives, whether it is connected, open tabs, and 1Password availability. Connects (launching the browser if needed) when connect=true. |
| browser_navigateC | Navigate the active tab to a URL and return a snapshot. |
| browser_historyB | Go back, go forward, or reload the active tab. |
| browser_tabsB | List, open, select, or close tabs. Indexes refer to the list returned by action=list. |
| browser_snapshotA | Return the accessibility tree of the active tab with element refs (e.g. [ref=e12]) usable by browser_click, browser_type, etc. Preferred over screenshots for reading or locating content. |
| browser_findA | Search the accessibility snapshot for lines containing a text (case-insensitive) and return them with refs. |
| browser_screenshotA | Take a screenshot of the active tab (or of one element) and return it as an image. |
| browser_clickC | Click an element identified by ref or selector. |
| browser_typeA | Type into an input/textarea/contenteditable. Replaces the current value unless append=true. Optionally presses Enter afterwards. |
| browser_fill_formA | Fill several fields at once. Each field takes a ref or selector plus a value; checkboxes take "true"/"false", selects take the option value or label. |
| browser_press_keyB | Press a key or chord (e.g. "Enter", "Tab", "Escape", "Control+a", "ArrowDown") on the focused element or on a target. |
| browser_hoverC | Hover over an element. |
| browser_select_optionC | Select option(s) in a by value or label. |
| browser_scrollA | Scroll the page (or scroll an element into view when ref/selector is given). |
| browser_wait_forB | Wait for text to appear/disappear, a selector, a URL pattern, network idle, or a fixed time. |
| browser_evaluateA | Run JavaScript in the page. Provide an expression or a function body; with ref/selector the function receives the element as its argument. Returns the JSON-serialised result. |
| browser_get_textC | Return the visible text of the page or of an element. |
| browser_consoleC | Return recent console messages and page errors from the active tab. |
| browser_networkC | Return recent network requests from the active tab (method, status, URL). |
| browser_dialogB | Accept or dismiss a pending alert/confirm/prompt dialog on the active tab. |
| browser_upload_fileA | Set files on a file input (or click a button that opens a file chooser and feed it the files). |
| browser_resizeC | Resize the active tab viewport. |
| browser_closeA | Detach from the browser (it keeps running, sessions stay alive) or quit it with kill=true. |
| onepassword_fillA | Fill the login form on the active tab from 1Password. Strategies: cli (1Password CLI reads the item, the server types the values; fully programmatic), inline (extension inline menu on the focused field), popup (extension popup page: search item, Open & Fill), shortcut (macOS keystrokes, needs Accessibility). auto = cli, inline, popup. Credential values are never returned. For multi-step forms (username first) call it again on the next step. |
| onepassword_otpB | Fill a TOTP / one-time code field from the matching 1Password item (CLI first, then extension inline menu). The code is never returned to the caller. |
| onepassword_itemsA | List 1Password Login, Password and Crypto Wallet items matching the active tab's site (or a given host/query) via the 1Password CLI: title, username, vault, id. No secrets are returned. |
| onepassword_statusA | Check 1Password integration: extension present in the driven profile, CLI availability and sign-in state, autofill shortcut, Accessibility permission for the shortcut strategy. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 27 tools
Most tools target distinct browser actions, and the browser_ vs onepassword_ prefixes make the domain split clear. There is some overlap among reading tools (snapshot, find, get_text) and between type/fill_form, but descriptions generally guide selection.
All tools use consistent snake_case with predictable browser_ and onepassword_ prefixes followed by clear action/resource names. Multi-action tools like browser_tabs and browser_history are still readable and consistent.
At 27 tools the surface is heavy, though browser automation naturally requires many granular actions. A few operations could potentially be consolidated, but most tools earn their place, making this borderline rather than clearly excessive.
The server covers a broad browser automation lifecycle: navigation, inspection, interaction, dialogs, uploads, JS evaluation, console/network, and 1Password fill/OTP/items/status. Minor gaps like drag-and-drop, download handling, or credential save/update prevent a perfect completeness score.