Skip to main content
Glama

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 Chromium

Why 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 chromium

claude_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 8765

Clients 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 clients

The 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 / sec-ch-ua / sec-ch-ua-platform / accept-language headers coherent with the chosen profile

Navigator

webdriver removed, platform, languages, hardwareConcurrency, deviceMemory, plugins/mimeTypes (5 realistic Chrome plugins), maxTouchPoints

window.chrome

runtime (ports + listeners), app, loadTimes, csi

WebGL

UNMASKED_VENDOR/RENDERER return profile-matched GPU strings

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

Notification.permission/permissions.query consistency

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 the vnc compose profile (container). Headless Chrome has residual fingerprints no JS patch fully erases.

Captcha flow

  1. browser_captcha_detect β†’ type + evidence + sitekeys

  2. browser_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-check

  3. Manual fallback: headful browser + browser_captcha_manual_wait while 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

NAVIGATOR_HEADLESS

true

headless mode (set false for captchas/anti-bot)

NAVIGATOR_STEALTH

true

fingerprint + runtime patches

NAVIGATOR_HUMANIZE

true

human-like input synthesis

NAVIGATOR_AUTO_SNAPSHOT

true

include snapshots in action results

NAVIGATOR_MAX_SESSIONS

64

resource cap on parallel sessions

NAVIGATOR_CDP_ENDPOINT

–

drive an external (patched) browser

NAVIGATOR_PROXY_SERVER

–

default proxy for all sessions

NAVIGATOR_ALLOWED_DOMAINS

–

optional navigation lockdown (allowlist)

NAVIGATOR_API_KEYS

–

HTTP auth keys (comma-separated)

NAVIGATOR_STATS

true

local usage counters for usage_report

TWOCAPTCHA_API_KEY / CAPSOLVER_API_KEY

–

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 tools
browser_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_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_navigateBrowser NavigateB

Navigate the active (or specified) tab to a URL.

Returns the new page state; includes a fresh snapshot when the page content changed (configurable via NAVIGATOR_AUTO_SNAPSHOT).

Inputs: url (required), tab, wait, session. Returns: result

browser_navigate_backBrowser Navigate BackC

Go back one history step in the tab.

Inputs: tab, session. Returns: result

browser_navigate_forwardBrowser Navigate ForwardB

Go forward one history step in the tab.

Inputs: 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

    B3.2/5.0

    Scored across 51 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count2/5

    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.

    Completeness5/5

    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

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers