Navigator MCP
Navigator MCP is a high-performance browser automation server for LLM agents that provides stealthy, token-efficient control of Chromium through 51 MCP tools.
Perceive: ref-based accessibility snapshots with change-caching, element search, text/HTML/links/forms/tables/meta extraction, console and dialog reading.
Act: click by ref or text, fill single or batch forms, select options, hover, press keys, drag, upload files, scroll, and wait for conditions.
Navigate: go to URLs, back/forward/reload, manage tabs, and get current URL/title.
Organize sessions: create isolated sessions with per-session proxy, fingerprint, locale/timezone/geolocation, HAR recording, and save/restore auth profiles across restarts.
See: take viewport/full-page/element screenshots (PNG/JPEG) and save pages as PDF.
Traffic intelligence: capture, filter, and inspect network requests, block/unblock URL patterns, discover hidden APIs, and handle browser dialogs.
Compute: run arbitrary JavaScript in the page with argument passing.
Captchas: detect captcha types/sitekeys, auto-solve via 2Captcha/CapSolver, or wait for manual human solving.
System: check server status and view purely local usage statistics.
Navigator MCP β the pathfinding browser MCP
High-performance browser automation for LLM agents. One Model Context Protocol server β the Navigator
π§ Token-efficient perception β ref-based accessibility snapshots with change-caching (an unchanged page costs ~40 tokens, not 4,000)
π₯· Advanced stealth β coherent fingerprint profiles, runtime patches (WebGL/canvas/navigator/chrome), human-like mouse paths & typing jitter
π§© Captcha handling β detection for 8+ providers, auto-solve via 2Captcha/CapSolver, manual handoff with a visible browser
π‘ Traffic intelligence β network capture/blocking, hidden API discovery, console & dialog observability
π Isolated sessions β per-session fingerprint/proxy/cookies, auth persistence across restarts, up to 64 parallel sessions
π Zero gating β no licenses, no tiers, no telemetry, no phone-home. Every capability is always unlocked; usage stats stay on your disk.
51 tools Β· stdio + Streamable HTTP Β· Python 3.10+ Β· Playwright ChromiumWhy Navigator outperforms the field
Capability | Playwright MCP | Browserbase | Stagehand | Navigator |
Ref-based AX snapshots | β | β | β | β |
Snapshot change-caching (unchanged page β 1-liner) | β | β | β | β |
Auto-snapshot after actions (no extra round-trip) | partial | β | β | β |
Shadow-DOM traversal | β | β | partial | β |
Batch form filling (one call, N fields) | β | β | β | β |
Advanced stealth (fingerprint + runtime + humanized input) | β | partial | β | β |
Captcha detect + auto-solve + manual handoff | β | β | β | β |
Network capture / blocking / API discovery | partial | partial | β | β |
Console & dialog capture (JS-error observability) | partial | β | β | β |
Isolated sessions with auth persistence | partial | β | partial | β |
Optional navigation lockdown (domain allowlist) | β | β | β | β |
"Pro" features behind a paywall | metered | β | partial | never |
Local-first, zero telemetry | β | β | β | β |
Numbers that matter for autonomous agents: on a typical multi-step task (login β navigate β extract), change-caching + auto-snapshots + batch fill cut token usage by ~50β70% and round-trips by ~40% vs a snapshot-per-step loop.
Related MCP server: SpectraBrowser MCP
Quickstart
Local (Claude Desktop / Cursor / VS Code / any MCP client)
pip install -e .
playwright install chromiumclaude_desktop_config.json (see examples/):
{
"mcpServers": {
"navigator": {
"command": "navigator-mcp",
"env": { "NAVIGATOR_STEALTH": "true" }
}
}
}That's it. The first browser_navigate lazily starts a stealthed Chromium.
Remote access (your own server, optional API keys)
NAVIGATOR_API_KEYS=sk-my-laptop,sk-my-desktop \
navigator-mcp --transport http --host 0.0.0.0 --port 8765Clients connect to http://your-host:8765/mcp with header
X-API-Key: sk-my-laptop. Unauthenticated requests get 401;
GET /health is open for monitoring.
Docker
docker compose up # HTTP on :8765
docker compose --profile vnc up # + headful VNC on :5901
docker run -i --rm --init navigator-mcp # stdio for local clientsThe tool surface (51 tools)
Perceive β browser_snapshot (ref tree, change-cached, deep=true for
frames) Β· browser_find (regex search, actionable-first) Β·
browser_extract_text/html/links/forms/tables/meta (paginated) Β·
browser_read_console Β· browser_read_dialogs
Act β browser_click Β· browser_click_text Β· browser_fill Β·
browser_fill_form (batch) Β· browser_select_option Β· browser_hover Β·
browser_press_key Β· browser_drag Β· browser_upload_file Β·
browser_scroll Β· browser_wait_for
Navigate β browser_navigate Β· browser_navigate_back/forward Β·
browser_reload Β· browser_get_url
Organize β browser_tab_list/new/select/close Β·
browser_session_list/new/close/save_auth (isolated contexts, persistent
auth profiles, per-session proxy/fingerprint/HAR recording)
See β browser_screenshot (native image content: viewport / full page /
element) Β· browser_save_pdf
Inspect traffic β browser_network_capture_start/stop/list/get Β·
browser_network_block/unblock Β· browser_discover_apis (find the JSON
endpoints behind any page) Β· browser_set_dialog_mode Β·
browser_dialog_respond
Compute β browser_evaluate (arbitrary JS, arg passing)
Captchas β browser_captcha_detect Β· browser_captcha_solve
(needs a provider key) Β· browser_captcha_manual_wait
System β navigator_status Β· usage_report (local stats)
The core loop in practice
You: Fill the login form on staging.acme.io and screenshot the dashboard.
Model: browser_navigate("https://staging.acme.io/login")
β snapshot included automatically:
- textbox "Email" [ref=e4]
- textbox "Password" [ref=e5]
- button "Sign in" [ref=e9]
browser_fill_form([{ref: "e4", value: "bot@acme.io"},
{ref: "e5", value: "β’β’β’β’"}])
browser_click(ref="e9")
β new snapshot included (page changed)
browser_screenshot(area="viewport")Three tool calls, zero redundant snapshots, refs stable across steps.
Stealth: what's actually patched
Per session (contexts never share fingerprints):
Layer | Mechanism |
Network | UA / |
Navigator |
|
|
|
WebGL |
|
Canvas / Audio | session-stable deterministic noise (fingerprint distinct per session, consistent within it) |
Input | BΓ©zier mouse paths with overshoot+correction, typing jitter with occasional typo-and-fix, burst scrolling |
Permissions |
|
Six bundled profiles (Win/Mac/Linux Γ Chrome/Safari) β or bring a patched
browser via NAVIGATOR_CDP_ENDPOINT=ws://β¦ and Navigator drives it (Camoufox,
rebrowser-patches, your own build).
For maximum anti-bot resilience run headful:
NAVIGATOR_HEADLESS=false(locally) or thevnccompose profile (container). Headless Chrome has residual fingerprints no JS patch fully erases.
Captcha flow
browser_captcha_detectβ type + evidence + sitekeysbrowser_captcha_solveβ reCAPTCHA v2 / hCaptcha / Turnstile token solved by your 2Captcha or CapSolver key and injected; image captchas solved from an element screenshot; auto re-checkManual fallback: headful browser +
browser_captcha_manual_waitwhile a human solves it over VNC
No licensing β everything unlocked
There is no license server, no key format, no tier table, no phone-home,
and nothing to configure. All 51 tools β stealth, captcha auto-solve,
unlimited sessions (resource-capped at 64 by default, raise via
NAVIGATOR_MAX_SESSIONS), the HTTP transport β are always available.
The only "metering" is a local stats file (~/.navigator/usage.json) that
powers the usage_report tool: per-tool counters, per-day breakdown,
and totals. No URLs, no page content, nothing leaves your machine.
Turn it off with NAVIGATOR_STATS=false if even that is unwanted.
When you expose the HTTP transport beyond localhost, set NAVIGATOR_API_KEYS
to require bearer keys β that's plain access control for your own endpoint,
not a billing feature.
Configuration reference
Everything is environment-driven (see .env.example for the full list):
Variable | Default | Purpose |
|
| headless mode (set false for captchas/anti-bot) |
|
| fingerprint + runtime patches |
|
| human-like input synthesis |
|
| include snapshots in action results |
|
| resource cap on parallel sessions |
| β | drive an external (patched) browser |
| β | default proxy for all sessions |
| β | optional navigation lockdown (allowlist) |
| β | HTTP auth keys (comma-separated) |
|
| local usage counters for usage_report |
| β | captcha provider keys |
Architecture
navigator_mcp/
βββ server.py FastMCP assembly Β· instructions Β· stats middleware
βββ __main__.py CLI: stdio / http
βββ config.py env-driven settings
βββ metering.py purely local usage counters
βββ runtime.py singleton wiring Β· navigation lockdown Β· session cap
βββ core/
β βββ browser.py sessions Β· tabs Β· per-page event wiring
β βββ scope.py optional domain-allowlist lockdown
βββ perception/
β βββ snapshot.py ref-based AX collector (shadow DOM, frames) + renderer
β βββ extraction.py text/html/links/forms/tables/meta
βββ stealth/
β βββ fingerprints.py coherent profile bundles
β βββ init_scripts.py per-session runtime patches (JS)
β βββ humanize.py BΓ©zier mouse Β· typing jitter Β· burst scroll
βββ captcha/
β βββ detector.py 8+ captcha families, sitekey discovery
β βββ providers.py 2Captcha + CapSolver async clients
βββ network/
βββ interceptor.py capture filters Β· API discovery
Development
pip install -e ".[dev]"
playwright install chromium # for browser-marked tests + the E2E script
./scripts/run_checks.sh # one command: lint + pytest + real-browser E2E + HTTP smoke
./scripts/run_checks.sh --fast # lint + pytest only (no browser, no server)pytest runs 28 tests (browser-marked ones auto-skip without a chromium
binary). The two E2E scripts can also be run individually:
python scripts/e2e_browser.py (9-check live browser loop) and
python scripts/http_smoke.py (boots the HTTP server, checks the API-key
gate and the MCP initialize handshake).
Roadmap
Firefox/WebKit session engines Β· cookie-jar import/export
Remote browser grid (connect a fleet via CDP endpoints)
Playwright-element-handle-compatible script recording
Headful farm orchestration on top of the VNC profile
Available Tools
51 toolsbrowser_captcha_detectBrowser Captcha DetectA
Detect captcha widgets on the current page (type, evidence, sitekeys).
Inputs: tab, session. Returns: result
browser_captcha_manual_waitBrowser Captcha Manual WaitA
Wait for a human to solve the captcha (requires a visible browser: NAVIGATOR_HEADLESS=false or VNC). Polls until the captcha disappears.
Inputs: tab, poll_s, session, timeout_s. Returns: result
browser_captcha_solveBrowser Captcha SolveA
Solve the captcha on the current page automatically.
Needs a provider API key (TWOCAPTCHA_API_KEY or CAPSOLVER_API_KEY). Supports reCAPTCHA v2, hCaptcha, Turnstile and plain image captchas (via ref pointing at the image element).
Inputs: ref, tab, session, provider. Returns: result
browser_clickBrowser ClickA
Click an element by its ref from the snapshot (e.g. e12).
Uses human-like mouse movement when the session has humanization enabled.
Inputs: ref (required), tab, button, double, +1 more. Returns: result
browser_click_textBrowser Click TextB
Fallback click by visible text (use when no ref is available).
Inputs: text (required), nth, tab, session. Returns: result
browser_dialog_respondBrowser Dialog RespondB
Respond to a pending manual-mode dialog (accept/dismiss, optional text).
Inputs: tab, text, accept, session. Returns: result
browser_discover_apisBrowser Discover ApisC
Discover background API endpoints (fetch/XHR) used by the page β including internal/undocumented APIs, from capture or live observation.
Inputs: tab, limit, session. Returns: result
browser_dragBrowser DragC
Drag element ref_a onto element ref_b.
Inputs: ref_a (required), ref_b (required), tab, session. Returns: result
browser_evaluateBrowser EvaluateA
Evaluate JavaScript in the page and return the result.
Prefer a function expression: "() => document.title" or "(x) => fetch(x).then(r => r.status)" with arg passed as parameter. Everything the page can do is allowed β this is raw power, use responsibly.
Inputs: expression (required), arg, tab, session. Returns: result
browser_extract_formsBrowser Extract FormsA
List forms and their fields β the map for browser_fill_form.
Inputs: tab, session. Returns: result
browser_extract_htmlBrowser Extract HtmlB
Extract HTML β whole document or a specific element (by ref).
Inputs: ref, tab, limit, offset, +1 more. Returns: result
browser_extract_linksBrowser Extract LinksB
List all links (deduplicated) with their resolved hrefs.
Inputs: tab, limit, session. Returns: result
browser_extract_metaBrowser Extract MetaB
Extract page metadata: title, meta tags, OpenGraph, canonical.
Inputs: tab, session. Returns: result
browser_extract_tablesBrowser Extract TablesC
Extract content as row arrays (token-cheap vs HTML).
Inputs: tab, session, limit_rows. Returns: result
browser_extract_textBrowser Extract TextA
Extract text β whole page (smart main-content) or a specific element.
Supports pagination via offset/limit for very long pages.
Inputs: ref, tab, limit, offset, +1 more. Returns: result
browser_fillBrowser FillC
Fill a field by ref. Set submit=true to press Enter afterwards.
Inputs: ref (required), text (required), tab, submit, +1 more. Returns: result
browser_fill_formBrowser Fill FormA
Fill multiple fields in one call β much faster than one fill per field.
Each item: {"ref": "e5", "value": "text"}. Optionally submits the form (presses Enter on the last field).
Inputs: fields (required), tab, submit, session. Returns: result
browser_findBrowser FindA
Search the current page for elements matching a text pattern (regex ok) and/or an ARIA role. Returns matching elements with their refs β cheaper than a full snapshot when you know what you're looking for.
By default only actionable elements (links, buttons, fields, headings, images) are searched; set include_structural=true to also match containers (banner/navigation/form/...).
Inputs: pattern (required), tab, role, limit, +2 more. Returns: result
browser_get_urlBrowser Get UrlA
Return the current URL and title of the tab.
Inputs: tab, session. Returns: result
browser_hoverBrowser HoverC
Hover over an element by ref (reveals menus/tooltips).
Inputs: ref (required), tab, session. Returns: result
browser_network_blockBrowser Network BlockA
Block requests matching URL globs across all sessions.
Examples: ["/*.css", "/ads.js", "doubleclick"]. Blocks ads and trackers to speed up automation dramatically.
Inputs: url_globs (required). Returns: result
browser_network_capture_startBrowser Network Capture StartB
Start recording network requests on this tab.
Optional filters: resource_types (document/xhr/fetch/script/image/...), url_contains (substring), methods (GET/POST/...). Default records everything.
Inputs: tab, clear, methods, session, +2 more. Returns: result
browser_network_capture_stopBrowser Network Capture StopB
Stop recording network requests (buffer is kept until next start).
Inputs: tab, session. Returns: result
browser_network_getBrowser Network GetB
Fetch full details + response body of a captured request (by index).
Inputs: index (required), tab, session. Returns: result
browser_network_listBrowser Network ListB
List captured network requests (most recent first).
Inputs: n, tab, session, statuses. Returns: result
browser_network_unblockBrowser Network UnblockA
Remove all URL blocking rules.
Inputs: no named parameters. Returns: result
browser_press_keyBrowser Press KeyB
Press a key (e.g. Enter, Escape, Tab, ArrowDown, Control+a).
Inputs: key (required), tab, session. Returns: result
browser_read_consoleBrowser Read ConsoleB
Read console messages and page errors (JS errors, logs, failed asserts).
Set drain=true to clear the buffer after reading.
Inputs: n, tab, drain, session. Returns: result
browser_read_dialogsBrowser Read DialogsC
Read captured alert/confirm/prompt dialogs.
Inputs: n, tab, session. Returns: result
browser_reloadBrowser ReloadC
Reload the current page.
Inputs: tab, session. Returns: result
browser_save_pdfBrowser Save PdfC
Save the current page as a PDF (Chromium only).
Inputs: path (required), tab, format, session, +1 more. Returns: result
browser_screenshotBrowser ScreenshotB
Take a screenshot and return it as an image (for vision-capable LLMs).
area: "viewport" (visible part), "full" (entire page), or "element" (requires ref). format: png or jpeg (jpeg is much smaller β prefer it for large pages).
Inputs: ref, tab, area, format, +2 more.
browser_scrollBrowser ScrollB
Scroll the page. Directions: down, up, top, bottom. Optional pixel amount.
Inputs: tab, session, amount_px, direction. Returns: result
browser_select_optionBrowser Select OptionB
Select an option in a dropdown (combobox) by ref. Value = option label.
Inputs: ref (required), value (required), tab, session. Returns: result
browser_session_closeBrowser Session CloseA
Close a session and all its tabs (cookies/storage are discarded unless saved with browser_session_save_auth).
Inputs: name (required). Returns: result
browser_session_listBrowser Session ListA
List all active sessions with their tabs, fingerprints and proxies.
Inputs: no named parameters. Returns: result
browser_session_newBrowser Session NewB
Create a new isolated browser session.
stealth: apply anti-detection fingerprinting (default on)
profile: restore a saved auth profile (from browser_session_save_auth)
proxy: per-session proxy server (e.g. http://user:pass@host:port)
fingerprint: specific fingerprint name (see stealth docs), random by default
bypass_csp: disable CSP enforcement (for pages that block inline scripts)
record_har: file path to record a HAR archive of all traffic
Inputs: name (required), proxy, locale, profile, +6 more. Returns: result
browser_session_save_authBrowser Session Save AuthA
Persist the session's cookies + localStorage to a named profile.
Restore later via browser_session_new(profile=profile_name) β survives restarts, perfect for staying logged in across engagements.
Inputs: name (required), profile_name (required). Returns: result
browser_set_dialog_modeBrowser Set Dialog ModeA
Set dialog handling: "auto" (accept + record β default) or "manual" (pause dialogs so browser_dialog_respond can answer them).
Inputs: mode (required), tab, session. Returns: result
browser_snapshotBrowser SnapshotA
Capture the page as a compact, ref-annotated accessibility snapshot.
Elements get stable refs (e.g. [ref=e12]) that interaction tools accept. If the page is unchanged since the last snapshot, returns a short "unchanged" notice instead of re-sending the tree (major token savings). Set force=true to always re-render, deep=true to include child frames.
Inputs: tab, deep, force, session. Returns: result
browser_tab_closeBrowser Tab CloseB
Close a tab (the active one cannot be the last tab).
Inputs: index (required), session. Returns: result
browser_tab_listBrowser Tab ListB
List the tabs of a session with their URLs.
Inputs: session. Returns: result
browser_tab_newBrowser Tab NewA
Open a new tab (optionally navigating it to a URL) and make it active.
Inputs: url, session. Returns: result
browser_tab_selectBrowser Tab SelectA
Make another tab active (subsequent tools act on it).
Inputs: index (required), session. Returns: result
browser_upload_fileBrowser Upload FileC
Upload a local file. Ref may point to the file input or its trigger button.
Inputs: ref (required), path (required), tab, session. Returns: result
browser_wait_forBrowser Wait ForC
Wait until text appears, a selector matches, or a fixed time passes.
Inputs: tab, text, time_s, session, +2 more. Returns: result
usage_reportUsage ReportA
Local usage stats: tool call counts, per-day breakdown, totals.
Purely local counters (~/.navigator/usage.json) for your own insight β no URLs or page content are ever recorded. Disable with NAVIGATOR_STATS=false.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 51 tools
Tools are organized around clearly separate actions and resources (navigation, clicks, fills, extractions, tabs, sessions, network, captchas), so an agent can usually pick the right one. A few pairs like browser_click vs browser_click_text or browser_snapshot vs browser_find overlap in intent, but the descriptions frame them as ref-based vs fallback/filtered alternatives.
The vast majority follow a predictable browser_<verb>_<noun> snake_case pattern, with clear groups like browser_extract_*, browser_network_*, browser_tab_*, and browser_session_*. Exceptions such as navigator_status and usage_report break the prefix pattern, and dialog/network verbs are not perfectly parallel, but the system is still easy to navigate.
Fifty-one tools is well past the 25+ threshold and creates a heavy surface for an agent to evaluate, even for a browser-automation domain. The set could be consolidated (e.g., extraction variants, captcha helpers, network controls) without losing core capability, so the count feels too high rather than well-scoped.
The server covers the full browser lifecycle: session/tab management, navigation, interaction, extraction, network capture/blocking, dialogs, console, screenshots, PDF, and captcha handling. There are no obvious dead ends, and browser_evaluate provides an escape hatch for anything not explicitly exposed.
Maintenance
Related MCP Connectors
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
Cloud browsers for AI agents: saved logins, residential IPs, live human takeover, 57 browser tools.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control browsers with human-like behavior, stealth anti-detection, and 70 tools for navigation, interaction, and monitoring.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously control browsers with zero-hardcoding semantic DOM interaction, real-time network telemetry, Cloudflare/bot self-healing, and human-in-the-loop reasoning for web QA and automation.-
- AlicenseNot gradedqualityBmaintenanceEnables LLM agents to automate a live Chrome browser with compact DOM serialization, authenticated session continuity, and human-like input trajectories.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform stealth browser automation and anti-detection web interaction, including session management, humanized interactions, and bypassing anti-bot/WAF protections.MIT