Skip to main content
Glama
1password-browser-mcp

1password-browser-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BROWSER_MCP_ARGSNoExtra browser flags.
BROWSER_MCP_MODENoBrowser launch mode: mirror, direct, or attach.mirror
BROWSER_MCP_PORTNoDevTools port.9333
BROWSER_MCP_BROWSERNoWhich 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_URLNoCDP endpoint to attach to. Defaults to http://127.0.0.1:<port>.http://127.0.0.1:<port>
BROWSER_MCP_OP_PATHNo1Password CLI binary path.op
BROWSER_MCP_PROFILENoProfile folder name, for example Default or Profile 1.Default
BROWSER_MCP_HEADLESSNoUse --headless=new. 1Password UI needs a window, so keep this off for logins.false
BROWSER_MCP_LOG_FILENoServer log file. Browser stderr goes to browser-mcp.browser.log.~/.browser-mcp/browser-mcp.log
BROWSER_MCP_TAB_GROUPNoWhether to keep driven tabs in one tab group.true
BROWSER_MCP_EXECUTABLENoPath to the browser binary. Defaults to the detected browser executable.detected
BROWSER_MCP_MIRROR_DIRNoDirectory where mirrored profiles live.~/.browser-mcp/profiles
BROWSER_MCP_OP_ACCOUNTNo1Password account to pin. By default, every account known to `op account list` is searched, and each may prompt once.
BROWSER_MCP_1P_SHORTCUTNo1Password popup shortcut used by strategy=shortcut.cmd+shift+x
BROWSER_MCP_MIRROR_SYNCNoWhen to sync the mirrored profile: always (every launch), once, or never.always
BROWSER_MCP_DISABLE_SYNCNoPass --disable-sync to the mirrored instance.true
BROWSER_MCP_USER_DATA_DIRNoSource profile root. Defaults to the browser's default user data directory.browser default
BROWSER_MCP_MIRROR_HISTORYNoWhether to copy History too.true
BROWSER_MCP_1P_EXTENSION_IDNo1Password extension id.aeblfdkhhhdcdjpifhhbdiojplfjncoa
BROWSER_MCP_TAB_GROUP_COLORNoColour for the tab group: grey, blue, red, yellow, green, pink, purple, cyan, or orange.purple
BROWSER_MCP_TAB_GROUP_TITLENoLabel for the tab group.Claude
BROWSER_MCP_ACTION_TIMEOUT_MSNoPlaywright action timeout in milliseconds.15000
BROWSER_MCP_SNAPSHOT_MAX_CHARSNoSnapshot truncation limit in characters.20000
BROWSER_MCP_SNAPSHOT_AFTER_ACTIONSNoReturn a snapshot after click, type, and similar actions by default.false
BROWSER_MCP_MIRROR_INDEXEDDB_MAX_MBNoSkip 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 27 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues