Listed from the MCP registry; nobody on Odel publishes it.
Fail-closed browser for agents: navigate, extract, fill forms, human handoff, evidence. No Chromium.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx browserr-mcp
MCP client config
{
"mcpServers": {
"browserr": {
"command": "uvx",
"args": [
"browserr-mcp"
]
}
}
}A Servo-based browser engine built for AI agents. Headless by default, with an optional native interactive window for human handoff.
One Rust + Servo binary instead of embedding Chromium: it renders pages, blocks ads, and exposes a small loopback protocol built around three commitments: block when unsure, hand the page to a human when a human is needed, and leave evidence for everything it did.
Jump to: Quickstart · Why Browserr · Features · Install · Platforms · MCP tools · Protocol · Limits
Add it to any MCP-capable client (Claude Desktop, Kai, Cursor, ...) and you are done. The engine binary is downloaded and sha256-verified on first run:
{
"mcpServers": {
"browserr": { "command": "uvx", "args": ["browserr-mcp"] }
}
}
45 tools: navigate, token-cheap reads, structured inventories with stable element refs, type-aware form filling, fail-closed interception, evidence capture, and human handoff. Python SDK and manual install: Install.
An agent driving it end to end - navigate, read structure, click a stable ref, save evidence:
https://github.com/user-attachments/assets/fdc5c347-2cf3-4fb7-b458-501d8e24506d
Most agent browsers embed Chromium and speak CDP behind the scenes. Browserr is a purpose-built engine for the job instead, with the product decisions that follow from owning the whole stack:
detect_handoff()
spots CAPTCHAs, one-time codes and payment fields. pause() hands the
page to a person while the agent keeps watching; wait_for_user returns
the moment control can come back. Annotated screenshots number every
element, so a human and an agent can point at the same e7.--gpu opts into hardware GL with automatic CPU fallbackrequestIdleCallback and crypto.subtle digests
(SHA-1/256/384/512) via built-in shims where servo omits themuse_session mode
fetches inside the active tab with its cookies (logged-in portals)read_page(): token-cheap prose extractionread_structure(): every interactive element with its rect, selector and
a stable ref (e7); fields carry label, constraints, state and validity;
shadow DOM included. Refs are scoped to each read_structure() snapshot;
after navigation or a refresh, read again. MCP reports stale refs as errorsclick_element, set_value (React/Vue-safe),
wait_for_selectorclick_ref, set_field, fill_form - stable refs,
no selector fragility; a whole form in one round trip, with type-aware
writes that fire input/change/blur once so page validators runsubmit_form runs the page's own validation, then
read_outcome reports the url, alert texts and invalid fieldsfetch/XHR recorded in a ring buffer, in every framedetect_handoff(): spots CAPTCHAs, one-time codes, empty passwords,
payment fields and consent wallspause() / resume(): mutating actions fail loudly while a human has
control; reads keep working. MCP browser_wait_for_user completes only
on navigation or an observed handoff clearing, never on a clean first scanbrowser_start({headed: true}) shows the native
window; mouse and keyboard input still work while MCP actions are pausedping health check; fast failure when the engine dies--driver-port,
optional token authenticationThe browserr-mcp package on PyPI installs the MCP server with a single
config entry. The engine binary is downloaded from the official GitHub
release and sha256-verified on first run (~46 MB, once); later starts
are instant and offline: the resolved release tag is cached for 24 h and
an installed engine never depends on a live GitHub API call.
Same config entry as Quickstart; pip install browserr-mcp
plus the browserr-mcp command works the same way as
uv. Pin a release with BROWSERR_VERSION,
override the install dir with BROWSERR_HOME.
Download the archive for your platform from releases and unpack it anywhere (no admin rights, no installer). You get:
| File | What it is |
|---|---|
engine(.exe) | the headless browser engine |
libEGL.dll, libGLESv2.dll | ANGLE GL for WebGL (Windows archives); must stay next to engine.exe |
driver.py | Python SDK (stdlib only) |
driver_js.py | page-side scripts the SDK evaluates (pure data) |
annotate.py | screenshot annotation helpers (PNG, boxes, numbers) |
browserr_mcp.py | MCP server (stdlib only) |
mcp_wrap.cmd | Windows MCP launcher (cmd wrapper) |
browserr-term, browserr-term.cmd | terminal browser launchers |
browserr_term.py | terminal browser UI (stdlib; numpy improves the fallback) |
update.sh / update.ps1 / update.cmd | in-place updater (see below) |
README.md, LICENSE | docs |
Requirements: Python 3.10+ on PATH. driver.py finds the engine binary
next to itself; override with BROWSERR_ENGINE=/path/to/engine.
Important
Linux runtime packages. The engine creates its GL context through EGL even for CPU (llvmpipe) rendering - EGL is the context-creation API, not the GPU. On a server or VPS without a GPU install:
sudo apt install libegl1 libgl1 libgbm1 libgl1-mesa-dri
libegl1 and libgbm1 create the headless context, libgl1-mesa-dri
ships llvmpipe. X11/xvfb is only needed for --headed.
Re-download the archive, or run the updater shipped inside it. It queries
the GitHub API, verifies the download against the release's sha256 digest
and refuses to install if the digest is missing or wrong (pass
-AllowNoDigest / set ALLOW_NO_DIGEST=1 to override), backs up the
current files, copies the new payload over this directory, and verifies
the new binary before cleaning up. Stop a running engine first (a running
executable cannot be replaced on Windows).
./update.sh # macOS / Linux: latest release
./update.sh v0.7.0 # pin a version
update.cmd # Windows (double-clickable)
powershell -File update.ps1 -WhatIf # report without touching anything
Browserr runs headless on Android inside Termux:
the engine is an android-arm64 binary (API 29+ / Android 10+, 64-bit
userland), and the MCP server and Python SDK run unmodified under
Termux's Python 3. No APK, no root, no emulator needed - the same
browserr-mcp package auto-detects Termux and downloads the android
engine asset on first run.
pkg install python # Python 3.12 from the Termux repo
pip install browserr-mcp # server + SDK + engine bootstrap
browserr-mcp # first run downloads the android engine
Or drive it as a library, same as on a desktop:
import sys; sys.path.insert(0, "...")
from driver import Driver
d = Driver(ephemeral=True)
d.navigate("https://example.com/")
print(d.read_page()[:200])
Headless only: no headed mode and no audio on Android. 32-bit ARM and x86 devices are not supported (no assets). Screenshot, eval, forms, network inspection - the full headless toolset works.
To test-drive a build from an emulator or a rooted device, push the
engine and drive it from the PC over adb forward:
adb push engine /data/local/tmp/engine
adb shell chmod +x /data/local/tmp/engine
adb shell /data/local/tmp/engine --ephemeral --driver-port=7412
adb forward tcp:7412 tcp:7412
# from the PC, with the repo's tools/ on sys.path:
from driver import Driver
d = Driver.attach(7412)
d.navigate("https://example.com/")
print(d.read_page()[:200])
Browserr Term renders real pages inside a terminal pane at native resolution, using Sixel or the Kitty graphics protocol with dirty-rectangle patches computed in the engine. It needs no installer step:
./browserr-term https://browserr.dev/ # macOS / Linux
browserr-term.cmd https://browserr.dev/ # Windows
Use a terminal with image support for native resolution (Windows Terminal
1.22+, iTerm2, wezterm, kitty, ghostty, mlterm; tmux works with
allow-passthrough on). In terminals without image protocols the same
command falls back to a low-resolution cell renderer.
Keys: ctrl+l URL bar, ctrl+t new tab, ctrl+]/[ switch tabs,
ctrl+r reload, ctrl+q quit. Mouse clicks and wheel go to the page.
Inside tmux pass --cell W:H to match your font size (tmux cannot relay
the terminal's pixel-cell query). Details: term/README.md in the repo.
| Platform | Asset | Headless | Native window | Notes |
|---|---|---|---|---|
| Windows x64 | .zip | yes | yes | ANGLE DLLs ship in the archive |
| Linux x64 | .tar.gz | yes | yes | needs libegl1 libgl1 libgbm1 libgl1-mesa-dri |
| Linux ARM64 | .tar.gz | yes | yes | Raspberry Pi 4/5 |
| macOS ARM64 | .tar.gz | yes | yes | macOS 13+ |
| Android ARM64 | .tar.gz | yes | no | Termux, Android 10+ (API 29), 64-bit userland |
Python 3.10+ is needed everywhere for the SDK and MCP server; the engine binary itself is standalone.
Same one-command config as Quickstart. If you prefer an unpacked archive instead, point the client at the bundled launcher. On Windows, use the wrapper:
{
"mcpServers": {
"browserr": {
"command": "C:/path/to/browserr/mcp_wrap.cmd",
"cwd": "C:/path/to/browserr"
}
}
}
To share one engine across sessions, start it yourself with a driver port and attach instead:
engine --ephemeral --driver-port=7412 --driver-token=secret
{ "mcpServers": { "browserr": {
"command": "python",
"args": ["C:/path/to/browserr/browserr_mcp.py", "--port", "7412", "--token", "secret"]
} } }
import sys; sys.path.insert(0, "tools")
from driver import Driver, save_png
d = Driver(ephemeral=True) # spawns the engine, throwaway profile
try:
d.navigate("https://example.com"); d.wait_load(); d.wait_ready()
print(d.eval_js("document.title")) # results returned as JSON
title, text = d.read_page() # token-cheap prose
structure = d.read_structure() # headings/buttons/inputs/...
d.set_value("#q", "search terms") # React/Vue-safe
d.click_element("#go") # scrolls into view, real pointer
w, h, bgra = d.screenshot(); save_png("shot.png", w, h, bgra)
print(d.ping()) # {'tabs': 1, 'active': 0}
finally:
d.close() # socket close = engine exit
python tools\browserr_mcp.py # headless, ephemeral profile, MCP on stdio
python tools\browserr_mcp.py --port 7412 # attach to an engine started with --driver-port
cargo build --release --manifest-path engine\Cargo.toml
Package a distributable (builds into dist\ and zips it):
powershell -File scripts\package.ps1
engine/ Servo webviews (one per tab), CPU-default rendering (--gpu for
hardware GL), request interception (adblock), automation
protocol, driver port.
main.rs render loop, tabs, command dispatch
hub.rs attached-driver hub, ping/stop fast paths
net.rs minimal HTTPS client, favicons
adblock.rs EasyList delegate, filter-list loading
tools/ driver.py (Python SDK) plus driver_js.py (page scripts) and
annotate.py (screenshot marking); browserr_mcp.py (MCP server).
scripts/ dist/package/ci for Windows (ps1) and Linux (sh).
Commands are newline-delimited JSON, tab-addressed, over a loopback socket (127.0.0.1:7411) that accepts a single client - the automation host:
{"cmd":"navigate","url":"...","tab":N}
{"cmd":"back"|"forward","tab":N}
{"cmd":"new_tab"|"activate"|"close_tab","tab":N}
{"cmd":"resize","w":N,"h":N}
{"cmd":"input"|"wheel"|"key","tab":N,...} page input forwarding
{"cmd":"eval","tab":N,"js":"..."} run JS, discard the result
{"cmd":"eval","tab":N,"js":"...","id":X} run JS, report via evalresult
{"cmd":"screenshot","tab":N} paint, answer with a SHT1 frame
{"cmd":"zoom","tab":N,"zoom":F} page zoom
{"cmd":"ping","id":X} health check
{"cmd":"download","url":"...","path":"...","id":X} fetch straight to disk
{"cmd":"intercept","on":B} arm/disarm fail-closed interception
{"cmd":"request","id":X,"action":"allow"|"deny"|"respond",...} decide held req
{"cmd":"auth","id":X,"user":"...","pass":"..."} answer an auth challenge
{"cmd":"files","id":X,"paths":[...]} answer a file picker
{"cmd":"frames","id":X} frame tree (evalresult answer)
Responses use a 20-byte header (magic u32, id u64, two u32 fields):
FRM1 + id + w + h -> w*h*4 BGRA pixels (active tab, deduped, 30 fps cap)
EVT1 + id + len + 0 -> JSON events
SHT1 + id + w + h -> w*h*4 BGRA pixels (screenshot answer, automation only)
Events: url, title, history, cursor, favicon, pwcapture,
evalresult, pong, console (page messages; Servo also routes network
and TLS load errors there), download (ok/bytes/error), request (held
interception decision), auth (challenge), filepicker (picker opened).
Only the active tab is painted; switching tabs re-sends that tab's
url/title/history/cursor.
engine.exe --driver-port=N [--driver-token=T] opens a second loopback
listener (after the main client connects) that accepts driver clients:
--driver-token=T, the first line a driver sends must be
{"cmd":"auth","token":"T"}; unauthenticated sockets receive no events
and are droppedDriver.attach(port, token=...) handles the handshakeTiming rules worth knowing:
wait_ready() before interacting, and leave a short beat
between a focus click and type_text().tools/browserr_mcp.py is a Model Context Protocol server (standard
library only, newline JSON-RPC on stdio) exposing 45 tools. Every tool
accepts a named engine session, so several browsers can run side by side
(the default session keeps single-engine behavior).
| Group | Tools |
|---|---|
| session | browser_start (profile, proxy, user_agent, headed), browser_stop, browser_ping |
| page | browser_navigate, browser_read, browser_read_structure, browser_links, browser_forms, browser_frames |
| interaction | browser_click, browser_click_text, browser_click_element, browser_click_ref, browser_fill, browser_set_value, browser_set_field, browser_fill_form, browser_key, browser_wait_for |
| forms | browser_submit_form, browser_read_outcome |
| viewport | browser_scroll, browser_resize, browser_history (back / forward), browser_tabs |
| capture | browser_screenshot, browser_screenshot_annotated, browser_evidence, browser_console, browser_download (opt-in use_session) |
| network | browser_intercept, browser_pending_requests, browser_intercept_answer, browser_net, browser_document_status |
| trust | browser_pause, browser_resume, browser_detect_handoff, browser_wait_for_user, browser_set_credentials, browser_action_log |
| events | browser_wait_auth, browser_auth_answer, browser_wait_filepicker, browser_files_answer |
It runs headless with an ephemeral profile by default; --port N
attaches to a running engine's driver port. browser_start(profile=...)
uses a persistent profile (logins survive sessions) with a per-profile
evidence dir and action log; evidence shots, auto-auth and the submit
confirm gate are on by default for MCP-started engines. Set
auto_auth: false to use the manual auth tools. Navigation returns an
auth_required challenge instead of waiting for a blocked page.
A good match for driving it: Kai, an agentic developer terminal from the same author as Browserr. Kai speaks MCP natively, so all 45 tools show up first-class next to its editor and terminal - Browserr is the browser half of that stack.
All http/https traffic can route through an upstream proxy (hyper CONNECT tunnel; TLS stays end-to-end, no MITM). Basic auth rides in the URL:
engine: --proxy=http://user:pass@host:port [--proxy-https=...]
[--no-proxy=host1,host2]
SDK: Driver(engine_args=["--proxy=..."])
MCP: browser_start(proxy="http://user:pass@host:port",
proxy_https=..., no_proxy=...)
--proxy covers both http and https; --proxy-https overrides https
only. Credentials are never logged. Per-attempt rotation: spawn one
ephemeral engine per walk, each with its own proxy. Known gaps: WebSocket
connections bypass the proxy, and DNS resolves locally (CONNECT tunnels
are exempt: the proxy resolves the hostname).
Servo never surfaces the main document's HTTP status, so a block that
serves a fake 404 is indistinguishable from a real 404 by page content
alone. browser_document_status re-fetches the document URL (same-origin
HEAD, same cookies/session) and reports the status: 200 means the page
served normally, 404 means the URL is either genuinely dead or blocked
( correlate with proxy rotation to separate the two), null means a
network-level failure. The probe also lands in the browser_net ring as
a document-probe entry.
For human handoff, start with {headed: true}. That is a real browser
window, not a screenshot viewer: the user can click and type directly,
including inside cross-origin CAPTCHA frames when the provider supports
Servo. browser_pause blocks MCP mutations, not native window input.
Call browser_wait_for_user, then browser_resume. The user can press
Enter in the native window to explicitly finish a generic or cross-origin
challenge; this confirms completion without needing heuristic detection.
The engine-level pause blocks all automation clients but not native input.
Headless mode cannot provide this direct interaction.
browser_start and browser_evidence return absolute evidence_dir and
action_log_path values. The action log is actions.jsonl in that
evidence directory, under tools/mcp-evidence/<profile-or-session> in a
source checkout. browser_action_log reads it back: what the engine did
and when, newest last, credentials never included.
All engine data lives under a profile directory as plain files:
settings.json homepage, user_agent, adblock, search, default_zoom
history.jsonl one entry per navigation (timestamp, url)
bookmarks.json url/title pairs
engine\ Servo storage (cookies, HSTS, localStorage), per profile
easylist.txt adblock filter list
--profile-dir=PATH selects a profile; --ephemeral uses a throwaway
directory deleted on engine exit.
default-features = false, dropping devtools,
clipboard and multiprocess.--driver-token when that matters.tests/test_*.py exercise the engine as a raw protocol client or as an MCP
client. The full list:
test_driver.py SDK: eval results, click, typing, screenshot pixels
test_agent.py ping, ephemeral profiles, extraction helpers
test_elements.py click_element / set_value / wait_for_selector
test_structure.py read_structure selectors round-trip through set_value
test_features.py console capture, downloads, load-error surfacing
test_watchdog.py driver fails fast when the engine dies
test_scroll.py scroll position survives tab switches
test_bind.py port handover between dying and booting engines
test_attach.py computer use: attach through the driver port
test_hardening.py driver-token gate, oversized-line rejection
test_mcp.py full MCP session over stdio
test_intercept.py fail-closed interception: allow / deny / respond
test_auth.py auth challenges, credential answers, fail-closed case
test_filepicker.py file picker events answered with local paths
test_net.py fetch/XHR evidence ring in every frame
test_frames.py frame tree listing and same-origin walking
test_form.py form model: labels, constraints, validity, refs
test_flow.py fill_form / submit / read_outcome end to end
test_annotate.py annotated screenshots (box + glyph pixels exact)
test_handoff.py pause/resume, detect_handoff, reads while paused
test_trust.py evidence dir, action log, auto-auth, confirm gate
test_software_render.py CPU-default and --gpu rendering log markers
test_compat.py SPA/JS APIs, WebGL via ANGLE, digest vectors, gzip
test_captcha.py challenge-page signatures (online; not in suite)
test_headed.py Windows-only: real HWND, OS mouse/keyboard handoff
test_mcp_logic.py handoff transition and answered-event regressions
test_input.py raw-socket input forwarding
test_cursor_zoom.py cursor events + zoom via devicePixelRatio
test_close.py tab close must not kill the engine
test_csp.py strict-CSP pages: eval fallback, typed errors
test_bootstrap.py engine asset names match the release globs
test_improvements.py scroll/resize/history, session downloads, nav race
test_release.py version consistency, updater manifest, re-exec guard
test_navigate_quirk.py navigate fail-last: redirects, slow commits, error pages
test_proxy.py upstream CONNECT proxy, basic auth, no-proxy list
test_sessions.py named engine sessions, per-session profiles
test_useragent.py UA profiles and the custom-string passthrough
test_useragent_mcp.py UA profile resolution through browser_start
test_tab_flow.py tab open/switch/close through the driver
test_term.py terminal client render path (Sixel/Kitty + fallback)
test_native_frame.py native compressed frame patches (FRM2)
test_frame_pixels.py frame pixel correctness against the page
test_native_interaction.py native pointer/keyboard forwarding
test_login_flow.py login form flow with password capture
test_https.py engine TLS client against the real EasyList endpoint
test_thin.py release build smoke test
Run the suite (fmt + clippy gate, build, tests):
powershell -File scripts\ci.ps1