Weboperator

io.github.KazKozDev由 GitHub 帳號 KazKozDev 發布v1.5.1更新於 Oct 24, 2026

Hands your live Chrome tab to any MCP client — snapshot, navigate, click, type, extract.

已驗證STDIO僅桌面瀏覽器自動化開發者工具

概覽

AI 產生的概覽

讓 MCP 用戶端直接操作你正在使用的 Chrome 分頁:快照、導覽、點擊、輸入、捲動、截圖、擷取,並執行完整目標。

可以做什麼
本機橋接透過 stdio MCP 暴露你目前作用中的 Chrome 或 Brave 分頁,提供十個工具,包括 browser_snapshot、browser_navigate、browser_click、browser_type、browser_press、browser_scroll、browser_screenshot、browser_extract、browser_solve_captcha 與 weboperator_execute_goal。它作用於你已開啟的分頁,因此現有工作階段與登入狀態維持不變。擴充功能本身執行計畫-執行-驗證迴圈,內含 29 個瀏覽器工具、排程執行、歷史記錄與檢查點。
適用情境
當 Hermes、OpenClaw 等外部代理用戶端需要借用你真實的瀏覽器,而不是另外開啟一個瀏覽器時,或需要依排程重複執行瀏覽器任務時使用。適合跨多個已開啟分頁、需要讀取並操作頁面的多步驟工作。
執行需求
Chrome 120 以上版本,或同世代的 Chromium 瀏覽器;由於未上架 Chrome 線上應用程式商店,需以未封裝方式載入。自行建置擴充功能需要 Node.js 與 npm;MCP 橋接安裝程式僅支援 macOS 或 Linux。需要一個支援工具呼叫的模型,可透過本機 Ollama 或 MLX,或使用遠端供應商。橋接設定使用 WEBOPERATOR_BRIDGE_PORT、WEBOPERATOR_AGENT_SOCKET 與 WEBOPERATOR_API_TOKEN。
安裝前請注意
在設定 WEBOPERATOR_API_TOKEN 之前,橋接會接受未驗證的呼叫,因此應設定該變數並以 bearer 權杖送出。擴充功能要求 、activeTab、tabs、scripting 與 debugger 權限,可在真實瀏覽器中點擊、輸入、導覽與下載檔案。使用遠端模型供應商時,頁面觀察內容(含文字與截圖)會傳送給該供應商。排程任務會在你不在場時執行操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Weboperator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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.

bash
git clone https://github.com/KazKozDev/WebOperator.gitnpm --prefix WebOperator/core cinpm --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.5.0-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:

text
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.

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.

text
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.

text
Compare info across tabs

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.


[Four competencies: agent engineering — a plan, act and verify loop with 29 tools and 6 loop guards; LLM security — the prompt-injection attack rate reduced from 44.4% to 0.0% across 9 adversarial fixtures; LLM evaluation — AssistantBench and 24 fixtures in a deterministic harness; MCP — the browser exposed as an MCP server with 10 tools for any agent client]

  • 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 10 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.

text
Task name:  Morning release checkStart URL:  https://github.com/KazKozDev/WebOperator/releasesRepeat:     dailyGoal:       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 ten of them: browser_snapshot, browser_navigate, browser_click, browser_type, browser_press, browser_scroll, browser_screenshot, browser_extract, browser_solve_captcha, and weboperator_execute_goal.

bash
cd weboperator-bridge./install.shnode 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 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.

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

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 and requirements

Configuration

OptionDefaultWhat it does
ProviderollamaSelects 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/v1Points the OpenAI-compatible provider at llama.cpp, LM Studio, vLLM, LiteLLM, or any gateway
Ollama URLhttp://127.0.0.1:11434Sets the local Ollama endpoint
Screenshot policyautoControls automatic, always-on, or disabled vision
Action timeout10000 msLimits a single browser action attempt
Domain allowlist / blocklistemptyRestricts 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
Limitations
  • 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.
Troubleshooting
  • 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.

Manual installation, Docker, development setup

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.



來源:README.md,提交 a92ed89

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.5.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分