Skip to main content
Glama

WebOperator — AI browser agent and MCP server for Chrome automation

Tell Chrome what you want done, in plain English, and let the agent do it.

Most browser agents bring their own browser. WebOperator works the one you are already in: the tab in front of you, with your sessions and logins intact — no separate profile, no re-login, no copying cookies around. The model behind it can be local, served by Ollama or MLX, so the pages you look at never have to leave the machine. And it works in both directions: the local bridge exposes that same live tab over MCP, so Hermes, OpenClaw, or any other agent client can borrow your browser as a tool.

git clone https://github.com/KazKozDev/WebOperator.git
npm --prefix WebOperator/core ci
npm --prefix WebOperator/core run build

WebOperator side panel in Chrome showing the task, skills, and schedule views

Your goal, typed once · The agent plans, acts, verifies · Every step visible

Quick start

Two ways in. If you would rather not touch Node, grab the weboperator-1.6.1-chrome.zip archive from the latest release and unzip it — that folder is the built extension.

If you ran the commands above instead, the build lands in core/dist and finishes in well under a second:

vite v8.0.11 building client environment for production...
✓ 101 modules transformed.
✓ built in 189ms

Either way, open chrome://extensions, enable Developer mode, click Load unpacked, and point it at the folder you just got. Press Cmd+Shift+K (Ctrl+Shift+K on Linux) to open the side panel, pick a provider under Settings, and type a goal.

Out of the box the agent talks to Ollama at http://127.0.0.1:11434, so have a tool-capable local model running before your first task — or paste an API key and use a remote provider instead.

Related MCP server: chrome-profile-debug

Automate a multi-step task across your open Chrome tabs

WebOperator works the tab you are looking at in a plan → act → verify loop: it writes out a plan you can read, calls one browser tool at a time, and checks each result against a fresh snapshot of the page before moving on.

Summarize the current page

It can navigate, click, type, press keys, scroll, switch tabs, screenshot, and pull out structured text — so the same loop still works when the answer is scattered across half a dozen open tabs.

Compare info across tabs

Long jobs do not stop at the first screen. The agent saves what it collects as it goes and checks that it has everything before it answers.

Task

How the agent checks it got everything

Collect 200 emails, job listings, or products

Saves the records on each page, checks the ranges shown, moves to the next page, and counts unique records.

Collect results from an infinite scroll

Saves new records before every scroll. If loading stops before the target, it reports the actual count.

Read a long article

Reads the text in sections or consecutive chunks and records how far it got.

The side panel streams the plan, every action, and the final answer, and keeps the full trace; history, checkpoints, and scheduled runs each get their own tab. The flip side: the agent only knows what it can actually see in the browser, so anything hidden, paywalled, or geo-blocked simply will not show up in the answer.

  • Agent engineering — a plan, act and verify loop, 29 browser tools, 6 loop guards

  • LLM security — the prompt-injection attack rate down from 44.4% to 0.0% across 9 adversarial fixtures

  • LLM evaluation — AssistantBench and 24 fixtures in a deterministic harness, see docs/evals.md

  • MCP — the browser exposed as an MCP server with 45 tools for any agent client

Schedule recurring browser automation in Chrome

Some tasks you want done whether or not you are at the keyboard. Give a schedule a start URL, a goal, and a cadence — once, hourly, daily, or weekly — and Chrome alarms wake the agent on time, even with the side panel closed.

Task name:  Morning release check
Start URL:  https://github.com/KazKozDev/WebOperator/releases
Repeat:     daily
Goal:       Tell me if a new version was published since yesterday

Every run lands in History with its trace, so you can go back afterwards and see exactly what it did. If a run hits something only you can clear — a login wall, a verification challenge — it stops and marks itself needs_user rather than failing quietly.

Connect Hermes, OpenClaw, or another MCP agent

Your live browser can be somebody else's tool. The local bridge speaks MCP over stdio and exposes 45 of them, including browser_snapshot, browser_navigate, browser_click, browser_type, browser_extract, browser_screenshot, tab and download tools, network and console capture, and weboperator_execute_goal. The full catalogue is in weboperator-bridge/tools.js.

cd weboperator-bridge
./install.sh
node mcp-server.js

install.sh registers the Native Messaging host that wires those calls to your active Chrome or Brave tab. Drop-in configs for Hermes and OpenClaw are already in weboperator-bridge/.

How it compares

What each project's own README says, checked 2026-11-22. "Not stated" means its README does not mention it, not that the feature is missing.

WebOperator

Nanobrowser

BrowserOS

Browser Use

Where it runs

the Chrome tab you have open

your own browser (extension)

a second browser, logins imported from Chrome

a cloud browser by default; locally, a fresh Chrome, a profile copy, or the Chrome you have open

Your logins

already there

already there

imported in one click

there when it drives your open Chrome

Exposes the browser over MCP

yes, 45 tools

not stated

yes

yes (README links its MCP docs)

Scheduled runs

yes: once, hourly, daily, weekly

not stated

not stated

not stated

Local models (Ollama)

yes, the default

yes

not stated

any OpenAI-compatible server

Install

release zip or source

Chrome Web Store

its own browser (Homebrew or installer)

Python package or CLI

How it works

A goal arrives from the side panel or from an external MCP agent. From there the service worker runs the show — model calls, task state, retries, verification, schedules, storage. The content script does the hands-on part: it turns the page into an accessibility snapshot with stable element refs, then performs DOM actions against those refs. Whatever the page says is treated as data, never as instructions to follow. Twelve built-in skills sit on top as domain playbooks and kick in when the agent recognizes a matching site or task.

goal → page snapshot → model tool call → verified action → trace

To read and act on the page you point it at, the extension asks for <all_urls> plus activeTab/tabs/scripting, and for debugger to reach the DevTools Protocol actions the plain DOM API cannot do. The rest are housekeeping: sidePanel for the UI, storage for settings and history, alarms for scheduled runs, downloads for the file-downloader skill, and nativeMessaging for the MCP bridge. bookmarks and tabGroups are optional and only requested when something actually needs them.

The debugger permission is why Chrome shows a yellow "WebOperator started debugging this browser" bar while an action runs. That bar belongs to Chrome, not to the extension, and it goes away as soon as the agent detaches.

Configuration

Option

Default

What it does

Provider

ollama

Selects Ollama, Anthropic, DeepSeek, Gemini, MLX, OpenAI, an OpenAI-compatible endpoint of your own, OpenRouter, SiliconFlow, or xAI

Base URL (OpenAI-compatible)

http://127.0.0.1:8080/v1

Points the OpenAI-compatible provider at llama.cpp, LM Studio, vLLM, LiteLLM, or any gateway

Ollama URL

http://127.0.0.1:11434

Sets the local Ollama endpoint

Screenshot policy

auto

Controls automatic, always-on, or disabled vision

Action timeout

10000 ms

Limits a single browser action attempt

Domain allowlist / blocklist

empty

Restricts or rejects tasks by domain when populated

Bridge authentication

The bridge listens on 127.0.0.1:8765 and will accept unauthenticated calls until you set WEBOPERATOR_API_TOKEN. Set it. Every bridge variable — bind host, port, socket and log paths — is documented in docs/api.md.

Requirements

  • Chrome 120 or newer, or a Chromium browser of the same generation

  • Node.js and npm, if you build the extension yourself

  • A model that can call tools, served locally by Ollama or MLX or reached through one of the remote providers in the table above. Tool calling is the one hard requirement, because tool calls are the only way the agent acts. Reasoning and vision are nice to have — without them the agent still runs, and the step trace tells you which one it went without

  • The extension is not on the Chrome Web Store, so you load it unpacked

  • macOS or Linux, for the MCP bridge installer

  • shellcheck, only if you run the full local check gate

  • Dynamic, canvas-heavy, or infinite-scroll pages can invalidate element refs between the moment the agent looks and the moment it acts.

  • Sites with bot detection or unusual focus handling can fail outright.

  • Long tasks drift. Checkpoints and context compression hold it back, but do not cure it.

  • Point it at a remote provider and that provider sees your page observations — text and screenshots included.

  • Chrome and Brave are the browsers we test. Other Chromium builds and Windows are untested, and the bridge installer flatly refuses to run outside macOS and Linux.

  • Ollama 403 — Ollama is refusing the extension's origin. Restart it with OLLAMA_ORIGINS="chrome-extension://phbohkmfojcjbmgfnaikenmgemgckdpg,http://localhost:*" ollama serve. The origin has to be spelled out: Ollama accepts chrome-extension://* into the list and then still answers 403. The id above is fixed by the manifest key, and the side panel's own error message repeats it.

  • "Model stopped issuing tool calls" — the model cannot call tools, or is too small to do it reliably. Swap it; tool calling is the one hard requirement.

  • Chrome rejects the folder on Load unpacked — point it at core/dist or at the unzipped release folder, not at the repository root.

  • The bridge answers 401 — you set WEBOPERATOR_API_TOKEN on the bridge but the client is not sending it. Add Authorization: Bearer $WEBOPERATOR_API_TOKEN to the request.

  • A task fails on a page that looks fine — check the step trace in the side panel first; a stale element ref or a bot-detection wall shows up there as the failing action.

Contributing

Bug reports, feature requests and pull requests are all welcome. CONTRIBUTING.md walks through the setup, the eight-step check gate every change has to clear, and the commit conventions. Released versions are listed in CHANGELOG.md.

Found a security problem? Please don't open a public issue — report it privately, the way SECURITY.md describes.

From a release

Each archive on the releases page ships with a .sha256 beside it, and is built and published by the release workflow from the tagged commit once the full check gate passes.

From source

npm --prefix core ci && npm --prefix core run build, then load the result as an unpacked extension.

Docker

There is no Dockerfile or Compose configuration.

Development

npm --prefix core run dev gives you watch builds. ./scripts/check.sh runs the whole gate: fixture evals, bridge smoke test, typecheck, lint, unit tests, dead-code scan, shellcheck, and build.

Check Chrome · Brave Version LICENSE

Issues · LICENSE · API · ARCHITECTURE · Agent protocol · LinkedIn

Available Tools

45 tools
agent_task_confirmC

Approve or reject a task pending confirmation.

Inputs: id (required), allow, approve.

agent_task_getC

Read a task and its recorded steps.

Inputs: id (required).

agent_task_listC

List recent agent tasks.

Inputs: limit.

agent_task_pauseB

Request cooperative pause at the next agent checkpoint.

Inputs: id (required).

agent_task_resumeC

Resume a cooperatively paused task.

Inputs: id (required).

agent_task_startC

Start a browser agent task; returns taskId immediately unless wait=true.

Inputs: goal (required), wait, tabId, startUrl, +2 more.

agent_task_stopB

Request cooperative cancellation; an in-flight model call may finish first.

Inputs: id (required).

agent_task_waitB

Wait for a task to finish, or return its current state at timeout.

Inputs: id (required), timeoutMs.

browser_clickC

Click an element on the webpage by its snapshot ref (e.g. "@e12"), numeric index, or CSS selector.

Inputs: ref, index, tabId, button, +3 more.

browser_downloadC

Download a URL and wait for completion.

Inputs: url (required), tabId, saveAs, filename, +1 more.

browser_dragC

Drag between two snapshot refs using real mouse events.

Inputs: to (required), from (required), steps, tabId, +1 more.

browser_evalC

Evaluate JavaScript in the page main world. Nonzero frameId targets that Chrome frame when available to CDP.

Inputs: expression (required), tabId, frameId, timeoutMs, +2 more.

browser_extractB

Extract text or structured data from the webpage according to an extraction instruction.

Inputs: ref, mode, since, tabId, +5 more.

browser_handle_dialogA

Call action=status before triggering alert/confirm/prompt to start observing dialogs. Then explicitly accept or dismiss a pending dialog. Does not handle native file pickers or browser security prompts.

Inputs: action (required), tabId, promptText.

browser_hoverB

Move a real mouse pointer to an element, triggering hover menus.

Inputs: ref (required), tabId.

browser_imageB

Read an image by snapshot ref, returning its bytes as MCP image content.

Inputs: ref (required), tabId.

browser_navigateC

Navigate a browser tab (the focused one unless tabId is given) to a specified URL.

Inputs: url (required), tabId.

browser_pressC

Press a keyboard key on a webpage (e.g. "Enter", "Tab", "Escape", "ArrowDown", "Backspace").

Inputs: key (required), ref, tabId, modifiers.

browser_readC

Read a page subtree as text or Markdown, preserving headings and links.

Inputs: ref, tabId, format, maxChars, +1 more.

browser_screenshotB

Capture a visual PNG screenshot of a browser tab (the focused one unless tabId is given).

Inputs: ref, tabId, format, saveTo, +2 more.

browser_scrollA

Scroll a page or an inner scroll container. Pass ref to scroll a specific container (e.g. a virtualized message list) instead of the window.

Inputs: to, ref, block, tabId, +2 more.

browser_select_optionB

Select an option in a native HTML select by value or label.

Inputs: value (required), ref, tabId, selector.

browser_snapshotC

Capture the structured accessibility tree and numbered interactive elements (buttons, inputs, links) from a browser tab (the focused one unless tabId is given).

Inputs: diff, text, query, roles, +7 more.

browser_solve_captchaB

Attempt to detect and automatically solve or click Cloudflare Turnstile, reCAPTCHA, hCaptcha, slider puzzle, or visual text challenges in the active tab.

Inputs: type, tabId.

browser_typeB

Type text by ref, index or CSS selector. Checks field limits and the full accepted value. Inspect rejected edits before retrying.

Inputs: text (required), ref, clear, index, +3 more.

browser_upload_fileA

Select an existing local file in a file input. Native host validates an absolute regular-file path and size <=40 MiB.

Inputs: ref (required), path (required), tabId.

browser_waitC

Wait for a condition. urlPattern is a URL substring; network_idle observes fewer than 2 requests for 500ms, with an explicit DOM quiet fallback if CDP is unavailable.

Inputs: until (required), ref, text, tabId, +5 more.

clipboard_readA

Read system clipboard text (native host on macOS; page context elsewhere).

Inputs: tabId.

clipboard_writeB

Write system clipboard text (native host on macOS; page context elsewhere).

Inputs: text (required), tabId.

console_listB

Start persistent console/error capture and list recent entries. Earlier page console history may be unavailable.

Inputs: level, limit, tabId, sinceMs.

cookies_getB

Read cookies via the existing debugger permission, filtered by domain or URL.

Inputs: url, tabId, domain.

cookies_setC

Set a cookie for an HTTP(S) URL via the existing debugger permission.

Inputs: url (required), name (required), value (required), path, +6 more.

downloads_listC

List browser downloads.

Inputs: limit, tabId, sinceMs.

downloads_readB

Read a completed local download by Chrome download id, without refetching its URL.

Inputs: downloadId (required), tabId, maxBytes.

network_clearC

Start capture and clear the tab request buffer.

Inputs: tabId.

network_getB

Read a captured response body (up to 5 MiB); request ids are scoped to tabId.

Inputs: requestId (required), tabId.

network_listA

Start persistent capture for this tab and list captured XHR/fetch/document requests. Call before navigation to include initial traffic.

Inputs: type, limit, tabId, sinceMs, +1 more.

storage_getC

Read local/session storage from the page origin.

Inputs: kind (required), ref, keys, tabId.

storage_setC

Write string values to page local/session storage.

Inputs: kind (required), items (required), ref, tabId.

tabs_activateC

Activate a tab and focus its window.

Inputs: tabId (required).

tabs_closeC

Close specified tabs, reporting individual errors.

Inputs: tabIds (required).

tabs_currentA

Return the focused browser tab id.

Inputs: no named parameters.

tabs_listA

List browser tabs with ids, titles, URLs and window ids.

Inputs: no named parameters.

tabs_openC

Open a browser tab.

Inputs: url (required), active, windowId.

weboperator_execute_goalB

Execute an autonomous browser goal end-to-end using WebOperator multi-step planner.

Inputs: goal (required), wait, tabId, startUrl, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 45 tools

    Disambiguation3/5

    Most tools target distinct browser actions, but several clusters overlap: browser_snapshot vs browser_read vs browser_extract, browser_screenshot vs browser_image, and weboperator_execute_goal vs agent_task_start. Descriptions help differentiate, but an agent must reason carefully about when to snapshot, read, extract, or run an autonomous goal.

    Naming Consistency4/5

    The set largely follows a consistent domain-prefix pattern: browser_*, tabs_*, network_*, console_*, cookies_*, storage_*, downloads_*, and agent_task_*. Minor deviations exist, such as tabs_list using noun_verb ordering and weboperator_execute_goal using a different prefix, but the conventions remain predictable.

    Tool Count2/5

    With 45 tools, the surface is very heavy for an MCP server and imposes high selection overhead. While browser automation is broad, several tools are closely related and could likely be consolidated or scoped into narrower capability sets.

    Completeness5/5

    Coverage is extensive: navigation, interaction, snapshots, screenshots, extraction, tabs, dialogs, uploads/downloads, network and console capture, cookies, storage, clipboard, captcha handling, and asynchronous agent tasks. Only minor lifecycle operations like explicit back/forward/reload are absent, and navigation can cover those.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables local opencode agents to control a live Chrome browser via MCP tools, including tab management, JavaScript execution, clicking, form filling, page reading, screenshots, and console log retrieval.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to drive individually named Chrome profiles, providing tools for tabs, navigation, page interaction, screenshots, JavaScript evaluation, console logs, and network inspection over stdio without a TCP port.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to see and control the user's real Chrome/Brave/Edge profile over MCP, so they can read pages, click, type, take screenshots, audit layouts, debug CSS, and scrape paginated or infinite-scroll data. Because it drives the normal browser via the DevTools protocol with real input events, it works on modern JavaScript apps and on sites where the user is logged in.
      25
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables any MCP-capable agent to drive a real Chrome browser through stdio or HTTP, supporting navigation, page reading, interaction, scrolling, JavaScript execution, and replaying saved step-by-step recipes.
      24
      Apache 2.0