LvcidPsyche/auto-browser
Self-hosted MCP browser control with Playwright and live human takeover
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
Auto Browser splits browser control into two services. The Python controller in controller/ exposes FastAPI REST routes and HTTP MCP, brokers Playwright actions, and applies navigation policy and approval gates. The browser-node/ service runs Chromium on Xvfb, exposes the desktop through x11vnc and noVNC, and lets an operator take over the same live session the agent is driving.
The controller is the common integration point: HTTP clients connect directly, and the bundled stdio bridge forwards to the same service. Tool profiles and packs control what MCP advertises, so routine browsing clients need not carry diagnostics or admin tools in their context. The local data/ directory holds runtime artifacts, saved auth state, approvals, and audit logs; it is part of the deployment's sensitive state, not a disposable browser cache.
Key Capabilities & Differentiators
The browser surface combines structured page observations with screenshots, DOM summaries, OCR excerpts, tab controls, downloads, and network inspection. An operator can handle a login on the live desktop, save its state as a named auth profile, and open a fresh session from that state. Approval gates, operator identity, PII scrubbing, and audit events support workflows in which the agent should not make every decision on its own.
MCP clients can supply their own agent, while controller-managed decisions can use first-class OpenAI, Claude, and Gemini adapters or a generic OpenAI-compatible /chat/completions endpoint, including self-hosted runtimes such as Ollama or vLLM. Vision-capable providers use screenshots; the text-only DeepSeek path uses the DOM or accessibility outline. The default curated profile exposes 20 tools, or 21 with a vision model; lean exposes seven, and diagnostics, audit, and harness tools are available through full.
Trade-offs & Limitations
Direct Playwright is the simpler choice for deterministic tests and scripted jobs. Auto Browser earns its extra services when a team needs MCP and REST access, reusable sign-in state, and an operator able to intervene without restarting the workflow. Self-hosting gives the team control of browser state and logs, but page content can still leave the host if model decisions use a remote provider.
The default shared Chromium and noVNC desktop separates cookies and storage, not what operators can see: a person taking over one session can see other windows. Use per-session containers and networks across trust boundaries, and size for the extra browser processes. The navigation allowlist blocks top-level requests and redirect hops before they are sent, but some prefetch cases are handled only after the fact; it is not a complete egress boundary. Likewise, signed receipts are independently verifiable, but with the key stored alongside them, evidence that must survive host compromise needs an externally recorded chain head or off-host storage.
Hardware & Deployment Guide
Start from source with docker compose up --build. Published GHCR images are Linux/amd64, and the prebuilt controller omits agent CLIs; for CLI authentication, build with INSTALL_AGENT_CLIS=true. When using both the isolation and prebuilt-image overlays, put the image overlay last so isolated browser containers use the published image. Ports bind to loopback by default, and the controller generates a bearer token at data/api-token on first start with default settings.
For an exposed deployment, use production mode and configure authentication, operator identity, encrypted auth state, the share-token secret, controller and browser host allowlists, and rate limiting. Budget resources for concurrent Chromium sessions and retained artifacts; model inference can run elsewhere and should be sized separately. The November 2026 releases tightened distinct boundaries: v1.18.0 rejects cross-origin writes in tokenless mode, v1.18.1 restores Codex operation under the host-subscription Compose overlay, and v1.19.0 prevents Codex decision calls from starting MCP servers from inherited configuration and disables Codex command tools.
/mcp alongside REST; the bundled bridge connects stdio clients to the same controller.curated exposes 20 tools, or 21 with a vision model; lean exposes seven, and packs adjust the published set.docker_ephemeral assigns each session its own browser container, takeover surface, and Docker network.scripts/verify_witness_bundle.py without importing the project.Authorized internal tools, operator-assisted QA, and MCP workflows that need a real browser, reusable login state, and action approvals.
A deterministic Playwright script is enough, or you need managed multi-tenant isolation and a complete network egress boundary without operating those controls yourself.
Quick Start & Installation
git clone https://github.com/LvcidPsyche/auto-browser.git cd auto-browser docker compose up --build
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| auto-browser ★ | 927 | +1 | Python | MIT | Self-hosted MCP browser control with Playwright and live human takeover |
| obscura | 38.8k | +1k | Rust | Apache-2.0 | Rust/V8 headless browser for agent automation and capture without Chromium |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| WrenAI | 18.5k | +66 | Python | — | An MCP-ready semantic engine that gives AI agents governed SQL and dashboard wor |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/LvcidPsyche/auto-browser.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about auto-browser
How do I connect an MCP client to the browser?
/mcp on the controller with the bearer token. For a stdio client such as Claude Desktop, the bundled bridge connects to the same controller. Direct REST callers can create sessions and read observations without going through an MCP client.Do I need a GPU, and what should I size for?
Can we use it commercially and keep browser data on-site?
When is Auto Browser a better fit than direct Playwright?
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