Repository navigation
Releases
Releases · efeaslansoyler/zen-browser-mcp
0.3.0
Added
read_page,findand annotated screenshots give refs to clickable elements without a control
role, such as menu entries built from adiv.- Clicks report the element they hit, and say when it shows no sign of reacting to clicks.
- Screenshots have an ID.
computer,extensions,highlight,ask_userandhand_to_user
take it asscreenshotto say which image a coordinate comes from.
Changed
- Breaking: after two screenshots of a tab at different scales, a coordinate without
screenshotis refused instead of being read with the latest scale. Pass the ID of the image
the coordinate comes from. findalso matches visible text anywhere on the page and returns the innermost element that
holds all the words.
Fixed
- Coordinates in a
browser_batchrefer to the screenshot from before the batch, as documented,
and another session's screenshot in a shared tab no longer changes how yours are read. - A ref from before a navigation or a bridge reload, or from another tab, is refused instead of
resolving to another element. Refs look likeref_12c: a number for the document and letters
for the element. find,wait_fortext and select options match capital I: "WIFI" on a page now equals "wifi".
0.2.0
Added
- Install from npm:
npm install -g zen-browser-mcp, thenzen-browser-mcp install. MCP
clients run thezen-browser-mcpcommand, and an update reloads the bridge in the running
browser on the next client start. Releases after this one are published from GitHub
Actions with provenance.
Changed
- CLI,
doctorand error messages name thezen-browser-mcpcommand instead ofnpxor
node dist/cli.js. Source checkouts get the same command withnpm link. hooks installandcodex-hooks installrefuse to run from the npx cache, whose files can
disappear; they ask for a global install instead.- The agent skill tells agents to read the page before retrying a call that timed out or was
cut off by a bridge stop. Runzen-browser-mcp skill installto update an installed skill. - The README and installation guide mark macOS as untested.
Security
- Agents could open browser-internal pages such as
about:configand run approved page
JavaScript there with the browser's own privileges. These pages are now closed to agents in
every mode, and page code refuses to run in them. - Agents could open and read local files with
file:URLs without a question in auto mode.
This is now the operationnavigate.local_file, which asks in both templates and is denied in
the autonomous modes unless a custom rule allows it. - Pick messages indent page HTML inside a fence the page can't close, and page-derived names
stay on one line, so page content can't pass for the user's note. - A custom deny for
tabs_close_mcpis enforced. - HAR export redacts values after percent-encoded sensitive path segments too.
- When the runtime folder is a shared temp directory, the bridge keeps its files in its private
per-user folder, and the MCP server refuses browser and OpenCode sockets owned by another user.
Codex and OpenCode receivers use private per-user folders there too, and the browser
subscription refuses a socket owned by another user. - In
browser_batch, approving one step no longer covers later steps the user wasn't asked
about, and an approved step is checked again if earlier steps changed which rule applies.
A bare path that turns into afile:URL asks asnavigate.local_file, and Enter after
form_inputis judged against the new focus. computerkey sequences that press Enter or Space after another key (Tab Return) and
left_click_dragon a submit button follow thesubmitrule.form_inputrefuses file inputs; uploads go throughfile_upload, which is denied in the
autonomous modes unless a custom rule allows it.- Copy and paste in an extension panel follow the
extensions.actrule, and panel prompts
name the extension, the target and the typed value.browser_settingsprompts list every
setting they apply, including user agent, pixel ratio and touch. - The activity log no longer keeps what agents typed:
typeandform_inputentries show
"…"instead of the value. - Network rules stop applying in a tab once its site is blocked.
- Recipe steps and the
recipesCLI flatten page-derived text, so it can't add step lines or
send terminal control sequences. Source-map paths and snippets in pick messages can't start
their own line or close their fence. installanduninstallrefuse an autoconfig name or a file path that leads outside the
browser folder, including through a symlink, and use sudo only when every folder on the
path belongs to root.
Fixed
installcan write a loader into a root-owned browser folder on macOS too (untested).- A browser that kept running old bridge files while another browser received an update is
reloaded with the new files when an MCP client connects to it.
0.1.0
The first release. Agents (Claude Code, Codex and other MCP clients) use your own Zen or
Firefox-based browser: your tabs and logins, real input, and an island that shows what they do.
Added
- Browser tools for tabs,
navigate,computer
(mouse, keyboard, screenshots),read_page,find,form_input,get_page_text,
wait_for,javascript_tool, console and network reads,file_upload,handle_dialog
andbrowser_batch. - Real input from the page's own process: trusted events and background tab input.
Optional human-like
pointer paths and typing, held keys and buttons, and hit testing that refuses clicks on
covered or disabled targets. - Iframes, cross-origin ones included, in reads, refs and input.
- The island: live status with a preview on hover, Stop/Resume
(Ctrl+Shift+Esc), page dialogs, andask_userquestions
with OK/Cancel or answer buttons, with or without a tab. highlight: frames with short labels around elements the agent points out to the user,
several at once and across iframes, without waiting.hand_to_user: steps only the user should do (logging in, 2FA, captchas, payments) are
handed over in the island and the agent continues when the user presses Done, so
credentials never pass through the agent.- Several agents at once: each MCP session (each Codex conversation) has its own tabs,
and agents in different tabs work at the same time. Agents can share a tab (request_tab
joins one, free in auto mode, asked in ask mode) and take turns in it call by call;
tab_worknotes tell the others what each is doing.request_tabalso asks the user for one
of their own tabs. - Element picks: pick one or more elements on any page (Ctrl+Shift+F
or the context menu; Shift- or Ctrl/Cmd-click adds elements, a hint bar lists the gestures),
write a note for the whole pick and for each element, and send them to any connected session
with selector, styles, a screenshot and the component chain. - Source locations in picks: on local dev servers a pick names the file and line that
rendered the element (React 19 and 18, Next.js app router with Turbopack or webpack, Svelte,
Astro) or its component file (Vue, Angular), through the page's own source maps, plus the
author CSS rules that style it. - Delivery to every client: picks and recipes are pushed when the client has a way in
(Claude Code channels,codex queue,t3 thread sendin T3 Code, a plugin in OpenCode).
Otherwise they wait and arrive once, with the session's next tool result or, with
hooks install, the user's next message (Claude Code, Codex, Antigravity CLI, OpenCode).
The target list says which applies to each session; what can't be delivered goes to the
clipboard. - Show me once: the user shows a task once (
show_me, or right-click → "Record steps for
an agent…") and it becomes a recipe: semantic steps with a screenshot each, reviewed on the
island (rename, delete steps, mark values that change, play back), saved locally and offered
to agents on the same site (tabs_context_mcp,recipes). Secret fields are never recorded. - Permissions: permission templates for every tool and action: ask (every action),
auto (only risky ones: submitting forms, secret fields, JavaScript, uploads, dialogs,
extension panels, the user's clipboard, tabs and browser settings) and custom (the
user's own allow/ask/deny rules in a commentedpermissions.jsonc,config permissions init). Sites are a blocklist or an allowlist. Approvals are scoped to the document,
origin, settings and tab access. - Tab context menu: give or share a tab with a session, take it back, agent settings and
the agent history of the tab. - Inspection: React component trees and
axe-coreaccessibility audits, run locally. - Per-tab emulation: viewport, device presets, DPR, touch and color scheme.
- Extensions: agents can open and use real extension toolbar panels.
- More page tools:
navigatereloads (optionally bypassing the cache),save_pdfprints an
agent tab to a local PDF,recordsaves a short WebM of a tab,cookiesandstorageread
and write site data in agent browser modes, andnetwork_controlblocks, mocks or takes
offline the requests of an agent-opened tab. - Open and read in one call:
tabs_create_mcpwith aurlandreadreturns the loaded
page's refs, so a new page costs one tool call. - Downloads and page watches that report to events files, so agents can keep working
instead of blocking. - Zen workspaces: agent tabs can open in a chosen workspace.
- Several browsers: every running browser has its own private socket; the server picks one
by client flag (--browser,--profile), environment,config browseror the most recently
focused, andbrowser.launchstarts the chosen browser on demand (asked in the ask template). - Browser modes:
together(the user's profile),agent(a persistent profile only agents
use),scratch(a temporary profile), and headlessautonomousandautonomous-agentfor
unattended work, where ask rules become allow, the system clipboard is denied and custom
denials and site rules still apply. - Clean tabs:
tabs_create_mcpwithclean: true(orconfig container) opens agent tabs in
a separate container without the user's cookies and logins. - Compact reads:
read_pageandget_page_textcan return diffs against an earlier
snapshot, and unchanged screenshots can skip the image. - Browser diagnostics: screenshot baselines across deploys, full-page capture, HTTP
request filters, verified opener notices, redacted cross-host HAR export, and local Web Vitals. - Browser compatibility: Gecko ESR SessionStore fallback, pending native download status
and clearer errors when browser dialogs block emulation or extension actions. - CLI:
install,uninstall,doctor,config(mode, permissions, sites, browser, browser
mode, launch),reset-agent-profile,skill,hooks,codex-hooksandrecipes; the
browser side updates itself when the package version changes. - Agent skill (
skills/zen-browser) for Claude Code and Codex: which tool to use when, from
choosing the user's open tab to handing over logins. Short server instructions point the same
way for every client. - English and Turkish UI, following the browser language.