Skip to main content
Glama

Give your agent a browser it can work with. Tablaze connects Codex and other MCP clients to Chromium through seventeen focused tools. Inspect a page, fill a form, extract a result, and check that the task actually succeeded.

Built with Playwright. Browser sessions stay running between calls; your MCP client supplies the reasoning. The MCP browser tools require no additional model API key. The optional standalone Agent loop uses an explicitly configured planner.

See it work

Watch the complete demo — about 2 minutes →

A real MCP SDK client completes one travel workflow: six form actions in one batch, five result checks, then a changed approval button. The stale reference is rejected with no approval or order; a fresh snapshot lets the workflow continue through an explicitly followed popup, four approval actions and three receipt checks. Finally, the recorder verifies the downloaded CSV's bytes and SHA-256, closes both owned tabs and confirms zero remaining sessions.

Real MCP demo: one approved trip, a verified CSV and zero remaining sessions

Batch the form → Verify → Stop and re-observe → Approve in the popup → Check the file

The 154-second recording presents actual tool responses and screenshots with conversational English male narration and optional captions. It contains no simulated cursor. A deterministic SDK script drives the local fixture; no model inference is involved. It is a presentation recording, not a continuous video feed from the controlled tab.

Reproduce the recording · Inspect the full trace

Related MCP server: hronaut

Measured development results

The third matched Codex run used five visible development tasks, one attempt per engine and task. Both engines passed independent business checks 5/5; Tablaze returned complete success 4/5, Browser Use 5/5. Tablaze's order task was interrupted by the old inference bridge after the order was recorded. Its failed call had no usage data, so total tokens remain unknown.

A separate order follow-up after the bridge fix completed successfully for both engines, each creating one order with no duplicate write:

Follow-up measurement

Tablaze

Browser Use

Agent reported completion

59.247 s

75.354 s

End-to-end time

59.415 s

93.706 s

Model calls, including judging

4

4 (1 judge)

Input / output tokens

59,123 / 664

70,868 / 1,002

Browser Use's default judge is included in its totals. Agent and end-to-end clocks have different starting boundaries. This single follow-up does not replace the original 4/5 result, and these small, visible samples do not establish overall superiority. Both reports retain raw results, source hashes, settings, and limitations.

A new four-task matched development smoke tested iframe input, interrupted-response order recovery, a virtual list and a visual canvas. Both engines completed all four with independent business acceptance; Tablaze's iframe sample was slower (83.799 s versus 52.515 s), while its other three whole-run samples were shorter. Each task ran once per engine, so this does not prove stable efficiency or overall superiority. The initial iframe observation gives newly attached child frames a bounded readiness wait. When the main page has no controls and exactly one visible child frame contains a form field, the first tab_open returns actionable child refs without another snapshot call; a real-Chrome regression fills and submits a delayed child form from those refs. In a six-pair matched Codex follow-up, both sides passed 6/6 with zero duplicate writes and all Tablaze runs skipped the extra frame snapshot. Tablaze's visible median whole-run time was 34.128 versus Browser Use's 57.526 s, while Agent-done time was 33.973 versus 39.778 s; Browser Use's judge is included only in whole-run time. One fixture does not establish stable speed or overall superiority. In the three-pair post-fix iframe follow-up, both engines passed every independent business check, but Tablaze's visible median whole time was 79.699 s versus Browser Use's 56.040 s. Two Tablaze runs spent extra model rounds recovering from an unnecessary text check of an input value; efficiency parity remains unproven. Action feedback now retains the operated child frame after such a failed post-check, allowing the next decision to inspect the right page without another frame-switch snapshot. In a fresh three-pair matched follow-up, both sides passed 3/3 with no duplicate writes. Tablaze's median whole-run time was 46.037 s versus 56.132 s, but its observed Agent-done time was 45.880 s versus 39.114 s. No run triggered the failed-check path, so the comparison does not measure this fix's speed effect.

The current Browser Use capability and public-issue audit tracks what is implemented, what remains missing across Agent/MCP/Harness/Pi/cloud, and which reported defects have a local reproduction or regression. Password fields now reveal only whether a value is present, while keeping its bytes redacted.

A four-task, two-seed matched Codex comparison covers forms, a virtual list, visual canvas and interrupted-response order recovery. Both engines passed 8/8 independent business checks with one correct write and no duplicates per attempt. Tablaze's visible median whole-run time was 56.331 versus Browser Use's 61.211 s, but Agent-done time was 56.177 versus 44.063 s; Browser Use's default judge runs after Agent completion. This development sample does not prove stable efficiency or overall parity.

The new first-open canvas image was tested in a separate four-pair Codex follow-up. Tablaze passed 4/4 business checks with no duplicate writes; Browser Use passed 3/4 after one attempt clicked twice despite reporting success. All four Tablaze traces skipped a separate tab_capture. On the three jointly successful seeds, median whole-run time was 41.552 versus 61.113 s and Agent-done time was 41.401 versus 42.578 s. This one visible task does not establish overall superiority.

Get started

Requires Node.js 20+, npm and Git. This is a developer preview; npm publication is pending, so install from source:

git clone https://github.com/SweetDianDian/tablaze.git
cd tablaze
npm ci
npm run build
node dist/cli.js setup

For installed Chrome, skip setup, run node dist/cli.js doctor --channel chrome, and append --channel chrome to the Codex command below. This launches a separate browser session.

On Linux, use npx playwright install --with-deps chromium in place of setup to install the browser and system dependencies.

Browser modes and diagnostics

Connect Codex

From the cloned directory, register the built server:

codex mcp add tablaze -- "$(node -p 'process.execPath')" "$PWD/dist/cli.js"
codex mcp get tablaze

Then ask Codex:

Use Tablaze to open https://example.com, read the heading and links, verify that the title contains “Example Domain”, then close the session. Report the result of the checks.

Complete Codex setup covers desktop configuration, browser selection and troubleshooting. Other MCP clients can launch the same node /absolute/path/to/tablaze/dist/cli.js command over stdio.

For workflows that need page-origin JavaScript, --page-script adds an opt-in tab_script tool. It has the page's full authority, including account data and network requests; it is unavailable with configured secrets, external CDP or a navigation policy. Scripts require a current main-frame snapshot and return a fresh one. See the page-script contract and recovery limits. The default catalog remains seventeen tools.

A separate native-Codex page-script smoke passed the independent authenticated-response judge once for both Tablaze and Browser Use CLI-MCP, with one correct write and no duplicates per arm. Codex-process samples were 198.359 s and 239.400 s respectively; browser setup differed, so this is not a controlled speed ranking or overall win.

Run a standalone task

The optional run command supports codex, anthropic, ollama, and openai-compatible planners. Always specify a model. Codex reuses the installed CLI and its existing login:

node dist/cli.js run --provider codex --model "<your-codex-model>" \
  --task "<authorized task>" --channel chrome

For a task with exactly one intended starting URL, add --direct-open-task-url to open it before the first model call. This is opt-in; --start-url <url> remains available when the caller already knows the exact page. See initialization and resume behavior.

For trusted setup before the first model call, --initial-actions ./initial-actions.json accepts an HTTP(S) starting url, then more URLs or {"click":{"name":"Open details","role":"button"}}. A click requires one uniquely named current-page control; ambiguity or truncated observation stops input. The SDK exposes the same sequence as initialActions. Each attempted action is checkpointed and never replayed automatically after an uncertain outcome. See the format and recovery rules.

In a three-pair same-Codex initial-click task, both Tablaze and pinned Browser Use passed independent business checks 3/3. Tablaze clicked before planning; Browser Use's queued click after navigation was skipped and its model completed the click later. Tablaze's median whole-run time was 68.562 versus 62.911 seconds and used one more model call per run. This visible task does not show a speed lead or overall feature parity.

In the same-source Codex task-URL follow-up, all 18 form/iframe attempts across Tablaze on/off and Browser Use passed the independent business judge once. On the form task, Tablaze's median Agent-done time was 30.378 s with direct-open versus 55.583 s without it; Browser Use took 37.647 s before its default judge. On the iframe task, Tablaze still took 56.317 s versus Browser Use's 40.495 s because all three Tablaze runs added an invalid input-as-page-text check. These visible tasks do not prove a general speed lead.

After making text and value check scopes explicit in the model-facing tool schemas, a six-pair iframe follow-up passed 6/6 per side with one correct write each. None of the six Tablaze runs repeated that invalid check; four finished in two planning calls and two used a separate verification call. Median Agent-done time was 42.162 s Tablaze versus 45.713 s Browser Use, with a 22-second Tablaze disadvantage on one seed. This remains a visible synthetic sample, not stable speed or overall superiority.

Use --output-schema ./result.schema.json to require a schema-valid JSON deliverable before the Agent can finish; the application should still check business correctness. The same schema is required on resume. See the Agent contract.

SDK callers can use createAgentControl() to pause at a safe boundary, add trusted steering, and resume with a fresh plan; queued writes are skipped and prior verification must be repeated. See live operator intervention.

The default compatible provider still requires --endpoint. Native Anthropic and Ollama use their own protocols and default endpoints; authentication, output settings, and model capabilities differ. An explicit --fallback-model can take over after transient planning failures, then remain active for that run without replaying browser actions. See provider setup and boundaries, CLI examples, and Agent verification and recovery. Anthropic/Ollama have local protocol coverage, without live inference results; the earlier comparison results above retain their original runtime hashes.

The new production Codex path also has a separate live smoke: two visible tasks passed independent business checks and completed successfully (2/2), with zero duplicate writes. This is not a new matched Browser Use comparison.

A new matched virtual-list task completed once on each engine with independent acceptance and zero duplicate writes. Under a shared 120,000-token budget, whole-run time was 86.830 s for Tablaze and 141.597 s for Browser Use, including its default judge. This one visible development task does not establish a general performance or success-rate advantage.

The delayed-control development comparison records a real Codex run that opened a menu and clicked its newly appearing option in one guarded Tablaze action batch. In the final visible matched attempt, both agents completed with one correct write and zero duplicates; Tablaze took 80.715 s and Browser Use 77.720 s. The report retains an earlier wrong-role failure and recovery. These changing-source samples do not establish a stable speed or overall advantage.

The separate cross-origin authorization-return task also passed once on each engine with one provider authorization and one app submission. Browser Use's 119.515 s whole run was slightly shorter than Tablaze's 123.719 s. This synthetic popup flow does not establish production login parity or an overall ranking.

For debugging an actual run, --record-video optionally records each owned isolated tab as a private WebM. tab_close returns finalized paths and SHA-256 digests; the standalone run report includes them after cleanup. It is off by default and adds no simulated cursor or audio. See real browser recording and privacy limits.

--record-har and --record-trace optionally save an owned session's network HAR and Playwright trace ZIP. HAR response bodies are omitted by default; trusted operators can explicitly select --har-content embed|attach and --har-mode full|minimal. Finalized private paths, sizes and SHA-256 digests appear after cleanup. Every mode can contain private request data, and body modes can include sensitive responses. See diagnostic artifacts.

Trusted operators can set viewport, screen, pixel ratio, user agent, locale, time zone, mobile behavior, touch and page permissions on owned browser contexts. --no-viewport lets desktop content follow the browser window; headed sessions also accept --window-size and --window-position. --device-preset pixel-7 and pixel-7-pro apply a coherent set of mobile emulation properties from pinned Playwright descriptors. doctor reports effective settings without echoing the user-agent string; external CDP browsers cannot be reconfigured. See browser configuration and limits. Owned contexts also accept --proxy-server with optional bypass rules and credentials read from an environment variable; the configuration guide records the tested HTTP routing path and remaining proxy validation.

A small loop, with useful controls

Capability

What it gives your agent

Warm sessions

Keep page state between calls. Temporary, isolated browser contexts by default; explicit CDP attachment for an existing profile.

Owned persistent profile

Opt into a dedicated private Chrome directory with a required profile ID on reuse and exclusive ownership. Browser-managed login state can survive a cold restart.

Compact observations

Full or incremental snapshots with element refs, text budgets and visible truncation.

Guarded actions

Check snapshot revisions and DOM targets before input. Re-observe when a target changes.

Ordered batches

Send up to 20 actions in one call, with completed, failed and skipped steps. Stops on error; earlier effects remain.

Delayed controls

After clicking an observed opener, wait for one exact-name visible button or menu item and click it in the same guarded batch. Ambiguous matches stop before input.

Explicit verification

Check URL, title, text, field values, visibility and counts. Known same-document outcomes can be checked inside tab_act after its batch, with passing evidence available to the Agent in that call.

Optional response journal

Use --capture-network to inspect bounded responses from owned pages and popups through an eighteenth MCP tool, tab_network. Off by default; not a programmable JS/CDP surface.

Optional real video

Use --record-video for private WebM recordings of owned isolated tabs, finalized with SHA-256 at session close. Recording scope and limits.

Optional navigation policy

Exact-origin allow/deny rules for HTTP(S) document requests, including redirects, frames and popups, in owned isolated browsers. No external CDP; not a network firewall.

Seventeen tools

Tool

Use it to

tab_open

Open a page and receive its first snapshot.

tab_snapshot

Observe the page, changes or a selected frame.

tab_find

Search visible text while scrolling a page or observed virtual-list container; return a fresh actionable snapshot.

tab_act

Guarded form input, explicit readonly-input/native-listbox selection, drag/drop, container scrolling, file selection and coordinate actions; optional post-action checks.

tab_click_named

Click exactly one actionable main-document control by accessible name after a fresh bounded observation; refuse ambiguous matches.

tab_verify

Test explicit page assertions and guarded form values by ref or CSS selector.

tab_extract

Read text, links or tables.

tab_capture

Capture a JPEG screenshot.

tab_list

Inspect owned sessions.

tab_close

Close a session and release its resources; return finalized WebM artifact metadata when recording was enabled.

tab_navigate

Navigate, go back/forward, or reload without losing session state.

tab_tabs

Open, switch, and close owned tabs, including popups.

tab_downloads

Inspect download status and local artifacts.

tab_dialog

Arm a one-shot accept/dismiss response to a native dialog.

tab_state

Save authentication state for explicit import into a new session.

tab_extract_structured

Extract typed fields against a JSON schema with DOM source citations.

tab_pdf

Export a private PDF artifact with source URL and SHA-256 digest.

Explore the project

Guide

Inside

Codex integration

Copyable configuration, tool arguments and troubleshooting.

Runtime reference

Reference lifetime, batch semantics, browser modes and current limits.

Typed custom tools

SDK schemas, trusted application context, browser bindings and recovery contracts.

Model providers

Codex CLI, native Anthropic/Ollama and compatible HTTP contracts, authentication and usage.

Navigation policy

Trusted CLI/SDK configuration, document-only scope, transport-loss limits and checkpoint identity.

Scoped credentials

Trusted aliases, exact-origin login fills, redaction limits and recovery.

Real browser recording

Opt-in WebM artifacts, CLI/MCP/SDK access and privacy limits.

Browser Use variants audit

Distinguish Agent, MCP, Harness, Pi and cloud comparison targets; source audit, not a benchmark.

Benchmark

Reproduce the local workload and inspect every raw sample.

Validation evidence

Real browser, SDK and Codex results, with their measured scope.

Security

Data handling, resource ownership and private reporting.

Release packaging

Build the npm tarball and source archive.

The historical 0.1.0 Ubuntu CI run on Node 20 and 22 passed its build, browser/MCP tests and package inspection. The later Ubuntu Node 20/22 run for commit c9d091a, which includes the provider adapters, also passed both jobs. That run predates the navigation-policy increment. Current development validation is recorded separately. To check a source checkout yourself, run npm test; use npm run bench for the separate local benchmark.

Contribute

Bring a reproducible browser case, improve a guide, or send a focused fix. Open an issue · Submit a pull request · Read the contribution guide

MIT licensed · Dependency credits and project provenance

The current development branch adds scoped/viewport snapshots, consistent composed-DOM reading, rich controls, file workflows, tabs, structured extraction, and a model-driven agent loop with checkpoint/resume. extractWithPlanner and tablaze-extract use a separately selected model for quote-checked, schema-valid extraction from supplied source text. tablaze run --extraction-model also exposes browser-bound extraction to the Agent. These additions have not yet been published to npm. See the one real Codex extraction check and current validation. The Browser Use comparison records remaining gaps and unmeasured acceptance criteria; it does not claim superiority.

CLI Agent and stdio MCP uploads use a trusted file list: no host files are available by default, --available-file grants specific files, and same-session downloads can be uploaded by ID. For authenticated tasks, --storage-state-file /absolute/private/state.json applies a trusted Playwright state file to each new isolated session without disclosing its path to the Agent.

Available Tools

16 tools
tab_actAct on observed elementsA
Destructive

Execute 1–20 ordered actions against a current snapshot. Optional post_checks run only after the whole batch completes, using this same snapshot's refs; they poll for asynchronous outcomes and return verification evidence in this call. A failed postcondition keeps completed effects, sets replan_required, and skips later queued tools. Ref checks fail if the document or node changes; use separate tab_verify after navigation. Use fill_secret with an observed ref and a secret alias from snapshot.available_secrets for configured credentials. Includes hover, double_click, explicit local-file upload, and click_xy in main-viewport CSS pixels after visual inspection (coordinates lack DOM identity guards). Default 30s action budget, maximum 60s; verification has a separate timeout. Stops on first action failure. A followed popup returns its snapshot and replan_required without running post_checks. Cancellation closes the session; completed effects remain.

Inputs: actions (required), session_id (required), snapshot_id (required), timeout_ms, +3 more.

tab_captureCapture pageA
Read-only

Capture the current viewport, or the full page when explicitly requested. Images can contain visible page data. Returns an image and URL metadata.

Inputs: session_id (required), full_page.

tab_closeClose sessionA
Destructive

Close one session owned by this server and release its resources. Unsaved changes in that session are lost.

Inputs: session_id (required).

tab_dialogHandle next native dialogA
Destructive

Arm a one-shot accept or dismiss response before the action that opens an alert, confirm or prompt. Optional prompt_text is entered only for that dialog. Unarmed dialogs are dismissed and reported as unsupported flow; check actual outcomes before retrying.

Inputs: action (required), session_id (required), prompt_text.

tab_downloadsInspect downloadsA
Read-only

List downloads created by this session. Supply download_id to wait up to timeout_ms for completion. Completed results include an owned local artifact path. Pending is not completed; failed downloads set isError. Files remain after closing the session.

Inputs: session_id (required), timeout_ms, download_id.

tab_extractExtract page dataA
Read-only

Read bounded text, links or table data, optionally within a CSS selector. Returns truncation information when the result is limited.

Inputs: kind (required), session_id (required), selector, max_items.

tab_extract_structuredExtract schema-validated fieldsA
Read-only

Read named fields from observed DOM using selectors, validate strict JSON Schema draft-07, and return per-field source URL/selector/quote provenance. Supports text, attributes, current non-sensitive values, typed scalars and arrays. At most 30 fields, 20 matches per field, 100 total. Does not call a model or infer missing facts; hidden/password controls and truncated evidence are rejected.

Inputs: fields (required), schema (required), session_id (required).

tab_findFind text through a long or virtual listA
Destructive

Search the current frame for visible text, scrolling a page or one observed vertical scroll container in bounded steps. Use container_ref with its current snapshot_id for a virtual list. Returns a fresh viewport snapshot with actionable refs when found; found:false means no match within the searched range, not proof the whole application lacks it. This changes scroll position but does not click or submit.

Inputs: text (required), session_id (required), frame_id, timeout_ms, +3 more.

tab_listList sessionsA
Read-only

List the sessions owned by this server. Does not launch a browser or discover unrelated user tabs.

Inputs: no named parameters.

tab_navigateNavigate current tabA
Destructive

Navigate within an existing session while retaining cookies and tabs. Supports goto, back, forward and reload. Returns a fresh snapshot; previous references are invalidated.

Inputs: action (required), session_id (required), url.

tab_openOpen browser sessionA
Destructive

Open an HTTP(S) page in a new session and return a compact full snapshot. Cancellation cleans up this opening attempt, including late-created pages, without closing sibling sessions or the shared browser. The browser stays warm for subsequent calls.

Inputs: url (required), storage_state.

tab_pdfExport page as PDFA
Destructive

Print the active page into a private local PDF artifact and return its path, SHA-256 and source URL. Files survive closing. Print layout can differ from the screen; inspect the artifact when layout matters.

Inputs: session_id (required), format, landscape.

tab_snapshotObserve pageA
Read-only

Read the page and mint a new snapshot_id. Scope to one CSS root with selector or the visible viewport with viewport_only to reach controls beyond a truncated page. Changing scope resets the diff baseline. Respect truncation and frame metadata. When secrets are configured, available_secrets lists aliases available for the observed frame and top-level origin; it contains no secret values.

Inputs: session_id (required), mode, frame_id, selector, +3 more.

tab_stateSave browser authentication stateA
Destructive

Save cookies, localStorage and IndexedDB to a private local artifact file for a later tab_open storage_state import. The file can contain credentials; state contents are not returned to the model. SessionStorage, extensions and open tabs are not saved.

Inputs: session_id (required).

tab_tabsManage owned tabsA
Destructive

List, open, switch or close tabs within a session. Popups stay open and appear in snapshots; switch explicitly to work in them. Only this session's pages are accessible. Closing its last tab closes the session.

Inputs: action (required), session_id (required), url, tab_id.

tab_verifyVerify browser outcomeA
Read-only

Check 1–20 explicit assertions. For current input/textarea/select values, use kind:value with exactly one observed ref or CSS selector. Any ref requires the current snapshot_id; the same snapshot remains readable after act if no newer snapshot or document change replaced it. Text checks inspect visible page text, excluding raw form values. A successful click alone does not prove success.

Inputs: checks (required), session_id (required), timeout_ms, snapshot_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools map cleanly to a distinct browser operation: session lifecycle, navigation, snapshots, actions, extraction, verification, downloads, dialogs, and PDF. The closest overlap is between tab_snapshot/tab_find and tab_extract/tab_extract_structured, but the descriptions clearly separate search-and-scroll from simple read and simple extraction from schema-validated extraction.

    Naming Consistency5/5

    Every tool uses a consistent tab_ prefix and snake_case naming, making the set highly predictable. Although a few names like tab_tabs and tab_downloads are noun-based rather than strict verb_noun, the uniform prefix convention removes ambiguity.

    Tool Count4/5

    At 16 tools, this is at the upper edge of a comfortable browser automation toolkit, but each tool covers a genuinely distinct capability such as dialogs, downloads, PDF, multi-tab management, and storage state. It feels slightly heavy but not bloated for the stated purpose.

    Completeness4/5

    The set covers the core browser automation lifecycle: session open/close, navigation, snapshots, actions, verification, extraction, capture, downloads, dialogs, PDF, and state persistence. Minor gaps such as direct cookie/localStorage editing and an explicit wait primitive can be worked around via tab_state and post_checks or tab_verify.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to operate an isolated local Chromium browser through MCP, with semantic snapshots, ref-based actions, search, research, crawling, and CDP access.
      Apache 2.0
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to control a persistent local browser with live tabs, navigation, interaction, inspection, and state management through MCP.
      6
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a headless Chromium browser through MCP, enabling AI agents to browse JavaScript-rendered pages, search the web, capture screenshots, extract tables and data, and run stateful multi-step interactions like clicking, typing, and form submission.
      1
      MIT