Chromancer
You can let MCP-capable AI agents privately control your own signed-in Chrome profiles (or a throwaway isolated browser) through local-only browser automation tools.
Check server status, list/open/use/alias Chrome profiles, and connect paired real profiles.
List/open/select/close tabs, navigate pages, go back/forward, and reload.
Read pages with screenshots, visible text, interactive-element snapshots, and text/label search.
Interact like a user: click, hover, type, press keys, select options, check/uncheck, scroll, wait for conditions, and run multi-step batches.
Inspect DevTools data: console logs, network requests/responses, cookies, storage, device/network emulation, and performance metrics.
Optionally run page JavaScript if
eval_jsis enabled in config.Handle JavaScript dialogs and upload files from allowed folders.
Hand control to the user for CAPTCHAs, logins, 2FA, or payments with
wait_for_user.Use isolated mode for a temporary Chrome with no sign-ins/cookies/history, then stop and delete it.
Reload the extension and benefit from local-only operation, masked secrets, blocked sites, audit logs, pause/take-over controls, and multi-session support.
Drives the user's own signed-in Chrome profiles through a bundled Manifest V3 extension, exposing 40 browser-automation tools: listing/opening profiles, managing tabs and navigation, reading page snapshots and screenshots, clicking/hovering/typing/pressing keys/selecting options/scrolling inside iframes, inspecting console logs, network requests and response bodies, cookies and storage, device emulation and performance metrics, dialogs and file uploads, take-over hand-over for CAPTCHAs and logins, and an isolated throwaway-profile mode.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Chromancer use my Work profile to fill out and submit the contact form on example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nav is a Model Context Protocol server plus a small Chrome extension. Together they give AI assistants (Claude Code, Claude Desktop, Cursor, VS Code, Antigravity, Windsurf and any other MCP client) 40 tools to browse, read pages, click, type, fill forms, inspect console and network, emulate devices and more. Everything runs on your machine.
Why another browser MCP? Browser-automation extensions see every tab, cookie and site you're signed in to.
Nav is small and open, talks only to 127.0.0.1, has no telemetry, and puts safety rails
(blocked sites, masked secrets, upload folder limits, an audit log and a pause switch) in front of the AI.
Features
🧑💼 Your real profiles. Drive any Chrome profile by name ("use my Work profile"), with its logins. Several profiles can be connected at once.
🧪 Isolated mode. A throwaway Chrome with a blank temporary profile for anything you don't want near your accounts.
🖱️ Real input. Clicks and keystrokes go through Chrome DevTools, so pages see trusted events. Works inside iframes, including cross-origin ones.
🔎 AI-friendly page snapshots. Interactive elements listed with short refs (
e12,f2:e5), grouped by page region.🛠️ DevTools. Console and errors, network requests and response bodies, cookies and storage (secrets masked), device emulation, performance metrics, dialogs and file uploads.
👀 You can see what it's doing, and stop it. Controlled tabs go into a tab group named after the AI app (🔮 Claude, 🔮 Antigravity…). While it works, the page gets a soft glowing frame and a "🔮 Claude is working · Stop" pill. A labelled pointer glides naturally to each element, outlines it and rings on click.
🤝 Take over any time, hand back with one click. Click or type on the page (or press Take over) and Nav steps back, with an amber "You're in control" banner. Press Done to give it back. The AI can also ask you, for a CAPTCHA, login, 2FA code or payment. While you're in control, the AI can't act on, read or screenshot the page, and console/network recording on that tab is switched off.
⚡ Smooth and quick. It waits only as long as the page needs (about 0.15 s for a simple click, longer only when a page loads), queues actions one at a time per profile, and stays attached while working so Chrome's debugging bar doesn't flicker.
👥 Many sessions, many tools. A shared local service lets several Claude sessions and other AI tools use Nav at the same time.
🛡️ Safety first. Blocked-site list (banking and password managers by default),
eval_jsoff by default, cookie and token values hidden by default, uploads only from folders you allow, per-action audit log, and a pause button in the extension.
Related MCP server: byob
How it works
Claude Code / Desktop ┐ ┌─ Nav extension (profile "Work")
Cursor / VS Code ├─ stdio ─ MCP server ─┐ ├─ Nav extension (profile "Personal")
Antigravity / … ┘ └─ Nav service (127.0.0.1:47821) ─┘
(shared, starts on demand)
Isolated mode: an MCP server can also launch its own throwaway Chrome (no extension needed).One shared service per PC owns the port and the extensions' connections. Each MCP server (one per AI session) connects to it. The first one starts it, it exits 10 minutes after the last session closes, and it restarts by itself if it crashes.
Extensions are accepted only from Nav's fixed extension ID, using that profile's pairing token. Sessions are accepted only from local programs holding the client key in your config. Web pages can reach neither.
Each profile pairs once, then reconnects automatically whenever Chrome and an AI session are running.
Quick start
Requirements: Google Chrome 116+ · Node.js 20+ · tested on Windows 11 (macOS and Linux paths are built in but not yet tested)
git clone https://github.com/semsadekul/nav-mcp.git
cd nav-mcp
npm install
npm run build1. Load the extension in each Chrome profile you want to use
In that profile's window, open
chrome://extensionsTurn on Developer mode (top right)
Click Load unpacked and choose the
extensionfolder of this repoPin the 🔮 icon. The badge shows ON when connected and II when paused.
2. Add Nav to your AI tool
Use the absolute path to server/dist/index.js in your clone.
Claude Code
claude mcp add nav --scope user -- node /path/to/nav-mcp/server/dist/index.jsAny other MCP client (Claude Desktop, Cursor, VS Code, Antigravity, Windsurf…): add this to its MCP settings:
{
"mcpServers": {
"nav": {
"command": "node",
"args": ["/path/to/nav-mcp/server/dist/index.js"]
}
}
}On Windows use forward slashes, e.g. "C:/Users/you/nav-mcp/server/dist/index.js". If the app can't
find node, give its full path, e.g. "C:/Program Files/nodejs/node.exe".
3. Pair a profile
Ask your assistant: "List my Chrome profiles with Nav, then open the Work profile." The first time, a pairing page opens in that profile. The extension pairs on its own and the page shows ✓ Paired. After that, the profile reconnects automatically.
Tools
Group | Tools |
Profiles |
|
Tabs |
|
Reading |
|
Actions |
|
DevTools |
|
Pages |
|
Hand-over |
|
Isolated mode |
|
Utility |
|
Every tool takes an optional
profile: a folder likeProfile 3, a nickname (profile_alias), a unique display name, orisolated.Actions target an element by
reffromsnapshot/find(best), its visible text (element), or a CSSselector.Calls without a
tabIdgo to the working tab: the tab Nav last opened or used, not whichever window you clicked last.Which tab is controlled? Every tab Nav works in joins a purple tab group named
🔮 <AI app>. The name comes from the connected MCP client, so several apps at once get separate groups.Where is it clicking? A pointer labelled with the app's name glides to each target first: travel time grows with distance, on a gentle curve. It outlines the target and rings on click. It ignores the mouse, lives in a closed shadow DOM, fades when idle, respects "reduce motion", and can be turned off with
"showCursor": false.Is it working right now? Stop it. A soft glowing frame and a "🔮 Claude is working · Take over · Stop" pill show on the AI's tab while its session is active (5 minutes after the last command), and come back after page loads. Stop pauses Nav in that profile, and you resume from the 🔮 icon. Turn the frame off with
"showWorkingFrame": false.Take over / give back. While the AI session is active, clicking or typing on its tab (or pressing Take over) switches to an amber "You're in control" banner. The AI can also ask with
wait_for_user("Please solve the CAPTCHA, then click Done"). Until you press Done – give back (on the page or in the 🔮 popup), every tool on that profile is refused except harmless bookkeeping. That tab's console and network recording is switched off and cleared, so the AI never sees what you typed. The banner survives page changes, and closing the tab also hands back. Eachwait_for_usercall waits up to 50 s (most MCP apps cancel tool calls after 60 s) and says "still waiting" so the AI can call again.Screenshots hide Nav's own pointer and frame, so the AI sees the page as it is (pass
showOverlay: trueto include them). Background tabs are captured without switching to them.While Nav is working, Chrome shows a "Nav started debugging this browser" bar. It stays steady instead of flickering, and goes away 5 minutes after the last action, when you pause, or a minute after the AI app disconnects.
Isolated mode
isolated_start launches your installed Chrome with a fresh temporary profile, so there are no sign-ins, cookies or history.
It needs no extension and no browser download (it uses playwright-core). Every tool works with profile: "isolated",
and console and network are recorded from the start. isolated_stop, or closing the AI session, deletes everything.
Pass headless: true to run it without a window.
Configuration
Nav creates its config on first run:
Windows:
%APPDATA%\nav\config.jsonmacOS/Linux:
~/.nav/config.json
Key | Meaning |
| Local port (default |
| Profile used when none is named |
| Nicknames, e.g. |
| Hosts (optionally with a path) Nav refuses to open, read or act on |
| If set, only these hosts are allowed |
| Enables |
|
|
|
|
| Show the on-page pointer, element outline and click ring (default |
| Show the glowing "working" frame and the Stop pill (default |
|
|
| Override where Chrome and its profiles live |
| Pairing and session secrets. Delete a profile's token to force re-pairing. |
Logs live next to the config: logs/YYYY-MM-DD.jsonl (every action, typed text masked) and service.log.
Safety and privacy
Nothing leaves your machine except what your AI assistant reads as part of its conversation. Page text and screenshots go to the model you're using, as with any browser tool.
Page content is labelled as untrusted data, so the assistant treats it as information, not instructions.
Pause: click the 🔮 icon → Pause control. Every command is refused in that profile until you resume.
Forget pairing: 🔮 popup → Forget pairing.
The default blocked list covers password managers, the Chrome Web Store and payment sites. Add your bank in
blockedSites.
Development
npm run watch # rebuild on change
npm run typecheck
npm test # server tests against a simulated extension (no Chrome needed)
# live tests: pass a profile name, folder ("Profile 3") or "isolated"
node test/live-phase3.mjs "My Profile" # fills a local test form
node test/live-phase4.mjs isolated # iframes, console, network, dialogs, upload, emulation
node test/live-shared.mjs "My Profile" # two sessions at once + service restart
node test/timing.mjs "My Profile" # how long each step takes
node test/try-takeover.mjs "My Profile" # hands-on: you take over, give back, then Claude asks youAfter changing extension code, run npm run build and ask the assistant to call extension_reload, or click ↻ in chrome://extensions.
See PLAN.md for the design notes and roadmap.
License
Available Tools
41 toolsbatchA
Run several Chromancer tools in order in one call; stops at the first failure. Example steps: [{"tool":"type","args":{"element":"Email","text":"a@b.c"}},{"tool":"click","args":{"element":"Sign in"}}]
Inputs: steps (required), profile.
checkA
Set a checkbox, radio or switch to checked/unchecked (clicks only if it needs to change).
Inputs: checked (required), ref, tabId, element, +2 more.
clickA
Click an element with a real mouse click (scrolls it into view first). Target by ref, selector, or element text.
Inputs: ref, tabId, button, double, +4 more.
console_logsA
Console messages, uncaught errors and browser log entries (failed loads, CSP, deprecations) for a tab. The first call starts capture; reload or repeat the action, then call again to see new messages.
Inputs: clear, level, limit, tabId, +1 more.
cookies_getA
List cookies for the current page (or a URL): name, domain, path, flags, expiry and value length. Values are hidden unless allowCookieValues is enabled in the Chromancer config.
Inputs: url, tabId, profile.
devtools_watchA
Start (on=true, default) or stop (on=false) capturing console messages and network requests for a tab. console_logs and network_requests start it automatically. Chrome's debugging bar stays visible while watching.
Inputs: on, tabId, profile.
emulateA
Emulate a device or conditions in a tab: device ("iphone-15", "pixel-8", "ipad", "laptop", "desktop") or width/height, dark/light color scheme, offline mode. reset=true undoes everything. Stays on until reset or the tab closes.
Inputs: reset, tabId, width, device, +7 more.
eval_jsA
Run JavaScript in the page and return the result (awaits promises). DISABLED unless allowEval is true in the Chromancer config. Prefer the other tools; use this only for inspection.
Inputs: code (required), tabId, profile.
extension_reloadA
Reload the Chromancer extension in a profile (after updating its code). It reconnects by itself.
Inputs: profile.
findA
Find elements whose text/label contains a phrase (case-insensitive). Returns refs usable with click/type.
Inputs: query (required), max, tabId, profile.
get_textA
Read the visible text of a page (main/article content first). Returns title, URL and text.
Inputs: tabId, profile, maxChars.
go_backC
Go back in the tab's history.
Inputs: tabId, profile.
go_forwardC
Go forward in the tab's history.
Inputs: tabId, profile.
handle_dialogA
Accept or dismiss a JavaScript alert/confirm/prompt/beforeunload dialog that is blocking the page. promptText fills a prompt().
Inputs: tabId, accept, profile, promptText.
hoverB
Move the mouse over an element (opens hover menus/tooltips).
Inputs: ref, tabId, element, profile, +1 more.
isolated_startA
Start a throwaway Chrome with a blank temporary profile (no sign-ins, cookies or history) and make it the current profile. Every other tool works in it with profile "isolated". Everything is deleted on isolated_stop or when Claude exits.
Inputs: width, height, headless.
isolated_stopA
Close the isolated browser and delete everything it stored.
Inputs: no named parameters.
network_requestsA
Network requests seen in a tab since capture started: method, status, type, size, time. The first call starts capture; reload the page (reload tool) to record everything from the start. Use network_response for a body.
Inputs: clear, limit, tabId, filter, +2 more.
network_responseB
Body of a captured network response (by request id from network_requests). Text only, truncated.
Inputs: requestId (required), tabId, profile, maxChars.
performance_metricsC
Page speed and weight: time to first byte, first contentful paint, DOMContentLoaded, load, request count/bytes, DOM size, JS heap, script/layout work.
Inputs: tabId, profile.
press_keyB
Press keys. Space-separated sequence; combos with +. Examples: "Enter", "Tab Tab Enter", "Control+A", "Shift+Tab", "Escape".
Inputs: keys (required), tabId, profile.
profile_aliasB
Give a profile a nickname, e.g. alias "work" -> "Profile 3". Saved to config.
Inputs: alias (required), profile (required).
profile_openA
Open (or focus) a Chrome profile and make it the current one. The first time, this opens a pairing page; the user must have loaded the Chromancer extension in that profile.
Inputs: profile (required).
profiles_listA
List every Chrome profile on this PC with its folder, display name, nicknames, and whether it is connected/paired.
Inputs: no named parameters.
profile_useA
Set the current profile for this session without opening anything. Pass save=true to make it the default for future sessions.
Inputs: profile (required), save.
reloadC
Reload the tab.
Inputs: tabId, profile.
screenshotB
Screenshot a tab (background tabs are captured without switching to them). Chromancer's own pointer and frame are hidden unless showOverlay is true.
Inputs: tabId, format, profile, showOverlay.
scrollA
Scroll the page with the mouse wheel (direction + amount in ~100px steps, default 5), or scroll an element into view by target.
Inputs: ref, tabId, amount, element, +3 more.
select_optionA
Choose option(s) in a dropdown by value or visible text. For custom dropdowns, click them instead.
Inputs: values (required), ref, tabId, element, +2 more.
snapshotA
List the page's interactive elements (buttons, links, fields, checkboxes…) and headings with refs like [ref=e5], grouped by page region. Use refs with click/type/etc. Refs reset on each snapshot and break after navigation.
Inputs: max, tabId, profile, interactiveOnly.
statusB
Chromancer health: bridge port, connected profiles, current profile, config folder.
Inputs: no named parameters.
storage_getA
Read the page's localStorage or sessionStorage: list keys with sizes, or read one key. Secret-looking keys (token, auth, session…) are masked unless allowSecretValues is enabled in the config.
Inputs: key, kind, tabId, profile.
tab_closeC
Close a tab.
Inputs: tabId (required), profile.
tab_newB
Open a URL in a tab and make it the working tab. Reuses the window's empty New Tab page if one is showing (reuseBlank=false always opens a fresh tab). Opens in the working tab's window; never opens a new window.
Inputs: url, profile, reuseBlank.
tab_selectC
Switch to a tab.
Inputs: tabId (required), profile.
tabs_listB
List open tabs in the profile (tabId, title, URL, active).
Inputs: profile.
typeA
Type text as real keyboard input. With a target, clicks the field first; otherwise types into whatever is focused. clear=true replaces the field's current content; submit=true presses Enter afterwards.
Inputs: text (required), ref, clear, tabId, +5 more.
upload_fileA
Attach local file(s) to a file input. Target the input or the upload button/area (it finds the related file input); omit the target if the page has a single file input. Files must be inside the allowed upload folders (default: Downloads, Desktop, Documents, Pictures).
Inputs: paths (required), ref, tabId, element, +2 more.
wait_forA
Wait until text appears, text disappears, or a CSS selector becomes visible (default timeout 10s, max 40s). Or just wait ms.
Inputs: ms, text, tabId, profile, +3 more.
wait_for_userA
Hand the tab to the user and wait until they click Done. Use it for CAPTCHAs, logins, 2FA codes, payments, or anything the user should type themselves. The page shows an amber "You're in control" banner with your reason. While the user is in control, every other tool on that profile is refused; the user can also take over on their own by clicking on the page, and then you must call this to wait. Returns when they hand back or after timeoutSeconds (default 50) with stillWaiting=true: then simply call it again to keep waiting. (Most MCP apps cancel a tool call after 60 s, so keep each wait under that.)
Inputs: tabId, reason, profile, timeoutSeconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 41 tools
Most tools map to a distinct action on a distinct resource (navigate vs scroll vs snapshot vs click), and the descriptions actively disambiguate tricky pairs like find/snapshot and profile_open/profile_use. A few boundaries are fuzzy: tab_new vs navigate both load a URL, and devtools_watch vs the auto-starting console_logs/network_requests overlap in purpose.
Conventions are mixed: verb_noun (press_key, select_option, get_text, upload_file), noun_verb (profiles_list, tabs_list, cookies_get, storage_get, network_response), and bare verbs/nouns (click, type, find, status, reload, snapshot). The domain prefixes (tab_, profile_, isolated_) help readability, but there is no single predictable pattern.
41 tools is well beyond the comfortable range, and while the browser-automation domain is broad, several clusters (profiles, devtools/capture, cookies/storage) could be consolidated into option-bearing tools. The surface is large enough to burden tool selection and inflate context.
Coverage is unusually thorough: navigation, interaction, tab/profile lifecycle, uploads, dialogs, emulation, performance, storage/cookies, batching, and user handoff are all present. Gaps remain around frame/iframe switching, right-click/double-click/drag-and-drop, and download handling, which are notable omissions for a browser driver.
Maintenance
Related MCP Connectors
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Let AI agents use any website you're logged in to. Sessions stay encrypted on your machine.
Let your AI agent operate any website through a real, logged-in browser session.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI assistants to control Chrome using real user profiles, providing undetectable automation with over 40 tools for navigation, data extraction, and interaction.344MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to drive the user's real, already-logged-in Chrome browser locally, so they can read and navigate pages, click, type, fill forms, take screenshots, and inspect cookies, tabs, console, and network traffic without headless browsers or remote-debugging ports.1 npmISC
- AlicenseNot gradedqualityAmaintenanceLets AI coding tools drive the user's already-signed-in Chrome browser — reading and snapshotting pages, clicking, typing, uploading files, screenshotting, and inspecting tabs, cookies, console, and network traffic. It works through a local Chrome extension bridge, so no remote debugging port is opened and the real, authenticated browser session is used.1 npmISC
- AlicenseNot gradedqualityAmaintenanceLets AI agents control the real, already-logged-in Chrome browser: reading pages, clicking, typing, navigating tabs, taking screenshots, and inspecting cookies, network traffic, console output, and storage. It connects as a local extension over Native Messaging, so no remote-debugging port or headless profile is needed.1 npmISC