ctoldigital/axuse
Accessibility-first MCP server for browser and desktop automation without screenshot loops
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
axuse is a JavaScript MCP server and CLI for Node.js 22+ with no npm dependencies. Its thin, per-call adapter in src/mcp/ accepts JSON-RPC 2.0 over stdio and delegates through src/core/commands.js. The core owns browser sessions, tabs, observation state and dialogs. cdp.js launches or attaches to Chromium through a browser-level WebSocket and uses flattened CDP sessions with target auto-attachment for out-of-process iframes.
The serializer traverses DOM and accessibility structure, including shadow DOM and same-origin frames. References bind to element identity rather than snapshot position, and out-of-process frame references carry a namespace. diff.js compares references and text lines and can fall back to a full snapshot when sending the diff is less efficient. The alternative Chrome/Edge backend preserves the command contract: the MV3 extension uses chrome.debugger, a native-messaging host relays frames, and a token-authenticated TCP hub carries NDJSON. Desktop drivers are separate platform-specific components; validated plugin exports can contribute additional MCP tools.
Key Capabilities & Differentiators
ax_open returns an initial text snapshot with element references. Browser actions resolve those references against live state, translate coordinates across frames, and issue trusted CDP input events. Actions normally return a diff. Typed failures such as REF_NOT_FOUND, STALE_STATE and DIALOG_OPEN carry retry guidance, and the error contract can indicate whether input was already sent. Snapshot budgets cap characters and nodes; screenshots are limited to one raster per call with a byte budget and quality fallback.
In the 16-task server-scored browser suite, using the same Codex CLI harness and model, all three setups passed their recorded runs. Median task time was 17 s for axuse, 26 s for Codex plus its Chrome extension, and 56 s for browser-use 0.13; axuse had a median of 5 tool calls versus 7 and 12. Windows is the verified desktop lane, macOS requires explicit opt-in, and Linux desktop control uses X11/XWayland. Android is a separate axdroid MCP server and phone app rather than another Chromium backend.
Trade-offs & Limitations
The main advantage over screenshot-first agents is that semantic observations are smaller and easier to target reliably on pages with useful markup. Canvas, image-only content and poorly exposed controls erode that advantage and make the screenshot fallback more important. Stable references survive insertions, not replacement of the underlying element. Recovery should refresh stale state and check whether input was sent before repeating a consequential action.
The comparison against Codex’s Chrome extension and browser-use 0.13 supports lower measured latency and tool-call counts on that browser suite, not a broad speed or accuracy guarantee. The harder seven-task extension has a single run, and there is no head-to-head desktop benchmark. Direct Chromium is the simpler pilot; the bridge can reuse a signed-in profile but adds setup and gives the agent access to that browser context. The core ships no CAPTCHA solvers; separately licensed plugins add another trust boundary. A LICENSE file is present, but the available metadata does not identify its terms, so verify commercial-use and redistribution rights explicitly.
Hardware & Deployment Guide
For a local browser pilot, install Node.js 22+ and Chrome, Edge, Chromium or Chrome for Testing. From the checkout, run node src/cli.js doctor to check browser discovery, launch and snapshot capture. Point the MCP host at node /absolute/path/to/axuse/src/cli.js mcp; print-config --harness generates host-specific configuration. If Chromium is absent, node src/cli.js install-browser provisions a pinned Chrome for Testing under ~/.cache/axuse without sudo.
The existing-profile bridge adds native-host registration and a one-time unpacked extension load; check the connection with node src/cli.js bridge verify. Display-less Linux can run headed Chrome on a private Xvfb display. For desktop control, macOS requires native TCC permissions and the Linux driver uses X11/XWayland, not a documented native Wayland path. The browser path needs no local inference stack; budget CPU and RAM for Chromium processes, page complexity, active tabs and any virtual display. No GitHub release is listed, so pin the checkout you validate rather than relying on release milestones.
src/core/commands.js.action_sent field to inform whether an action should be retried.Teams adding self-hosted Chromium automation to an MCP harness for semantically structured web workflows, especially when they want compact observations and explicit error recovery.
Your workflows are mostly canvas or image-driven, require Firefox, Safari or native Wayland desktop control, or need verified commercial licensing and published releases before adoption.
Quick Start & Installation
git clone https://github.com/ctoldigital/axuse.git cd axuse node src/cli.js doctor # finds a browser, launches it, takes a snapshot
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| axuse ★ | 816 | +4 | JavaScript | — | Accessibility-first MCP server for browser and desktop automation without screen |
| obscura | 38.8k | +1k | Rust | Apache-2.0 | Rust/V8 headless browser for agent automation and capture without Chromium |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ctoldigital/axuse.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about axuse
How does a harness connect, and where does session state live?
node /absolute/path/to/axuse/src/cli.js mcp and exchanges JSON-RPC 2.0 over stdio. The MCP adapter forwards commands to the stateful core, which manages tabs, observations and element references. If a reference can no longer be resolved, refresh the observation instead of retrying the old reference blindly.Does axuse need a GPU, and how should I size a host?
Can we self-host axuse commercially?
LICENSE file, yet the license is not identified in the metadata and its terms are not available here. Review the core terms before commercial deployment or redistribution. Separately licensed solver packages are not part of the core.How does it compare with Codex’s Chrome extension and browser-use?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy