Favicon of ZeroToken

ZeroToken

A local MCP server for AI agent browser automation. Uses Playwright and Chromium, replays recorded tasks, and connects to OpenClaw and Cursor under MIT.

ZeroToken is a local, open source MCP server that turns an AI agent's browser actions into reusable scripts. It's for people automating recurring web tasks, such as daily logins, report collection or browser tests, through OpenClaw, Cursor or another MCP client. The Python project uses Playwright and Chromium and carries the MIT license.

Its main distinction is script replay: after an agent works through a task, later runs can follow the recorded actions without asking an LLM to reason through every step again. Scripts support conditions, loops and variables, so repeated jobs can use different inputs. OpenClaw can trigger saved scripts through its scheduled jobs, while a persistent HTTP service preserves browser state across agent calls.

The browser tools handle multiple tabs and embedded frames, plus file uploads and downloads. Recordings retain page state, screenshots and results for review, and an exploration mode keeps unsuccessful experiments out of the final recording. ZeroToken stores scripts and execution records locally in SQLite.

When a step fails or needs judgment, execution pauses so the agent can retry, skip, amend or stop it. Alternative selectors and automatic waits help with changing pages; saved element fingerprints can help find an element after its original selector stops working. Page summaries and reduced screenshot payloads limit the context sent to the connected agent. Script health tracking records success rates and consecutive failures, and users can retire or restore saved scripts.

Similar to ZeroToken