OpenChrome
OpenChrome is a harness-engineered MCP server that drives AI agents through a real Chrome browser via CDP, enabling authenticated, parallel, and bot-resistant browser automation.
Navigation & Tab Management
Navigate to URLs, go forward/back, reload pages, create/close tabs
Manage multiple isolated workers and parallel browser lanes
List and switch Chrome profiles for per-profile isolation
Page Interaction
Click, type, scroll, hover, drag-and-drop, file uploads via natural language or precise coordinates
Fill forms (single or multi-field), execute multi-step action sequences (
act)Execute custom JavaScript (async/await, Shadow DOM helpers)
Content Reading & Extraction
Read pages as DOM, accessibility tree, CSS diagnostics, semantic summary, or clean Markdown
Find elements by natural language, CSS/XPath selectors, or vision-based annotated screenshots
Extract structured JSON data via schema, JSON-LD, Microdata, OpenGraph, or CSS
Inspect focused page state (forms, errors, tabs) without loading the full DOM
Parallel & Workflow Automation
Initialize multi-worker workflows with isolated tabs visiting different sites simultaneously
Track workflow progress, collect results, batch-execute JavaScript across tabs
Paginate through multi-page content (keyboard, click, URL, scroll strategies)
Execute cached plans by ID, bypassing per-step LLM calls
Network & Environment Control
Simulate network conditions (offline, 2G–4G, custom throttling)
Intercept, block, modify, or log network requests; capture traffic with/without response bodies
Manage cookies, localStorage/sessionStorage, HTTP auth credentials
Override user agent, geolocation, and device emulation (mobile/tablet/desktop)
Crawling & Scraping
Recursively crawl websites via BFS, best-first, or sitemap.xml with auto-discovery
Async/resumable crawl jobs with concurrency and content filtering options
Validate page health (navigation + console errors + DOM summary)
Screenshots, PDFs & Monitoring
Capture viewport or full-page screenshots (PNG/WebP/JPEG) and generate PDFs
Capture browser console output and collect Web Vitals (LCP, CLS, INP, TTFB, FCP)
Capture evidence bundles (DOM + screenshot + network + console + perceptual hash)
Diff two evidence bundles deterministically for before/after comparison
Monitor CDP connection health with heartbeat and reconnect metrics
Detect page gates (CAPTCHA, bot-check, SSO redirect, paywall, 2FA)
Assertions & Contracts
Evaluate Outcome Contract assertions against page evidence for pass/fail/inconclusive verdicts
Inspect safety policy matrix and preview policy decisions for tool/args combinations
Session & Context Management
Save/load checkpoints, snapshot/resume session context after compaction
Query tool call journal for session history, auditing, and handoff summaries
Compact journal entries into model-friendly summaries
Skills, Memory & Recording
Record and recall domain skills (reusable automation workflows keyed by domain+name)
Store domain knowledge (selectors, tips, avoid patterns) in a memory store
Record/replay full sessions; export as JSON, HTML, Puppeteer, Playwright, or MCP-replay formats
Task Orchestration & AI Support
Create and manage background tasks with polling; create task-scoped browser lanes
Structured reflection artifacts for task-failure recovery guidance
Check session progress (progressing, stalling, stuck) with advisory suggestions
Anti-bot stealth modes (CDP-free navigation, Turnstile bypass), circuit breakers, auto-recovery
Utilities
Generate TOTP 2FA codes for configured domains
Ask vision questions about screenshots via host LLM sampling
Fetch large output handles with pagination; copy text to clipboard
Run environment diagnostics (
openchrome doctor) for health checks
Enables AI agents to navigate, interact, and extract data from Amazon's website through the OpenChrome MCP server.
Enables AI agents to navigate, interact, and extract data from Datadog's dashboard through the OpenChrome MCP server.
Enables AI agents to navigate, interact, and extract data from eBay's website through the OpenChrome MCP server.
Enables AI agents to navigate, interact, and extract data from Stripe's dashboard through the OpenChrome MCP server.
Enables AI agents to navigate, interact, and extract data from Walmart's website through the OpenChrome MCP server.
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., "@OpenChrome compare AirPods Pro prices on Amazon, Best Buy, and Walmart"
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.
OpenChrome
OpenChrome is a browser automation MCP server for controlling a real Chrome browser from Claude Code, Codex CLI, OpenCode, or any MCP client.
It ships as a Node CLI plus MCP runtime. Desktop apps, browser extensions, native-host installers, deployment templates, and release artifact builders are outside this repository surface.
Install
Requires Node.js 20 or newer.
npm install -g openchrome-mcp
openchrome setup --client codexFor Claude Code:
openchrome setup --client claudeRestart the MCP host after setup so it reloads the generated configuration.
Related MCP server: chrome-agent-mcp
Run
openchrome serve --auto-launch --auto-elect --minimalManual Codex CLI configuration:
openchrome config --client codexAdd the printed [mcp_servers.openchrome] block to ~/.codex/config.toml.
CLI
OpenChrome can call its MCP tools directly from the shell:
oc run navigate --arg url=https://example.com
oc run read_page --arg mode=dom --json
oc navigate https://example.com
oc click ref_5Playbooks run deterministic YAML scenarios:
oc playbook run scenario.yaml --vars url=https://iana.org --out report.mdHTTP Mode
Run a long-lived MCP HTTP daemon when multiple clients should share one managed Chrome owner:
openchrome serve --http 3100 --auth-token <token> --idle-timeout 30m
curl -s http://127.0.0.1:3100/healthIndependent stdio clients should use separate --port and --user-data-dir
profiles, or connect through broker mode with --auto-elect.
Both stdio and HTTP serve the stateless MCP 2026-07-28 revision alongside
legacy initialize-based clients; see docs/mcp-2026-07-28.md.
Capabilities
Real Chrome control through CDP.
Navigation, clicks, typing, screenshots, DOM reads, accessibility reads, and natural-language element lookup.
Parallel tab/session workflows with broker-safe profile ownership.
Compact page serialization for lower-token agent loops.
Outcome contracts, evidence bundles, diffs, and diagnostics.
Optional pilot-tier recovery and skill runtime behind
--pilot.
Full tool catalogue: docs/agent/capability-map.md.
Documentation
Topic | Link |
Architecture | |
Getting started | |
CLI | |
Playbooks | |
MCP topologies | |
MCP 2026-07-28 support | |
HTTP daemon | |
Security model | |
Repository structure |
Development
git clone https://github.com/shaun0927/openchrome.git
cd openchrome
npm install
npm run build
npm testUseful checks:
npm run lint
npm run lint:repo-structure
npm run lint:tier
npm run docs:capability-map:checkLicense
MIT
Available Tools
122 toolsactADestructive
Execute multi-step browser actions from a natural language instruction. Parses and runs click, type, select, scroll, hover, navigate, and wait steps in sequence.
When to use: Automating a known multi-step flow (login, form fill, navigation) in one call. When NOT to use: Use interact for a single element action, or computer for raw coordinate input.
Inputs: tabId (required), instruction (required), verify, context, +6 more.
batch_executeADestructive
Execute JS across multiple tabs in parallel.
Inputs: tasks (required), failFast, concurrency.
batch_paginateB
Extract content from paginated viewers in one call.
Inputs: tabId (required), strategy (required), keyAction, startPage, +7 more.
computerA
Mouse, keyboard, and screenshot actions on a tab. Supports click, type, scroll, key, hover, and screenshot by pixel coordinate or element ref.
When to use: Precise coordinate-based input, screenshots, or keyboard shortcuts. When NOT to use: Use interact for natural-language element actions, or act for multi-step sequences.
Inputs: tabId (required), action (required), ref, text, +9 more.
console_captureBDestructive
Capture browser console output (start, stop, get, clear).
Inputs: tabId (required), action (required), limit, cursor, +4 more.
cookiesADestructive
Manage browser cookies (get, set, delete, clear).
Inputs: tabId (required), action (required), raw, name, +8 more.
crawlA
Recursively crawl a website via BFS. Opens pages in new tabs, extracts text and links, follows them up to max_depth. Respects robots.txt and scope constraints.
When to use: Extracting content from multiple pages of a site when the URL structure is not known in advance. When NOT to use: Use crawl_sitemap when the site has a sitemap.xml, or navigate for a single page.
Inputs: url (required), query, scope, cursor, +22 more.
crawl_cancelADestructive
Mark a crawl job as cancelled. Returns immediately. Subsequent crawl_status calls on this jobId will skip the runner and report status "cancelled".
Inputs: jobId (required).
crawl_sitemapA
Crawl a website using its sitemap.xml. Auto-discovers sitemaps from robots.txt or /sitemap.xml. Supports sitemap index files and URL filtering.
When to use: Extracting content from many pages of a site that publishes a sitemap.xml. When NOT to use: Use crawl for BFS discovery when no sitemap exists, or navigate for a single page.
Inputs: url (required), query, engine, filter, +13 more.
crawl_startA
Initialise a resumable crawl job. Returns { jobId, status: "pending" } immediately — performs NO network I/O. Drive progress with crawl_status({ jobId, advance: N }) which fetches up to N pages per call. Same args as the legacy crawl tool. Use crawl_cancel to stop.
Inputs: url (required), scope, delay_ms, max_depth, +11 more.
crawl_statusARead-onlyIdempotent
Advance a crawl job by up to advance pages (default 5, env OC_CRAWL_ADVANCE_DEFAULT) and return current state. advance: 0 is read-only and performs no fetching. Returns { status, completed, total, errors, pages?, pagesOmitted?, startedAt, finishedAt? }. Pages array is capped at OC_CRAWL_STATUS_MAX_PAGES (default 200).
Inputs: jobId (required), advance, includePages.
drag_dropB
Drag and drop by selector or coordinates. Pass intent="..." (≤120 chars) to label this action in audit logs.
Inputs: tabId (required), delay, steps, intent, +6 more.
element_pickA
Start or cancel an in-page human element picker overlay. Returns selector, DOM, style, and bounding-box facts; it does not persist skills directly.
Inputs: tabId (required), action, timeoutMs, cancelOnEscape.
emulate_deviceC
Emulate device viewport and UA via preset or custom.
Inputs: tabId (required), width, height, preset, +4 more.
execute_planADestructive
Execute a cached plan by ID, bypassing per-step LLM calls. Falls back gracefully on failure for manual retry.
Inputs: tabId (required), planId (required), params, taskSignature, +2 more.
extract_dataB
Extract JSON-schema data from JSON-LD, Microdata, OpenGraph, or CSS. Use multiple:true for listings, mode="semantic" plus query for bounded host-side chunks, or exactly one scope: selector, ref_id, backendNodeId.
When to use: Typed products, articles, prices, or semantic facts. When NOT to use: Use read_page for raw content or javascript_tool for ad-hoc scraping.
Inputs: tabId (required), schema (required), query, ref_id, +11 more.
file_uploadB
Upload files to a file input element on the page. Pass intent="..." (≤120 chars) to label this action in audit logs.
Inputs: tabId (required), selector (required), filePaths (required), intent.
fill_formC
Fill form fields and optionally submit. Pass intent="..." (≤120 chars) to label this action in audit logs.
Inputs: tabId (required), refs, fields, intent, +8 more.
findARead-onlyIdempotent
Find elements by query. Returns up to 20 matches with refs.
When to use: Locating elements by natural language when exact selectors are unknown. When NOT to use: Use query_dom when you have a CSS selector or XPath, or interact to find-and-click in one step.
Inputs: query (required), tabId (required), waitForMs, pollInterval, +2 more.
form_inputA
Set one form element value by ref. Pass intent="..." (≤120 chars) to label this action in audit logs.
When to use: Filling a single known input, textarea, select, or checkbox by ref. When NOT to use: Use fill_form({fields:{...}}) for multiple fields or optional submit.
Inputs: ref (required), tabId (required), value (required), intent, +2 more.
geolocationC
Set or clear geolocation override.
Inputs: tabId (required), preset, accuracy, latitude, +1 more.
http_authB
Set or clear HTTP auth credentials.
Inputs: tabId (required), action (required), password, username.
image_qaARead-onlyIdempotent
Ask the connected host LLM a question about a caller-supplied screenshot. Forwards via MCP sampling/createMessage when the client advertises the sampling capability. Returns { status: "unsupported_by_host", reason } when the capability is absent — OpenChrome never uses its own API keys. The caller MUST supply one of screenshot.ref, screenshot.path, or screenshot.base64. No auto-capture.
Inputs: question (required), screenshot (required), max_tokens.
inspectARead-onlyIdempotent
Extract focused page state by query. Returns headings, form fields, errors, tabs, and interactive counts scoped to the query intent.
When to use: Checking focused aspects of page state (forms, errors, tabs) without loading the full DOM. When NOT to use: Use read_page for full DOM/AX tree, or find to locate a specific element.
Inputs: query (required), tabId (required), scope, include_metrics.
interactA
Find element by natural language; click/hover/double_click it; wait for DOM settle; return state.
When to use: One described element action, with coordinate fallback for Shadow DOM/canvas/iframes. When NOT to use: Use act for multi-step flows; computer for general coordinate clicks.
Inputs: ref, mode, query, tabId, +15 more.
javascript_toolADestructive
Execute JavaScript in page context. Supports await, async IIFE, and shadow-DOM helpers via __pierce.
When to use: Custom DOM queries, data extraction, or triggering JS APIs not reachable via other tools. When NOT to use: Use interact or act for UI interactions, or extract_data for structured schema-based extraction.
Inputs: tabId (required), code, text, timeout.
lightweight_scrollA
Scroll page via JS. Returns new scroll position.
Inputs: tabId (required), direction (required), amount, smooth, +3 more.
list_profilesARead-onlyIdempotent
List available Chrome profiles with names and directory IDs.
Inputs: userDataDir.
memoryADestructive
Manage domain knowledge. Actions: "record" (store), "query" (retrieve by domain), "validate" (adjust confidence). Key prefixes: "selector:", "tip:", "avoid:".
Inputs: action (required), id, key, value, +2 more.
networkCDestructive
Simulate network conditions.
Inputs: tabId (required), preset (required), latencyMs, uploadKbps, +3 more.
network_capture_fullA
Capture network requests with response bodies (capped). Actions: start, stop, getLogs, clear. Bodies over maxBodyBytes are omitted with reason="over_cap".
Inputs: tabId (required), action (required), limit, cursor, +2 more.
network_capture_liteA
Capture network request metadata + headers (no bodies). Cheap passive recorder. Actions: start, stop, getLogs, clear.
Inputs: tabId (required), action (required), limit, cursor, +2 more.
oc_assertA
Evaluate a single Outcome Contract assertion against caller-supplied evidence (snapshot), persist the redacted result for bounded retrieval, and return verdict pass/fail/inconclusive plus failed leaf assertions. Core-tier single-call surface; retry and escalation live in the pilot runtime.
Inputs: args, contract, evidence, contract_id.
oc_browser_controlA
Observe a managed tab, check caller-supplied page/account conditions, or pause automatic input for explicit human control. Wait for phase=human before typing; this drains tracked tool handlers, not page timers or background requests. Resume requires the returned lease and expected URL. No automatic visible-browser restart.
Inputs: tabId (required), action (required), lease, reveal, +3 more.
oc_checkpointA
Save, load, list, or delete automation checkpoints for long-running session continuity. Use "save" to persist current task state, "list" to inspect the bounded checkpoint timeline, "load" to restore metadata after context compaction, and "delete" to clean up.
Inputs: action (required), label, checkpointId, pendingSteps, +3 more.
oc_connection_healthARead-onlyIdempotent
Get CDP connection health metrics including heartbeat mode, reconnect count, ping latency, connection state, and live reconnection progress. Use this to monitor connection stability during long-running sessions.
Inputs: no named parameters.
oc_context_exportARead-onlyIdempotent
Export the active tab's auth-relevant state (cookies + local/sessionStorage + optional UA/viewport/HTTP-auth) as a portable plaintext envelope. The envelope is byte-deterministic modulo capturedAt and carries a SHA-256 integrity hash for tamper detection on import. SECURITY: the envelope is plaintext by design — the host MUST treat it as a secret. Pair with oc_context_import on a fresh openchrome instance to carry signed-in state across hosts.
Inputs: tabId (required), origin, captureUA, includeStorage, +1 more.
oc_context_importA
Strict-replace import of a ContextEnvelope produced by oc_context_export. Verifies the SHA-256 integrity hash first — on mismatch returns { ok: false, integrityError } WITHOUT applying any state. On success, existing cookies for the envelope origin and the active-origin web storage are CLEARED, then the envelope payload is installed. Merge semantics are intentionally not supported. SECURITY: the envelope is plaintext — the host MUST treat it as a secret.
Inputs: tabId (required), envelope (required), strictOrigin.
oc_copy_to_clipboardA
Copy text to the system clipboard. Useful for copying MCP server URLs or config snippets.
Inputs: text (required).
oc_devtools_urlARead-onlyIdempotent
Get the Chrome DevTools inspector URL for the current worker's active page. Returns a URL you can paste into any local browser to attach live DevTools to the running page. Use targetId to select a specific open tab, or workerId to select a specific worker's current page.
Inputs: targetId, workerId.
oc_diffARead-onlyIdempotent
Compare two evidence-bundle IDs or paths and return deterministic DOM, screenshot phash, URL, console, and network diff facts.
Inputs: after (required), before (required), kinds. Returns: after, before
oc_doctor_reportARead-onlyIdempotent
Read the most recent openchrome doctor diagnostic report from cache. Returns the DoctorReport written by the last openchrome doctor run. Does NOT trigger new checks — run openchrome doctor in a shell to refresh.
Inputs: no named parameters.
oc_evidence_bundleA
Capture a snapshot of the current page state (DOM, screenshot, network slice, console, perceptual hash) and write it to a bundle directory. Returns { bundle_id, path, size_bytes, parts }. Default include = ['dom', 'screenshot']; pass include to capture more parts. network_window_ms (default 5000) limits the network slice to recent entries. Core-tier; does not depend on the pilot runtime.
Inputs: include, evidence, output_mode, target_schema, +2 more.
oc_evidence_getARead-onlyIdempotent
Retrieve a durable oc_assert evidence artifact by handle. Retrieval is limited to the owning MCP session and tenant; expired, deleted, malformed, and unauthorized handles return stable error codes.
Inputs: sessionId, evidence_handle. Returns: error, status, artifact, created_at, +2 more
oc_gate_inspectARead-onlyIdempotent
Detect whether the current tab is gated (CAPTCHA, bot-check, SSO redirect, paywall, 2FA prompt). Returns facts only — never invokes any solver, never makes a third-party HTTP call, never bypasses the gate. The host agent decides what to do next.
Inputs: tabId (required).
oc_get_connection_infoARead-onlyIdempotent
Get connection configuration for a web AI host (Claude Web, ChatGPT, Gemini, or custom). Returns the MCP server URL, bearer token, settings page URL, step-by-step instructions, and (when Chrome is reachable) a devtools block with live DevTools inspector URLs for all open pages. Use host="openchrome" to introspect the openchrome server itself — when --auto-connect is active, returns {mode: "auto-connect", userDataDir, port}.
Inputs: host (required).
oc_journalA
Query the tool call journal. Actions: "summary" (milestone overview), "recent" (last N entries), "handoff_summary" (compact JSON resume handoff). When to use: Reviewing session history, restoring context, or auditing past tool calls. When NOT to use: Use read_page or inspect to check the current live page state.
Inputs: action (required), tool, count, since, +3 more.
oc_journal_compactARead-onlyIdempotent
Compress a sliding window of journal entries into a compact model-friendly summary. Defaults to a deterministic recent_k strategy that fits a token budget. checkpoint_only returns milestone-flagged entries. sampling forwards a summarisation prompt to the host LLM via sampling/createMessage — only available when the client advertises the sampling capability; returns { status: "unsupported_by_host" } otherwise. OpenChrome never uses its own LLM.
Inputs: strategy, session_id, recent_steps, token_budget.
oc_lane_closeADestructive
Close a task-scoped browser lane and its lane-owned targets without closing unrelated task tabs.
Inputs: laneId, taskId, lane_id, task_id.
oc_lane_createA
Create a task-scoped browser lane on existing SessionManager worker/target primitives. Lanes isolate refs, tabs, and trace metadata for host-driven parallel work. Optional profile: "inherit" (default) shares the server Chrome user-data-dir; "scratch" provisions a fresh temp user-data-dir at creation and removes it on oc_lane_close.
Inputs: name, budget, taskId, profile, +3 more.
oc_lane_getARead-onlyIdempotent
Fetch one task-scoped browser lane including live target ids and counters.
Inputs: laneId, taskId, lane_id, task_id.
oc_lane_listARead-onlyIdempotent
List task-scoped browser lanes for a task.
Inputs: laneId, taskId, lane_id, task_id.
oc_normalize_actionARead-onlyIdempotent
Validate and normalize a near-valid browser/computer action payload without executing it. Use this before calling real action tools when a host model produced aliases such as left_click, hotkey, coordinate, or missing click button. This tool is side-effect-free: it does not touch Chrome, CDP, tabs, DOM, cookies, storage, or files.
Inputs: action (required), strict, targetTool, redactNormalized. Returns: ok, errors, safety, changed, +2 more
oc_observeARead-onlyIdempotent
Deterministic, numbered list of actionable elements on the page. When to use: replace the read_page → query_dom → inspect → interact pattern when you already know which kind of action you want to take (click / fill / select / hover / focus). Returns refs that plug directly into interact. When NOT to use: full-page comprehension (use read_page), structural CSS diagnostics (use read_page mode=css), or natural-language replay (use act). No LLM, no outbound network — pure AX-tree traversal.
Inputs: tabId (required), limit, scope, actions, +1 more.
oc_open_host_settingsA
Open the MCP connector settings page for a web AI host in the default browser.
Inputs: host (required).
oc_output_fetchA
Redeem an output handle returned by a large-output tool (read_page, crawl, network, extract_data, oc_evidence_bundle). Supports offset/limit pagination for JSON arrays (item-based) and binary blobs (byte-range). Returns eof=true and next_offset=null when the last page has been read.
Inputs: output_handle (required), limit, format, offset.
oc_performance_analyzeARead-onlyIdempotent
Drill into one named insight from a trace captured by oc_performance_insights. Returns Markdown details and an evidence list. Unknown insight names return { error: 'unknown_insight', supported: [...] } without crashing.
Inputs: insight (required), trace_id (required).
oc_performance_insightsA
Capture a CDP performance trace and return named insights (LCPBreakdown, DocumentLatency, RenderBlocking, CLSCulprits, LongTasks, ThirdParties). Returns a trace_id usable by oc_performance_analyze. Core-tier; trace handles are session-scoped and evicted on session close. Disable via OPENCHROME_PERF_INSIGHTS=0.
Inputs: tabId (required), url, reload, network, +2 more.
oc_policyARead-onlyIdempotent
Inspect deterministic OpenChrome safety policy. Use action="matrix" to list irreversible-action rules or action="evaluate" to preview a policy decision for a tool/args context.
Inputs: args, tool, action, dryRun, +3 more.
oc_profile_statusBRead-onlyIdempotent
Check browser profile type and capabilities.
Inputs: no named parameters.
oc_progress_statusARead-onlyIdempotent
Read-only diagnostics for whether the current OpenChrome session appears to be progressing, stalling, or stuck. Returns bounded counters and advisory next-call suggestions; it never stops, retries, recovers, or executes browser actions.
Inputs: window, sessionId, includeRecentCalls. Returns: status, window, counters, sessionId, +4 more
oc_queryARead-onlyIdempotent
Resolve a semantic element query into stable refs for interaction workflows. Uses local AX/DOM matching only; no external AgentQL or LLM provider is called. Pass returned refs to interact, act, fill_form, read_page(ref_id), or plan parseResult.storeAs paths.
Inputs: query (required), tabId (required), limit, purpose, +1 more.
oc_reap_orphansADestructive
Manually sweep and terminate orphaned OpenChrome-managed Chrome processes. Never touches attach-mode or unmarked user Chrome.
Inputs: ports, dryRun.
oc_recording_exportA
Export a recording as JSON or a self-contained HTML report. For HTML, saves to ~/.openchrome/recordings/{id}/report.html and returns the path.
Inputs: recordingId (required), format.
oc_recording_listARead-onlyIdempotent
List available session recordings, newest first.
Inputs: limit.
oc_recording_startA
Start a new session recording. All subsequent MCP tool calls will be recorded until oc_recording_stop is called. Errors if a recording is already active.
Inputs: label, profile, trajectoryBundle.
oc_recording_statusARead-onlyIdempotent
Report whether session recording is active, including trajectory bundle metadata when enabled.
Inputs: no named parameters.
oc_recording_stopADestructive
Stop the active session recording and finalize it to disk. Returns a summary of the recording. Errors if no recording is active.
Inputs: no named parameters.
oc_reflectB
Create, get, or list structured task-failure reflection artifacts. Reflections are passive recovery guidance only; OpenChrome never executes nextPlan automatically.
Inputs: action (required), id, avoid, limit, +9 more.
oc_run_eventsBRead-onlyIdempotent
Return recent events for an opt-in OpenChrome run ledger.
Inputs: run_id (required), limit.
oc_run_finishADestructive
Finish an opt-in OpenChrome run ledger with a terminal, needs_user_input, or needs_strategy_change status.
Inputs: run_id (required), status (required), message, metadata.
oc_run_startA
Start an opt-in OpenChrome run ledger. Returns {run_id,status,pathless metadata}.
Inputs: budget, run_id, tab_id, metadata, +1 more.
oc_run_statusC
Return the current status and summary for an opt-in OpenChrome run ledger.
Inputs: run_id (required), budget.
oc_session_resumeA
Restore working context after context compaction. Reads the last oc_session_snapshot, checks which tabs are still alive, and returns a resume guide with your objective, progress, and tab status. Call this after compaction to continue where you left off.
Inputs: taskId, snapshotId.
oc_session_snapshotA
Save browser state snapshot for context recovery after compaction. Captures open tabs, worker state, and your task memo. Use before long operations or periodically during multi-step tasks. Restore with oc_session_resume.
Inputs: objective (required), currentStep (required), nextActions (required), label, +2 more.
oc_skill_exportARead-onlyIdempotent
Export an opt-in codegen replay artifact written by --codegen. Returns the path and byte count for puppeteer, playwright, or mcp-replay output. Default OpenChrome behavior is unchanged when --codegen is off.
Inputs: format (required), skill_id, session_id.
oc_skill_recallARead-onlyIdempotent
Retrieve skills from the JSON skill memory store for a given domain. Returns a recency-sorted list (last_used_at desc). Optionally filter by contract_id and cap results with limit (default 20). No LLM ranking — deterministic store order is returned as-is unless task/query or ranked is supplied. Each result carries codegenReplay ({available, artifacts}) for the LLM-free replay fast path. Use oc_skill_record to write skills.
Inputs: domain (required), task, limit, query, +5 more.
oc_skill_recordA
Record a skill (domain, name, steps, contract_id) into the JSON skill memory store. Idempotent on (domain, name) — re-recording preserves the existing skill_id and usage counters while updating steps and contract_id. Pass frozen_snapshot to atomically write a gzipped snapshot alongside the record. Returns { skill_id, stored_at, snapshot_path? }. Core-tier; no LLM ranking. Use oc_skill_recall to retrieve skills.
Inputs: name (required), steps (required), domain (required), contract_id (required), +2 more.
oc_stopBDestructive
Shut down OpenChrome and close Chrome. Auto-relaunched on next tool call.
Inputs: dryRun, keepChrome.
oc_task_cancelADestructive
Request cancellation of a background task. Best-effort: the runner aborts the underlying tool at the next work-unit boundary. Terminal tasks are unaffected. PENDING tasks transition straight to CANCELLED.
Inputs: task_id (required).
oc_task_finishB
Finish a host-driven task envelope as completed, failed, or cancelled.
Inputs: outcome (required), note, taskId, task_id.
oc_task_getARead-onlyIdempotent
Fetch a single task by task_id. By default returns meta only; pass include_result=true to also resolve the persisted result payload.
Inputs: taskId, task_id, includeDigest, include_digest, +1 more.
oc_task_listARead-onlyIdempotent
List background tasks in the ledger. Default limit=50, sorted by created_at descending. Supports status/kind/since/limit filters.
Inputs: kind, limit, since, status.
oc_task_run_checkpointB
Write a compact caller-provided checkpoint summary for a non-terminal TaskRun and return the checkpoint metadata.
Inputs: run_id (required), summary (required), evidence, current_cursor.
oc_task_run_completeBDestructive
Enter a terminal TaskRun state (COMPLETED, FAILED, or CANCELLED). Terminal TaskRuns are immutable.
Inputs: run_id (required), status, failed_items, last_evidence, +2 more.
oc_task_run_getARead-onlyIdempotent
Read a TaskRun meta record and optionally its event log.
Inputs: run_id (required), include_events.
oc_task_run_listBRead-onlyIdempotent
List recent TaskRuns sorted by created_at descending. Read-only.
Inputs: limit, since, status.
oc_task_run_needs_helpA
Move a non-terminal TaskRun to NEEDS_HELP with a secret-safe reason, optional resume hint, cursor, and evidence pointer.
Inputs: reason (required), run_id (required), resume_hint, last_evidence, +1 more.
oc_task_run_startA
Start an opt-in goal-level TaskRun. Tracks user goal, success criteria, progress summary, item progress, and evidence across multiple OpenChrome tool calls without changing existing browser tools.
Inputs: goal (required), page_url, session_id, workflow_id, +3 more.
oc_task_run_updateA
Update a non-terminal TaskRun with progress, item results, cursor, evidence, or explicit NEEDS_HELP resume back to RUNNING. Existing browser tools are unaffected.
Inputs: run_id (required), status, workflow_id, failed_items, +6 more.
oc_task_startA
Create a task-level browser harness envelope, or launch a long-running tool as a background task. Returns a task_id that can be polled with oc_task_get / oc_task_list / oc_task_wait, or aborted with oc_task_cancel. The result is persisted to disk and survives MCP-session loss.
Inputs: args, kind, phase, policy, +1 more.
oc_task_updateB
Update a task envelope phase or note. Does not execute browser actions.
Inputs: note, phase, taskId, task_id.
oc_task_waitARead-onlyIdempotent
Block until the task reaches a terminal state (COMPLETED / FAILED / CANCELLED) or timeout_ms elapses. Default timeout_ms is 60000.
Inputs: task_id (required), timeout_ms.
oc_totp_generateA
Generate a current TOTP 2FA code for a domain. Requires TOTP secret to be configured.
Inputs: domain (required).
oc_vitalsARead-onlyIdempotent
Collect a read-only Web Vitals snapshot from the current page without adding page scripts or package dependencies. Returns LCP, CLS, INP, TTFB, and FCP with Core Web Vitals ratings where browser timing entries are available.
Inputs: tabId (required), timeoutMs. Returns: tabId, action, source, vitals, +1 more
oc_workspaceA
Open, list, or close a browser workspace. On MCP 2026-07-28 (stateless) connections every browser tool needs the workspace handle this returns: call action="open" once, then pass the handle on each browser call. The handle survives reconnects but not a server restart.
Inputs: action, workspace.
page_contentBRead-onlyIdempotent
Get HTML content from page or element.
Inputs: tabId (required), selector, outerHTML, boundaryMarkers.
page_pdfB
Generate PDF from page. Saves to path or returns base64.
Inputs: tabId (required), path, scale, format, +10 more.
page_reloadB
Reload the current page.
Inputs: tabId (required), ignoreCache.
page_screenshotA
Save page screenshot to file or return as base64. Supports full-page capture, region clipping, and multiple image formats.
When to use: Capturing a screenshot for saving to disk or when the full-page or clipped region is needed. When NOT to use: Use computer(action:"screenshot") for an inline viewport screenshot during interaction.
Inputs: tabId (required), clip, path, format, +3 more.
performance_metricsCRead-onlyIdempotent
Get page performance metrics.
Inputs: tabId (required), type, includeResources.
query_domARead-onlyIdempotent
Query DOM elements via CSS selector or XPath. Returns tag, attributes, text, position. CSS results include a ref field for use in subsequent calls.
When to use: Precise element lookup by CSS selector or XPath when you know the exact selector. When NOT to use: Use find for natural-language element search or read_page for full DOM structure.
Inputs: tabId (required), method (required), limit, xpath, +4 more.
read_pageARead-onlyIdempotent
Get page as DOM, accessibility tree (ax), CSS diagnostics, semantic summary, or clean Markdown (article-shaped).
When to use: Reading page structure, verifying content, extracting the full DOM tree, or reducing article-like pages to Markdown. When NOT to use: Use inspect for targeted state queries or find to locate a specific element.
Inputs: mode, depth, query, tabId, +20 more.
request_interceptADestructive
Intercept network requests (log, block, modify). preset="optimize-bandwidth" blocks Image/Media/Font/Stylesheet; preset="optimize-bandwidth-light" blocks Image/Media/Font. User block/allow/modify rules run after presets; explicit allow rules win. OPENCHROME_OPTIMIZE_BANDWIDTH= can auto-apply to new targets.
Inputs: tabId (required), action (required), rule, limit, +3 more.
storageCDestructive
Manage browser localStorage and sessionStorage.
Inputs: tabId (required), action (required), storageType (required), key, +2 more.
tabs_activateA
Explicitly activate an authorized Chrome tab and verify document visibility. Visibly changes the active tab; CDP-only mode never invokes an OS foreground helper.
Inputs: tabId (required), workerId, windowForeground. Returns: tabId, outcome, attempts, activated, +8 more
tabs_closeADestructive
Close one or more tabs by tabId, tabIds, or workerId.
Inputs: tabId, tabIds, workerId.
tabs_contextBRead-onlyIdempotent
Get session tab IDs grouped by worker.
Inputs: scope, summary, workerId. Returns: workers, tabCount, sessionId, workerCount, +1 more
tabs_createB
Create a new tab with URL.
Inputs: url (required), recall, workerId, isolatedContext, +1 more.
user_agentB
Set or reset browser user agent.
Inputs: tabId (required), custom, preset.
validate_pageA
Composite health check: navigate, wait, capture console errors, return structured summary (title, errors, interactive count, body sample).
When to use: Verifying a page renders correctly without errors in a single call instead of chaining navigate + wait_for + console_capture + read_page. When NOT to use: Use navigate + read_page when you need full DOM content, not just a health summary.
Inputs: url (required), tabId, include_metrics, waitForSelector, +2 more.
vision_findBRead-onlyIdempotent
Find elements using vision-based screenshot analysis. Returns annotated screenshot with numbered elements.
Inputs: tabId (required), mode, format, iframes, +7 more.
wait_forARead-onlyIdempotent
Wait for a condition. Strongly prefer 'function', 'selector', or 'url_match' — they return as soon as the condition is true (1 round-trip). Use 'timeout' only as a last resort: it blocks for a fixed duration and returns no information, forcing you to poll with another tool afterwards.
Inputs: type (required), tabId (required), value, timeout, +2 more.
workerC
Manage workers. Actions: "create" (isolated context), "list" (show all), "delete" (remove and close tabs).
Inputs: action (required), id, name, tabId, +2 more.
worker_completeCDestructive
Mark a worker as complete with final results.
Inputs: status (required), workerName (required), resultSummary (required), extractedData.
worker_updateB
Report worker progress to the orchestration scratchpad.
Inputs: workerName (required), error, action, result, +3 more.
workflow_cleanupADestructive
Clean up workflow resources (workers, tabs, scratchpads).
Inputs: no named parameters.
workflow_collectARead-onlyIdempotent
Collect and aggregate results from all workers after completion.
Inputs: no named parameters.
workflow_collect_partialARead-onlyIdempotent
Collect results from completed workers without waiting for all to finish.
Inputs: onlySuccessful.
workflow_initA
Initialize a workflow with multiple isolated workers for parallel browser ops.
Inputs: name (required), workers (required), globalTimeoutMs, workerTimeoutMs, +1 more.
workflow_statusARead-onlyIdempotent
Get current workflow status and worker states.
Inputs: includeLedger, includeWorkerDetails.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 122 tools
Multiple overlapping tool families create real confusion: three separate task/run systems (oc_task_*, oc_task_run_*, oc_run_*) have nearly identical start/get/list/cancel verbs, and several page-reading tools (read_page, inspect, page_content, extract_data, oc_observe) have fuzzy boundaries. Element location is split across find, query_dom, vision_find, oc_query, and oc_observe, while interact/act/computer require careful reading to distinguish. Detailed descriptions help, but the sheer number of near-duplicate surfaces will cause misselection.
The oc_ prefixed tools follow a reasonably consistent verb_noun pattern (oc_task_run_start, oc_session_snapshot), but the legacy non-prefixed tools mix conventions wildly: some are verb_noun (read_page, fill_form), others noun_verb (page_screenshot, page_reload), and several are bare nouns (computer, network, storage, cookies, memory). The confusingly similar oc_task_run_* vs oc_task_* prefixes and odd names like javascript_tool and batch_paginate further erode consistency.
122 tools is far beyond any reasonable scope for a browser automation server. There are multiple redundant subsystems (three task/run ledgers, at least five page-reading tools, three performance analyzers, two network capture tools) that inflate the surface without adding proportionate capability. This is a textbook case of tool sprawl that will overwhelm agents and add selection latency.
The browser automation domain is very thoroughly covered — navigation, reading, interaction, forms, network, performance, crawling, screenshots, and workflows all have extensive support with no obvious dead ends or missing core operations. If anything, completeness is over-achieved at the cost of coherence; the sprawl means completeness is high but at the expense of the other dimensions.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Let your AI agent operate any website through a real, logged-in browser session.
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to directly control your real Chrome browser with full context including login sessions, cookies, and open tabs. It provides tools for page scanning, JavaScript execution, CDP control, screenshots, and physical mouse/keyboard input for authentic browser automation.20243MIT
- AlicenseBqualityDmaintenanceEnables AI agents to fully control Google Chrome: navigate, click, fill forms, inspect DevTools, and manage tabs with parallel execution and session isolation.245 npmMIT
- AlicenseBqualityBmaintenanceEnables AI agents and developers to automate real Chrome/Chromium browsers through the Chrome DevTools Protocol, with token-efficient snapshots, multi-action batching, shadow DOM traversal, system-page control, extension management, and network/WebSocket inspection.951MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control a real, authenticated Chrome browser through native tools for navigation, DOM interaction, form filling, scraping, screenshots, and human-in-the-loop checkpoints while minimizing tokens and latency.MIT