chrome-agent-bridge
Chrome Agent Bridge lets MCP-compatible agents control and inspect a local Chrome session, with optional local JS/binary/protocol/WASM analysis.
Manage one or more local Chrome instances and tabs: status, list instances/tabs, open, activate, close bridge-created tabs, navigate, and watch tab events.
Interact with pages: semantic snapshots, screenshots, and atomic click/fill/press/select actions using short-lived refs.
Monitor sanitized network lifecycle metadata (request/response/WebSocket) with bounded start/poll/stop sessions.
Attach Raw CDP to a tab, send arbitrary CDP commands, poll unsanitized events, detach, and manage debugger leases.
Run local analysis without Chrome: JavaScript AST/deobfuscation/data-flow/security/crypto, binary transforms/formats/entropy, Protobuf, HTTP/2, gRPC, DNS, HTTP/1, protocol inference/state machines, and WASM inspection.
Use Raw-backed analysis: script collection/search, source maps, debugger control, breakpoints, evaluation, call stacks/scopes/watches, blackboxing, performance/CPU/heap/trace, console exceptions, network bodies/stats/HAR/auth extraction, and Fetch interception.
Optionally read ChatGPT Checker status when the user enables ChatGPT tools.
Authenticated local bridge only; Raw CDP is unrestricted and may expose cookies, credentials, and private page data.
Allows agents to interact with Google Chrome by listing, opening, navigating, activating, and closing tabs; capturing snapshots and screenshots; and clicking/filling non-password form fields.
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., "@chrome-agent-bridge What tabs do I have open in Chrome?"
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.
Chrome Agent Bridge
Project overview
Chrome Agent Bridge connects MCP-compatible Agents to the user's existing Google Chrome session. It runs locally as a Chrome extension, Native Messaging host, and stdio MCP server; it does not launch a remote browser or send browser state through a hosted bridge.
The project provides:
semantic page snapshots and atomic click, fill, key, and select actions;
tab navigation, screenshots, and lifecycle monitoring;
sanitized network monitoring plus an explicit unrestricted Raw CDP channel;
script collection, debugging, source-map, performance, and opt-in deep-network analysis;
local JavaScript, binary, protocol, and WebAssembly analysis that does not require Chrome.
The user approves the unpacked extension once in Chrome. Local Agents then authenticate with a long-lived token stored under ~/.chrome-agent-bridge/. ChatGPT OAuth and the official ChatGPT Chrome extension are not required.
This is a clean-room, MIT-licensed implementation. It does not contain or redistribute OpenAI's proprietary Chrome extension, browser client, native host, or authentication code.
Related MCP server: antigravity-browser-bridge
Architecture
Agent → MCP server → authenticated loopback RPC → Native Messaging host
→ Chrome extension → tabs / scripting / screenshots / sanitized network tools / Raw CDPThe browser MCP surface has two levels. The default tools list, navigate, watch, snapshot, screenshot, act on semantic element refs, and monitor sanitized request lifecycle metadata. The explicit Raw CDP tools attach to one tab and forward arbitrary CDP methods, params, results, target sessions, and events without field sanitization. A sanitized network projection can reuse the same Raw attachment when an Agent needs Raw commands without exposing Raw network events to its context.
Version 0.8 also provides clean-room local JavaScript, binary, protocol, source-map, and WASM analysis plus high-level script, debugger, profiler, trace, and opt-in deep-network projections over the existing Raw connection. These additions require no proxy, second browser, privileged service, ADB, Frida, native reverse-engineering suite, WABT, or Binaryen. See the analysis tool catalog.
Raw CDP is equivalent to granting the local bearer token full developer control of an attached tab. Depending on the commands sent, it can execute JavaScript, read or modify page content, inspect cookies and storage, capture request or response bodies, intercept traffic, and control child targets. Do not expose the loopback service or token to another user or machine.
Reference projects and specifications
OpenClaw Browser plugin — informed the semantic
snapshot → ref → act → snapshotcontract, interactive-role coverage, and actionability checks. OpenClaw is MIT-licensed, but it is not bundled, forked, or required at runtime.JSHookMCP — its public tool catalog was reviewed to identify useful analysis capabilities that could run without its browser, proxy, daemon, ADB, Frida, or native reverse-engineering services. The selected capabilities were independently reimplemented from public language and protocol specifications. JSHookMCP is AGPL-licensed; none of its source code is copied or bundled here.
Model Context Protocol TypeScript SDK — provides the MCP server transport and tool registration API used by the local Agent bridge.
Chrome Extensions and the Chrome DevTools Protocol — define the public browser, Native Messaging, debugger, page, network, runtime, and profiler contracts used by the implementation.
The locally installed production ChatGPT Chrome extension was used only to understand externally observable capability boundaries. It was not treated as source code or a reusable implementation. Detailed provenance and clean-room boundaries are recorded in docs/clean-room-browser-capabilities.md and THIRD_PARTY_NOTICES.md.
Requirements
Node.js 18 or newer
Google Chrome on macOS or Linux
An MCP-compatible agent
Windows native-host installation is not implemented in the initial release.
Install
For an Agent-executable checklist, MCP configuration, verification steps, upgrades, and recovery guidance, see Install Chrome Agent Bridge for an Agent.
Install the released extension ZIP
Download
chrome-agent-bridge-extension-vX.Y.Z.zipfrom GitHub Releases.Extract the ZIP to a permanent local directory.
Open
chrome://extensions, enable Developer mode, choose Load unpacked, and select the extracted directory.
The release manifest carries a public development key, so every unpacked release uses the stable extension ID hkedmoboloodflgcaidimhddljdnndcd. The ZIP is not directly installable: Chrome requires it to be extracted before Load unpacked.
Install the local Agent bridge
git clone https://github.com/escapeWu/chrome-agent-bridge.git
cd chrome-agent-bridge
npm ci
npm run install-hostReload the extension on chrome://extensions. The extension and native host reconnect automatically. For a custom development build with a different ID, pass --extension-id ID explicitly.
Install the paired Agent Skill
Installing only the Extension ZIP and MCP server is incomplete for Agent use. Also install skills/chrome-agent-control so the Agent follows the required connection, tab-scoping, network-listening, Raw CDP, cleanup, and confirmation workflows.
The Codex plugin bundle installs the MCP registration and Skill together. When configuring mcp/server.mjs as a standalone MCP server, install the Skill separately. See the exact Agent checklist in docs/agent-installation.md.
Pairing token
Click the extension toolbar icon to open its local pairing window. The window shows a masked, long-lived authentication token with controls to reveal, copy, or renew it. Renew requires two clicks and invalidates the previous token immediately.
The token is generated by the native host and stored only in ~/.chrome-agent-bridge/auth.json with user-only permissions. It is not stored in Chrome Sync, the extension package, Git, or GitHub Releases. Local agents discover it automatically. A separately configured local agent can receive the copied value through CHROME_AGENT_BRIDGE_TOKEN.
Agent quick start
Agents can use this section as an installation and connection checklist:
Verify Node.js 18+ and Google Chrome are installed.
Run
npm ciandnpm run install-hostin the repository root. The released extension ID is built in.Ask the user to download and extract the Extension ZIP, then load its extracted directory from
chrome://extensionswith Developer mode enabled. This is the only required user-visible approval step.Ask the user to reload Chrome Agent Bridge after source, manifest, or native-host installation changes.
Add
mcp/server.mjsto the Agent's MCP configuration using an absolute filesystem path, or install this repository as a Codex plugin. Copy the ready-to-use configuration from docs/agent-installation.md.Install and enable the paired
chrome-agent-controlSkill. Do not treat MCP configuration alone as a complete Agent installation.Call
browser_status, thenbrowser_list_tabs. Do not begin browser actions until the bridge reports connected.
For page interaction, take browser_snapshot, act once with browser_act using a returned ref and that snapshot's snapshotId, then take a new snapshot and verify. Refs are deliberately short-lived and invalidated after an action or navigation. A high-level click performs its full CDP mouse sequence atomically inside the extension; do not split mouseMoved, mousePressed, and mouseReleased across Raw MCP calls. For tab monitoring, call browser_watch_events with the previous cursor and, when useful, a specific tabId. Start sanitized request monitoring before the intended UI action, page through browser_network_poll, and always finish with browser_network_stop. When Raw commands and a safe network summary are both required, attach Raw with captureEvents=false and pass its session ID to browser_network_start as rawSessionId; this shares one Chrome debugger attachment. Do not fall back to Resource Timing or page-level fetch/XHR hooks merely because the page's performance buffer is full.
Raw and network sessions hold their tab under an idle lease (default 5 minutes, configurable per session with leaseTtlMs). Valid calls renew it, and in-flight commands or waiting long polls keep it. An expired, idle lease is taken over only when another request needs the tab, so a task that exits without detaching no longer blocks others indefinitely. A debugger_target_busy error names the current holder, its expiry, and a retry delay. browser_debugger_sessions lists holders, browser_debugger_renew extends a lease, and browser_debugger_recover releases a stuck attachment, guarded by expectedSessionId and, for a live lease, confirmed=true. Page actions pass snapshotId with a ref, and pass debuggerSessionId when the task holds a lease on the tab; they never borrow another task's attachment.
Never submit forms, purchase, publish, delete, send messages, or change permissions without the user's explicit approval. The high-level fill tool rejects password fields, but Raw CDP bypasses those high-level guardrails and may expose cookies, storage, credentials, and private page content.
Connect an MCP agent
Use an absolute path when configuring a standalone MCP client:
{
"mcpServers": {
"chrome-agent-bridge": {
"command": "node",
"args": ["/absolute/path/to/chrome-agent-bridge/mcp/server.mjs"]
}
}
}The local Agent reads ~/.chrome-agent-bridge/auth.json automatically. Set CHROME_AGENT_BRIDGE_TOKEN only when configuring a separate local process with a token copied from the extension popup.
URL (Streamable HTTP) transport
mcp/server.mjs is the local stdio entry. mcp/http-server.mjs exposes the identical tool surface over Streamable HTTP so a client that cannot spawn a local process (another machine, a container, a hosted client) can connect with a URL instead.
Start it with:
npm run start:httpVariable | Default | Purpose |
|
| Bind address(es), comma separated; |
|
| Bind port |
|
| Endpoint path |
| unset | Optional fixed token that replaces the shared one (see below) |
Every MCP request must send Authorization: Bearer <token>; /health is the only unauthenticated endpoint.
One token. By default the URL entry accepts exactly the bridge token shown in the extension popup (auth.json), and uses the same one for its own call to the native host. It reads the file on every request, so Renew in the popup takes effect at once for MCP clients and the internal leg alike, with no restart and no second copy to keep in sync. Clients holding the previous token get 401 and must be given the new one. Setting CHROME_AGENT_BRIDGE_MCP_TOKEN pins a separate client-facing token instead; it does not follow Renew. The URL entry is stateless and serves one fresh server per request. Multiple addresses share one port:
CHROME_AGENT_BRIDGE_MCP_HOST=127.0.0.1,192.0.2.10 npm run start:httpCall a tool from the shell without an MCP client:
export CHROME_AGENT_BRIDGE_MCP_URL=http://127.0.0.1:43118/mcp
export CHROME_AGENT_BRIDGE_MCP_TOKEN=cab_...
npm run mcp:call -- browser_status
npm run mcp:call -- browser_list_tabs
npm run mcp:call -- tools/listRun as a systemd user service
npm run install-mcp-http -- --host 127.0.0.1,192.0.2.10 --port 43118The installer writes the listen address to a private ~/.chrome-agent-bridge/mcp-http.env (mode 0600) and, unlike earlier versions, no token (pass --token only to pin a separate one), generates ~/.config/systemd/user/chrome-agent-bridge-mcp.service with Restart=always, enables it, and turns on linger so it starts at boot. Preview without writing with --dry-run. Remove it with npm run uninstall-mcp-http (add --purge to also delete the env file). The token is never written into this repository.
Client configuration:
{
"mcpServers": {
"chrome-agent-bridge": {
"transport": "streamable-http",
"url": "http://192.0.2.10:43118/mcp",
"headers": { "Authorization": "Bearer cab_..." }
}
}
}When binding a non-loopback address, the token is the only access control; restrict the address to a trusted network and rotate the token from the extension popup if it leaks.
Multiple browsers
One MCP entry can drive several Chrome profiles or --user-data-dir instances on the same machine. Each browser registers itself as ~/.chrome-agent-bridge/instances/<instanceId>.json when its extension connects. The ID is generated once per profile and stored in chrome.storage.local; the display name defaults to Chrome-xxxx and can be edited in the extension popup.
browser_list_instances → [{ instanceId: "inst_3f9a…", label: "Work", reachable, tabCount }, …]
browser_list_tabs { browser: "Work" }
browser_snapshot { browser: "inst_3f9a…", tabId }
browser_cdp_attach { browser: "Work", tabId } → sessionId "inst_3f9a…~raw_…"
browser_cdp_send { sessionId, … } → no browser needed; the session names itA browser is chosen in this order: the tool's browser argument (instance ID or label), the instance in a prefixed sessionId, CHROME_AGENT_BRIDGE_INSTANCE, then the only connected browser. With several browsers and no selector the call fails with browser_ambiguous instead of guessing, so an action never lands in the wrong signed-in account. With one browser nothing needs to be configured.
To add a Chrome started with its own --user-data-dir, install the native host manifest there too (repeat the flag for each directory), then load the extension in that Chrome:
npm run install-host -- --user-data-dir ~/chrome-work --user-data-dir ~/chrome-test
npm run uninstall-host -- --user-data-dir ~/chrome-workSeveral profiles inside one Chrome share a manifest and need no extra flag. Hosts use ephemeral ports by default. For predictable ports, give each host a range (CHROME_AGENT_BRIDGE_PORT_RANGE=42360-42379 or "portRange": [42360, 42379] in network.json); each host takes the first free port. A copied profile directory carries the same ID; the second browser detects the clash and generates a new identity.
For a browser on another machine, run npm run start:http there: one URL then reaches every browser on that machine through the same browser argument. Without it, a remote client sees a single endpoint (see below).
Optional LAN access
The native host binds 127.0.0.1 by default. An operator can additionally bind one or more explicit local addresses so a client on another machine (or a container/host pair) can reach the same authenticated RPC endpoint. The bearer token is still required for every request.
Configure bind addresses with any of these mechanisms:
A
network.jsonfile in the bridge directory (no reinstall required):
{ "bindHosts": ["127.0.0.1", "192.0.2.10"] }The installer, which bakes the value into the private launcher:
npm run install-host -- --bind-hosts 127.0.0.1,192.0.2.10CHROME_AGENT_BRIDGE_BIND_HOSTSin the host process environment (highest priority).
Every bind address shares one port. The native host records the reachable set in runtime.json as hosts, keeping host as the loopback address when available. Binding 0.0.0.0 or :: is expanded to the machine's concrete addresses.
By default the port is ephemeral and changes on every host restart. Set a fixed port so a client on another machine can reach the bridge without copying runtime.json:
{ "bindHosts": ["127.0.0.1", "192.0.2.10"], "port": 42359 }CHROME_AGENT_BRIDGE_PORT overrides the file. npm run install-host -- --bind-hosts 127.0.0.1,192.0.2.10 bakes only the hosts into the launcher; add the port to network.json or the launcher environment.
A client selects a non-loopback address with CHROME_AGENT_BRIDGE_CONNECT_HOST. The client trusts an address only when the native host declared it in runtime.json; a hand-edited runtime file cannot silently redirect a client, and any address carrying a scheme, path, port, or credentials is rejected.
A client with no runtime.json at all can pin the endpoint explicitly. This requires all three values, so nothing is guessed:
export CHROME_AGENT_BRIDGE_CONNECT_HOST=192.0.2.10
export CHROME_AGENT_BRIDGE_PORT=42359
export CHROME_AGENT_BRIDGE_TOKEN=cab_... # from the extension popupSecurity note: binding a non-loopback address makes the full browser-control RPC reachable on that interface. Raw CDP can read cookies, storage, request and response bodies, and credentials for the attached tab. Restrict the address to a trusted LAN or tunnel, keep the token private, and prefer a firewall or SSH tunnel over a public or untrusted network.
The repository is also a Codex plugin: .codex-plugin/plugin.json registers the MCP server and the chrome-agent-control skill.
Standalone MCP clients must install the paired Skill separately. The Extension ZIP contains only the Chrome extension, and an MCP configuration exposes tools without teaching the Agent the required workflow. Follow Install Chrome Agent Bridge for an Agent.
Optional time zone override
The extension popup has an optional Time zone override (off by default; an agent cannot enable it). When on, a main-world script runs at document_start on every http(s) page and frame, and Date getters/formatters and Intl.DateTimeFormat report the chosen zone (UTC, US, Europe, and Asia-Pacific zones, with daylight saving). Reload open tabs to apply a change.
It is a JavaScript-level override only. It does not change the operating system or Chrome profile time zone, language, cookies, or IP address; Date setters and the local-time Date constructor, and Web Workers, keep using the system zone. To change the real zone of a whole Chrome instance, start it with the TZ environment variable instead.
Tools
The server exposes 100 tools: 23 browser primitives and 77 analysis tools grouped into three batches. The full names, prerequisites, exclusions, and recommended call chains are in docs/analysis-tools.md.
Browser primitives:
browser_list_instancesbrowser_statusbrowser_list_tabsbrowser_open_tabbrowser_activate_tabbrowser_close_tabbrowser_navigatebrowser_snapshotbrowser_screenshotbrowser_actbrowser_clickbrowser_fillbrowser_watch_eventsbrowser_network_startbrowser_network_pollbrowser_network_stopbrowser_cdp_attachbrowser_cdp_sendbrowser_cdp_eventsbrowser_cdp_detachbrowser_debugger_sessionsbrowser_debugger_renewbrowser_debugger_recover
Prefer browser_snapshot → browser_act(ref, snapshotId) → browser_snapshot. browser_click and browser_fill remain selector-based compatibility tools.
Analysis groups:
Local JavaScript inspection, deobfuscation, AST transforms, and bounded crypto test vectors
Local binary, Protobuf, HTTP/2, gRPC, protocol inference, and WASM inspection
Raw-backed script collection, source maps, debugger, coverage, CPU/heap profiling, tracing, exceptions, and explicitly sensitive deep-network inspection
Local analysis does not require Chrome. Raw-backed analysis starts from browser_cdp_attach({captureEvents:true}) and must end with browser_cdp_detach; detaching also clears that session's MCP-side analysis cache.
Security model
Native Messaging only accepts the extension ID placed in the installed host manifest.
The installer generates a private launcher containing absolute Node.js and host paths, so Chrome does not depend on the terminal's
PATH.The native host binds
127.0.0.1by default and optionally an explicit operator-configured address list, and requires a long-lived random bearer token for every RPC request. A non-loopback bind is never implicit.The token is stored in
~/.chrome-agent-bridge/auth.jsonwith user-only permissions. It has no automatic expiry and remains valid until the user selects Renew in the extension popup.Runtime connection data is stored separately in
~/.chrome-agent-bridge/runtime.json; it does not contain the token. It records the reachablehostslist so a client can only target an operator-declared address.Renewing the token atomically replaces the local credential and immediately rejects the previous token.
Password inputs are rejected by
browser_fill; Raw CDP commands are not restricted by that check.Browser-internal URLs cannot be inspected or scripted.
The default high-level tools do not read cookies, saved passwords, local storage, or session storage. Raw CDP can access data exposed by Chrome's CDP implementation.
Network monitoring uses Chrome's user-visible
debuggerpermission and attaches only to the selected tab for the lifetime of a network session.Network events contain lifecycle metadata only. Userinfo, URL fragments, headers, request bodies, response bodies, security details, and raw CDP request IDs are not returned. Query strings are removed by default and preserved only with explicit
urlMode="full"because they may contain tokens or signatures.Network sessions have bounded event and byte buffers, monotonically increasing cursors, tab isolation, and explicit stop/detach behavior.
Raw CDP accepts any method and JSON params and returns original results and events, including sensitive fields. Per-session event storage is caller-bounded up to 64 MiB and 1,000 events; individual events and poll pages are capped at 2.5 MB, and command results at 3 MB, below the 4 MiB Native Messaging envelope.
Set
captureEvents=falsewhen Raw is needed for commands but original events are not required. A sanitized network session can reuse that Raw attachment throughrawSessionId; stopping the projection leaves Raw attached, while detaching Raw terminates its active projection.Raw-backed analysis retains bounded scripts, debugger values, and request metadata only in the MCP process for the attached session.
browser_cdp_detachclears that in-memory state. Trace, heap, and confirmed HAR exports are private local artifacts under~/.chrome-agent-bridge/artifacts/and remain until removed.network_export_harandnetwork_extract_authrequire explicitconfirmed=true. The latter returns live secrets; never include them in logs, commits, or normal Agent summaries.Agents should require user confirmation before submitting, purchasing, publishing, deleting, sending, or changing permissions.
The clean-room capability analysis and migration boundaries are documented in docs/clean-room-browser-capabilities.md.
This is an early developer release. Review the requested tab and action before allowing an agent to operate a signed-in site.
Development
npm test
npm run check
npm run build:extensionValidate the Codex plugin and Skill with the corresponding Codex creator validators before publishing changes.
Releasing
Releases are built and published by GitHub Actions; nothing is built locally.
Open Actions → Release extension ZIP → Run workflow, keep branch
main, and setbumptopatch,minor,major, or an explicitX.Y.Z.The run tests the code, updates the version in
package.json,package-lock.json,extension/manifest.json, and.codex-plugin/plugin.json, commitsRelease vX.Y.Ztomain, tags it, builds the allowlisted Extension ZIP, and attaches it withSHA256SUMS.txtto a new GitHub Release.
Source code reads its version from package.json (lib/version.mjs), so those four files are the only places a version lives. Locally, node scripts/bump-version.mjs <patch|minor|major|X.Y.Z> makes the same edits. Pushing a vX.Y.Z tag whose versions already match, or running the workflow with tag set to an existing tag, also publishes that tag.
The bump run pushes straight to main; if branch protection later requires pull requests, allow github-actions[bot] to bypass it or the push step will fail.
Uninstall the native host
npm run uninstall-hostThen remove the unpacked extension from chrome://extensions.
License
MIT. See THIRD_PARTY_NOTICES.md for third-party attributions.
Available Tools
100 toolsanalysis_ast_matchMatch JavaScript ASTC
Find AST nodes by Acorn node type and optional property filters.
Inputs: code (required), nodeType (required), filter, maxResults.
analysis_data_flowAnalyze JavaScript data flowC
Produce a bounded intra-file source, assignment, sink, and shallow taint-path projection.
Inputs: code (required).
analysis_decode_string_arrayDecode JavaScript string arraysC
Replace statically resolvable literal array member accesses with their literal values.
Inputs: code (required).
analysis_deflat_control_flowDeflat JavaScript control flowB
Conservatively restore a canonical while(true)+switch dispatcher when its static order can be proven.
Inputs: code (required).
analysis_security_scanScan JavaScript security risksA
Run a deterministic static heuristic scan for dynamic code, injection sinks, weak randomness, hard-coded credentials, and related risks.
Inputs: code (required).
ast_transform_applyApply AST transformsB
Apply inline transforms or a previously saved transform chain to supplied JavaScript.
Inputs: code (required), chainName, transforms.
ast_transform_chainSave AST transform chainB
Create an in-memory named transform chain for this MCP process.
Inputs: name (required), transforms (required), description.
ast_transform_previewPreview AST transformsA
Preview supported deterministic JavaScript transforms and return a bounded line diff.
Inputs: code (required), transforms (required).
binary_decodeDecode binary payloadB
Decode between base64, hex, UTF-8, and JSON representations.
Inputs: data (required), inputEncoding, outputEncoding.
binary_detect_formatDetect binary formatA
Detect common binary formats from magic bytes, text signatures, and entropy.
Inputs: data (required), inputEncoding.
binary_encodeEncode binary payloadB
Encode UTF-8, hex, base64, or JSON input into base64, hex, or UTF-8.
Inputs: data, inputEncoding, outputEncoding.
binary_entropy_analysisAnalyze binary entropyB
Calculate Shannon entropy and byte-frequency distribution for a bounded payload.
Inputs: data (required), inputEncoding.
blackbox_addAdd debugger blackbox patternsC
Append regular-expression patterns and update Debugger.setBlackboxPatterns.
Inputs: patterns (required), sessionId (required), targetSessionId.
blackbox_add_commonAdd common debugger blackboxesD
Blackbox common framework and dependency script patterns.
Inputs: sessionId (required), targetSessionId.
blackbox_listList debugger blackboxesB
List blackbox patterns maintained for a Raw session.
Inputs: sessionId (required).
breakpointManage debugger breakpointsC
Add, remove, or list source breakpoints and manage exception, XHR, or event-listener breakpoints.
Inputs: action (required), sessionId (required), url, state, +10 more.
browser_actAct on page elementB
Perform one atomic high-level action. Prefer a ref plus snapshotId from the latest browser_snapshot. Clicks run a complete CDP mouse sequence inside one request; press supports common navigation keys; select is for native controls.
Inputs: kind (required), tabId (required), key, ref, +7 more.
browser_activate_tabActivate Chrome tabC
Activate a Chrome tab and focus its window.
Inputs: tabId (required), browser.
browser_cdp_attachAttach Raw CDPA
Attach an unrestricted Chrome DevTools Protocol session to one tab. Set captureEvents=false when only commands plus a sanitized network projection are needed; captured Raw events may expose credentials and private data. The session holds the tab under an idle lease that any valid call renews; always detach. If the tab is busy, the error names the holder.
Inputs: tabId (required), browser, maxBytes, maxEvents, +3 more.
browser_cdp_detachDetach Raw CDPB
Detach an unrestricted CDP session from its tab and release child-target routing state.
Inputs: sessionId (required).
browser_cdp_eventsPoll Raw CDP eventsA
Read original CDP event methods, source targets, and params without field sanitization. Results may contain secrets or private browsing data.
Inputs: sessionId (required), limit, timeoutMs, afterCursor.
browser_cdp_sendSend Raw CDP commandA
Send any CDP method and JSON params without a method allowlist or response sanitization. Use targetSessionId for a child target previously attached within this Raw CDP session.
Inputs: method (required), sessionId (required), params, targetSessionId.
browser_clickClick page elementA
Compatibility selector-based click. New workflows should use browser_snapshot refs with browser_act.
Inputs: tabId (required), selector (required), browser, confirmed, +1 more.
browser_close_tabClose bridge-created Chrome tabB
Close a tab only when it was created by Chrome Agent Bridge in the current extension session.
Inputs: tabId (required), browser.
browser_debugger_recoverRecover debugger attachmentA
Release a tab's debugger attachment left by another session. Pass the occupant's sessionId as expectedSessionId; the call fails if the holder changed. An expired, idle lease is released directly; a live one requires confirmed=true after explicit user approval. Detaching does not undo navigation, evaluation, or storage changes the holder made.
Inputs: tabId (required), expectedSessionId (required), browser, confirmed.
browser_debugger_renewRenew debugger leaseA
Renew the idle lease of a Raw CDP or network session this task holds, optionally changing its length. Use during long pauses between calls.
Inputs: sessionId (required), leaseTtlMs.
browser_debugger_sessionsList debugger sessionsA
List the Raw CDP and network sessions holding tab debugger attachments in one browser, with owner label, lease expiry, in-flight commands, and network projections. Read-only; it does not renew any lease.
Inputs: tabId, browser.
browser_fillFill page fieldB
Compatibility selector-based fill. New workflows should use browser_snapshot refs with browser_act.
Inputs: tabId (required), value (required), selector (required), browser, +1 more.
browser_list_instancesList connected browsersA
List every Chrome (profile or user-data-dir) connected to this machine's bridge, with its instanceId, label, reachability, and tab count. Call this first when more than one browser may be connected, then pass instanceId or label as browser to browser tools.
Inputs: no named parameters.
browser_list_tabsList Chrome tabsA
List current scriptable Chrome tabs. Use before selecting a tab ID.
Inputs: browser.
browser_network_pollPoll network eventsB
Read sanitized request, response, completion, failure, and WebSocket lifecycle metadata after a cursor. Completion and failure events include method, status when known, and durationMs.
Inputs: sessionId (required), limit, timeoutMs, afterCursor.
browser_network_startStart network monitoringA
Start a tab-scoped, metadata-only Chrome network monitor. Pass rawSessionId to reuse that Raw CDP attachment instead of attaching a second debugger. Headers and bodies are never returned. Without rawSessionId the monitor holds the tab under an idle lease; always stop it.
Inputs: tabId (required), browser, urlMode, maxBytes, +6 more.
browser_network_stopStop network monitoringA
Stop a network monitor and release its resources. It detaches Chrome only when the monitor owns the attachment; a reused Raw session remains attached.
Inputs: sessionId (required).
browser_open_tabOpen Chrome tabC
Open an HTTP, HTTPS, file, or about:blank URL in Chrome.
Inputs: url (required), active, browser.
browser_screenshotScreenshot pageC
Capture the visible viewport of a Chrome tab. This activates the tab.
Inputs: tabId (required), browser.
browser_snapshotSnapshot pageA
Read visible page text plus semantic interactive elements with short-lived refs. Use a ref with browser_act, then take a fresh snapshot after every action.
Inputs: tabId (required), browser, maxChars.
browser_statusBrowser statusC
Check whether the Chrome extension and native host are connected.
Inputs: browser.
browser_watch_eventsWatch Chrome tab eventsB
Long-poll tab created, updated, removed, and activated events after a cursor.
Inputs: tabId, browser, timeoutMs, afterSequence.
collect_codeCollect page JavaScriptC
Enable Debugger on an existing Raw session, collect script metadata, and optionally fetch bounded script sources into the local MCP process.
Inputs: sessionId (required), waitMs, maxScripts, urlIncludes, +3 more.
console_get_exceptionsGet page exceptionsC
Enable Runtime, consume Raw exception events, and return bounded unsanitized exception details.
Inputs: sessionId (required), clear, timeoutMs, targetSessionId.
crypto_compareCompare crypto implementationsA
Run two supplied implementations against identical inputs in separate bounded Workers and compare outputs.
Inputs: code1 (required), code2 (required), testInputs (required), functionName (required), +1 more.
crypto_test_harnessTest extracted crypto functionA
Run a supplied function against deterministic string inputs in a bounded Worker and vm context. This is defense in depth, not a security sandbox.
Inputs: code (required), testInputs (required), functionName (required), timeoutMs.
debugger_capture_hitCapture debugger hitA
Wait for a pause and capture the call stack plus optional bounded top-frame scope variables.
Inputs: sessionId (required), timeoutMs, scopeDepth, includeScopes, +1 more.
debugger_disassembleDisassemble debugger scriptB
Try CDP WASM disassembly for a script and fall back to bounded source-line projection.
Inputs: sessionId (required), scriptId, callFrameId, targetSessionId, +1 more.
debugger_evaluateEvaluate in debuggerB
Evaluate an expression globally or on one paused call frame. This executes code in the selected page target.
Inputs: sessionId (required), expression (required), callFrameId, awaitPromise, +2 more.
debugger_get_paused_stateGet paused debugger stateA
Return the locally cached pause reason and frames without waiting for new events.
Inputs: sessionId (required), targetSessionId.
debugger_lifecycleManage debugger lifecycleB
Enable or disable the Debugger domain on an existing Raw CDP session.
Inputs: action (required), sessionId (required), targetSessionId.
debugger_pausePause debuggerC
Request a pause at the next JavaScript statement.
Inputs: sessionId (required), targetSessionId.
debugger_resumeResume debuggerC
Resume a paused JavaScript debugger.
Inputs: sessionId (required), targetSessionId.
debugger_run_to_locationRun to source locationB
Set a breakpoint at a script location and resume execution.
Inputs: scriptId (required), sessionId (required), lineNumber (required), columnNumber, +1 more.
debugger_sessionManage debugger session metadataB
Save, list, load, or export in-memory debugger metadata for one Raw session. Loading never silently recreates breakpoints.
Inputs: action (required), sessionId (required), name, targetSessionId.
debugger_stepStep debuggerA
Step into, over, or out from a paused JavaScript frame.
Inputs: direction (required), sessionId (required), targetSessionId.
debugger_wait_for_pausedWait for debugger pauseB
Poll Raw CDP events until Debugger.paused is observed or timeout expires.
Inputs: sessionId (required), timeoutMs, targetSessionId.
detect_cryptoDetect cryptographyB
Identify common cryptographic algorithms and operations referenced by supplied JavaScript.
Inputs: code (required).
detect_obfuscationDetect JavaScript obfuscationA
Score supplied JavaScript for common obfuscation signals using local deterministic heuristics.
Inputs: code (required).
extract_function_treeExtract function dependency treeC
Find a named function in collected scripts and recursively project statically named call dependencies.
Inputs: collectionId (required), functionName (required), maxDepth.
get_call_stackGet debugger call stackC
Return the most recently captured Debugger.paused call stack for a Raw session.
Inputs: sessionId (required), targetSessionId.
get_object_propertiesGet remote object propertiesB
Read properties for a Runtime remote object ID in the selected Raw target.
Inputs: objectId (required), sessionId (required), ownProperties, generatePreview, +2 more.
get_scope_variables_enhancedExpand scope variablesC
Recursively expand a bounded Runtime object graph from an object ID.
Inputs: objectId (required), sessionId (required), depth, maxProperties, +1 more.
grpc_frame_buildBuild gRPC framesC
Build deterministic gRPC or gRPC-Web length-prefixed messages.
Inputs: messages (required), outputEncoding.
grpc_frame_parseParse gRPC framesB
Split gRPC or gRPC-Web length-prefixed messages and trailer frames.
Inputs: data (required), strict, encoding.
http2_frame_parseParse HTTP/2 framesB
Parse one or more raw HTTP/2 frames from hex, including common frame payloads.
Inputs: inputHex (required).
js_deobfuscate_pipelineRun JavaScript deobfuscation pipelineB
Run conservative constant folding, dead-branch removal, string-array decoding, and optional control-flow deflattening.
Inputs: code (required), aggressive.
js_solve_constraintsSolve JavaScript constant constraintsB
Fold safe literal binary expressions and prune literal boolean branches without executing supplied code.
Inputs: code (required), maxIterations.
network_export_harExport raw network HARA
Write captured unsanitized requests, headers, and post data to a private local HAR artifact. Requires explicit confirmation.
Inputs: sessionId (required), confirmed, timeoutMs, targetSessionId.
network_extract_authExtract raw authentication materialB
Extract authentication headers and associated cookies from captured Raw events. Requires explicit confirmation and returns secrets.
Inputs: sessionId (required), confirmed, timeoutMs, targetSessionId.
network_get_response_bodyGet raw response bodyA
Read one response body by its original CDP requestId. The result is unsanitized and may contain secrets or private data.
Inputs: requestId (required), sessionId (required), targetSessionId.
network_get_statsGet raw network statisticsC
Consume unsanitized Raw Network events and summarize counts, status, types, bytes, failures, and duration.
Inputs: sessionId (required), timeoutMs, targetSessionId.
network_http2_fingerprintFingerprint HTTP/2 prefaceA
Calculate an Akamai-style deterministic fingerprint from captured HTTP/2 preface frames.
Inputs: inputHex (required).
network_interceptManage Fetch interceptionB
Enable, poll, continue, fail, fulfill, list, or disable explicit CDP Fetch interception. Paused requests remain blocked until handled or interception is disabled.
Inputs: action (required), sessionId (required), url, method, +11 more.
performance_coverageRecord code coverageB
Start or stop precise JavaScript coverage and optional CSS rule usage tracking.
Inputs: action (required), sessionId (required), includeCss, targetSessionId.
performance_get_metricsGet page performance metricsC
Return the selected target's CDP Performance.getMetrics values.
Inputs: sessionId (required), targetSessionId.
performance_take_heap_snapshotTake bounded heap snapshotB
Capture HeapProfiler snapshot chunks from Raw events and write a private local artifact. Fails rather than returning an incomplete snapshot when the Raw buffer truncates.
Inputs: sessionId (required), targetSessionId, captureNumericValue.
performance_traceRecord performance traceA
Start or stop CDP Tracing and write bounded events to a private local artifact.
Inputs: action (required), sessionId (required), timeoutMs, categories, +1 more.
profiler_cpuRecord CPU profileB
Start or stop the CDP CPU profiler and return the profile plus bounded hotspots.
Inputs: action (required), sessionId (required), targetSessionId.
profiler_heap_samplingRecord heap allocation samplingC
Start or stop CDP HeapProfiler allocation sampling.
Inputs: action (required), sessionId (required), targetSessionId, samplingInterval.
proto_auto_detectDetect protocolB
Classify bounded hex payload samples as HTTP, HTTP/2, TLS, DNS, SSH, WebSocket, or unknown.
Inputs: samplesHex (required).
protobuf_decode_rawDecode raw ProtobufB
Recursively decode schema-less Protobuf wire fields from base64 input.
Inputs: dataBase64 (required), maxDepth, maxFields.
proto_dissect_dnsDissect DNS payloadA
Parse an RFC 1035-style DNS payload from hex, including compressed names and common addresses.
Inputs: payloadHex (required).
proto_dissect_httpDissect HTTP/1 payloadB
Parse an HTTP/1 request or response start line, headers, and bounded body representations.
Inputs: payload (required), encoding.
proto_export_schemaExport protocol schemaC
Export inferred fields as a compact proto-like schema for review.
Inputs: name (required), fields (required).
proto_fingerprintFingerprint protocol payloadB
Fingerprint one raw hex payload without sending network traffic.
Inputs: payloadHex (required).
proto_infer_fieldsInfer protocol fieldsB
Infer constant, variable, and variable-tail byte regions across repeated hex payloads.
Inputs: samplesHex (required).
proto_infer_state_machineInfer protocol state machineC
Infer a deterministic state graph from direction, protocol fingerprint, and payload prefix.
Inputs: messages (required).
proto_visualize_stateVisualize protocol stateA
Render an inferred state machine as Mermaid stateDiagram-v2 text.
Inputs: machine (required).
search_in_scriptsSearch collected scriptsA
Search script sources already collected in this MCP process by literal text or regular expression.
Inputs: query (required), collectionId (required), regex, maxResults, +1 more.
sourcemap_coverageSummarize source-map coverageA
Summarize mapped original lines and sources for a parsed source map.
Inputs: mapId (required).
sourcemap_diffDiff source mapsA
Compare source membership and sourcesContent hashes between two locally parsed source maps.
Inputs: mapIdA (required), mapIdB (required), lineThreshold.
sourcemap_discoverDiscover source mapsA
Discover sourceMappingURL values from Debugger.scriptParsed events and collected script tails.
Inputs: sessionId (required), waitMs, targetSessionId.
sourcemap_fetch_and_parseFetch and parse source mapC
Parse supplied source-map JSON, or fetch a map through the selected page's authenticated fetch context before parsing it locally.
Inputs: mapText, scriptUrl, sessionId, sourceMapUrl, +1 more.
sourcemap_lookupLook up original source positionB
Map a one-based generated line and zero-based column back to an original source position.
Inputs: line (required), mapId (required), column.
sourcemap_parse_v4Parse v4-compatible source mapC
Parse compatible mappings and preserve ECMA-426 debug ID and scope-field metadata.
Inputs: mapText (required), mapUrl.
sourcemap_reconstruct_treeReconstruct source treeB
Reconstruct safe relative source paths and optionally return bounded sourcesContent from a parsed source map.
Inputs: mapId (required), maxFiles, includeContents.
transform_workbenchTransform binary payloadC
Run a reproducible local binary transform pipeline over base64 input.
Inputs: steps (required), inputBase64 (required), previewBytes, includeOutputBase64.
understand_codeUnderstand JavaScriptA
Parse supplied JavaScript locally and summarize structure, calls, complexity, globals, and optional security signals. No browser session is required.
Inputs: code (required), focus.
wasm_inspectInspect WebAssembly moduleA
Inspect a WASM module's sections, imports, exports, names, and producers using a local dependency-free structural parser.
Inputs: inputPath, inputBase64.
wasm_string_extractExtract WebAssembly stringsB
Extract printable strings by WASM section and classify URLs, hashes, base64, and paths.
Inputs: inputPath, minLength, maxStrings, inputBase64.
watchManage debugger watchesA
Add, remove, clear, list, and evaluate watch expressions on a global or paused frame.
Inputs: action (required), sessionId (required), watchId, expression, +2 more.
webpack_enumerateEnumerate Webpack modulesB
Evaluate a bounded Webpack module-table collector in the selected Raw target. This modifies the chunk array only by appending a runtime probe.
Inputs: sessionId (required), query, maxModules, targetSessionId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 100 tools
The set contains several overlapping clusters: browser_act vs. browser_click/browser_fill, browser_network_* vs. network_* vs. browser_cdp_events, and many debugger pause/capture/state tools that are hard to distinguish without deep CDP knowledge. JS analysis also overlaps across understand_code, detect_obfuscation, analysis_*, js_*, and ast_transform_* families, creating multiple plausible choices for the same task.
All names use snake_case, but conventions vary widely: some are prefix_verb_noun (browser_open_tab), some prefix_noun (browser_status), some verb_noun (detect_obfuscation), some bare nouns/verbs (breakpoint, watch), and some noun_verb (blackbox_add). With 100 tools, this inconsistency makes the surface harder to predict than a single convention would.
A 100-tool surface is far beyond an appropriate scope for a single MCP server and will overwhelm an agent's tool-selection process. Even though the server spans browser control, debugging, network inspection, binary/protocol analysis, and JS deobfuscation, the count is extreme and many tools feel specialized or redundant.
The server covers an unusually broad domain: tab lifecycle, CDP sessions, network monitoring/interception, debugger control, source maps, performance profiling, JS analysis, and binary/protocol parsing. There are minor likely gaps such as explicit browser storage/cookie management, but core workflows appear well covered rather than incomplete.
Maintenance
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
MCP server to assist with JxBrowser development.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server for browser automation, exposing tools for tab management, navigation, CDP, action plans, and cleanup.428MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible agents to securely control the user's already authenticated Chrome browser via explicit tab authorization and DOM-based actions.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceLocal MCP server for persistent Chrome automation with multi-profile support, enabling tab management, page inspection, element interaction, JavaScript evaluation, and screenshots while preserving login sessions across restarts.3MIT
- AlicenseAqualityAmaintenanceMCP server that drives your real Chrome/Edge/Opera browser through a Chrome extension and DevTools Protocol, preserving logins and session state, and can also perform OS-level mouse and keyboard input behind approval.5177 PyPI2MIT