Auto-Browser
Auto Browser

Geben Sie Ihrem KI-Agenten einen echten Browser, mit einem Menschen in der Schleife.
Auto Browser ist eine MCP-native Browser-Steuerungsebene für autorisierte Workflows. Sie bietet MCP-Clients, LLM-Agenten und Operatoren einen gemeinsam genutzten Playwright-Browser mit menschlicher Übernahme, wiederverwendbaren Authentifizierungsprofilen, Genehmigungen, Audit-Protokollen und Local-First-Bereitstellung.
Funktioniert mit:
Claude Desktop
Cursor
jedem MCP-Client, der HTTP oder stdio unterstützt
direkten REST-Aufrufen, wenn Sie eine curl-first-Steuerung bevorzugen
Warum Auto Browser
Von Anfang an MCP-nativ. Die Browser-Oberfläche ist bereits als MCP-Server verpackt, anstatt nachträglich hinzugefügt zu werden.
Menschliche Übernahme, wenn das Web spröde wird. noVNC hält dieselbe Live-Sitzung verfügbar, wenn eine Person eingreifen muss.
Einmal einloggen, später wiederverwenden. Speichern Sie benannte Authentifizierungsprofile und öffnen Sie neue Sitzungen, die bereits angemeldet sind.
Standardmäßig Local-First. Führen Sie den gesamten Stack auf Ihrem eigenen Rechner mit Docker Compose aus oder nutzen Sie Codespaces für eine schnelle gehostete Demo.
Integrierte Sicherheitsvorkehrungen. Genehmigungen, Identität des Operators, PII-Bereinigung, Witness-Belege und Compliance-Vorlagen sind Teil der Produktoberfläche.
Related MCP server: Browser-Use MCP Server
Release-Highlights (v1.0.2)
Framework-Sicherheitsupdates mit FastAPI und Starlette, die auf die aktuelle gepatchte Linie festgelegt sind
Sicherere Fehlergrenzen über Browser-Aktionen, CDP, OCR, Mesh, Workflow, Tunnel, Social und Share-Token-Oberflächen
Ratenbegrenzungs-Härtung mit begrenzten Buckets und gehashten Operator-Identifikatoren
Verschärfung der Host- und Pfadrichtlinien für produktive
ALLOWED_HOSTS, Authentifizierungsprofilpfade und Upload-Roots1.0 Plattform-Oberfläche einschließlich signierter Mesh-Delegierung, Workflow-Routen,
/dashboard, noVNC-Übernahme, MCP-Transport, Audit-Protokollen und Bereitschaftsprüfungen
Siehe CHANGELOG.md für die vollständige Release-Historie.
Gute Einsatzmöglichkeiten
interne Dashboards und Admin-Tools
operator-unterstützte Qualitätssicherung und Browser-Debugging
Einmal-Login, später wiederverwenden von Account-Workflows
spröde Websites, bei denen ein Mensch den Ablauf wiederherstellen muss
MCP-gestützte Agenten-Workflows, die einen echten Browser benötigen, nicht nur HTML-Abrufe
Nicht das Ziel
Stealth- oder Anti-Bot-Arbeit
CAPTCHA-Lösung
unbefugtes Scraping oder Account-Automatisierung
täuschende Identitätsgestaltung oder Umgehungstools
Was Sie bekommen
Browser-Steuerung | Sicherheit für Operatoren | Bereitstellung und Integration |
Playwright-gestützte Sitzungen mit Screenshots, DOM-Zusammenfassungen, OCR-Auszügen, Tab-Steuerung, Downloads und Netzwerk-Inspektion | Genehmigungsgates, Operator-Identitäts-Header, Audit-Ereignisse, PII-Bereinigung, Witness-Belege und Schutzprofile | MCP über HTTP, gebündelte stdio-Brücke, REST-API, Docker Compose, Codespaces, Authentifizierungsprofile und optionale Isolierung pro Sitzung |
Schnellstart
git clone https://github.com/LvcidPsyche/auto-browser.git
cd auto-browser
docker compose up --buildDas reicht für die lokale Entwicklung mit den Standardeinstellungen.
Optional:
cp .env.example .env
make doctorFühren Sie make doctor von einem normalen Terminal mit lokalem Docker-Zugriff und Berechtigung zum Öffnen von Localhost-Sockets aus.
Öffnen:
API-Dokumentation:
http://127.0.0.1:8000/docsOperator-Dashboard:
http://127.0.0.1:8000/dashboardVisuelle Übernahme:
http://127.0.0.1:6080/vnc.html?autoconnect=true&resize=scale
Alle veröffentlichten Ports binden standardmäßig an 127.0.0.1.
In Codespaces ausprobieren
Codespaces stellt den Stack automatisch bereit. Das Dashboard und die noVNC-Tabs sind normalerweise in etwa 90 Sekunden bereit.
Erste nützliche Demo
Der Ablauf mit der höchsten Signalwirkung in diesem Repo ist:
eine Sitzung erstellen
manuell einloggen, falls die Website einen Menschen benötigt
die Sitzung als benanntes Authentifizierungsprofil speichern
eine neue Sitzung aus diesem Authentifizierungsprofil öffnen
Arbeit fortsetzen, ohne sich erneut authentifizieren zu müssen
Starten Sie hier:
Minimale Sitzungserstellung:
curl -s http://127.0.0.1:8000/sessions \
-X POST \
-H 'content-type: application/json' \
-d '{"name":"demo","start_url":"https://example.com"}' | jqMinimale Beobachtung:
curl -s http://127.0.0.1:8000/sessions/<session-id>/observe | jqMCP-Clients
Auto Browser bietet:
einen HTTP-MCP-Endpunkt unter
http://127.0.0.1:8000/mcpKomfort-Endpunkte unter
http://127.0.0.1:8000/mcp/toolsundhttp://127.0.0.1:8000/mcp/tools/calleine gebündelte stdio-Brücke unter
scripts/mcp_stdio_bridge.py
Das Standard-MCP-Toolprofil ist curated, was die Browser-Oberfläche kompakt hält, um eine bessere Tool-Auswahl zu ermöglichen. Wenn Sie die vollständige interne Tool-Oberfläche wünschen, setzen Sie:
MCP_TOOL_PROFILE=fullBeispiel für einen rohen Tool-Aufruf:
curl -s http://127.0.0.1:8000/mcp/tools/call \
-X POST \
-H 'content-type: application/json' \
-d '{
"name":"browser.create_session",
"arguments":{
"name":"demo",
"start_url":"https://example.com"
}
}' | jqAnleitungen zur Client-Einrichtung:
Sicherheit und Compliance
Für eine echte private Bereitstellung setzen Sie mindestens:
APP_ENV=production
API_BEARER_TOKEN=<strong-random-secret>
REQUIRE_OPERATOR_ID=true
AUTH_STATE_ENCRYPTION_KEY=<44-char-fernet-key>
REQUIRE_AUTH_STATE_ENCRYPTION=true
REQUEST_RATE_LIMIT_ENABLED=true
METRICS_ENABLED=trueCOMPLIANCE_TEMPLATE kann beim Start eine vorkonfigurierte Haltung anwenden:
Vorlage | Auth-Verschlüsselung | Operator-ID | PII-Bereinigung | Isolierung | Max. Sitzungsdauer |
| erforderlich | erforderlich | alle Ebenen |
| 4h |
| erforderlich | erforderlich | alle Ebenen |
| 1h |
| - | erforderlich | Netzwerk + Text | geteilt | 24h |
| - | - | alle Ebenen | geteilt | 24h |
Alle Vorlagen erfordern Upload-Genehmigungen. HIPAA, SOC2 und PCI-DSS aktivieren zusätzlich Witness-Belege. Beim Start wird die angewendete Richtlinie in /data/compliance-manifest.json geschrieben.
Beispiel:
COMPLIANCE_TEMPLATE=HIPAA docker compose upDetails zur Bereitstellung, gehostete Witness-Hinweise, CLI-Auth-Modi und Anleitungen für Reverse-SSH finden Sie unter:
Architektur auf einen Blick
flowchart LR
User[Human operator] -->|watch / takeover| noVNC[noVNC]
LLM[OpenAI / Claude / Gemini] -->|shared tools| Controller[Controller API]
Controller -->|Playwright protocol| Browser[Browser node]
noVNC --> Browser
Browser --> Artifacts[(screenshots / traces / auth state)]
Controller --> Artifacts
Controller --> Policy[Allowlist + approval gates]Kernkomponenten:
browser-node/führt Chromium, Xvfb, x11vnc und noVNC auscontroller/stellt den FastAPI-Controller, MCP-Transport, Richtlinien-Schienen und Orchestrierungs-Endpunkte bereitdata/enthält Laufzeit-Artefakte, Auth-Status, Genehmigungen, Audit-Protokolle und optionale CLI-Cachesscripts/enthält lokale Helfer für Doctor, Smoke-Tests, Brücken und Release-Prüfungen
Repo-Leitfaden
Pfad | Inhalt |
Controller-API, MCP-Transport, Tests und Paketierung | |
Browser-Laufzeit und Playwright-Verbindungsebene | |
Copy-Paste-Abläufe und MCP-Client-Einrichtung | |
LangChain-, LangGraph- und CrewAI-Adapter | |
Architektur-, Bereitstellungs-, Härtungs- und Start-Dokumente | |
Doctor, Smoke-Harnesses, stdio-Brücke und Auth-Helfer | |
unterstützende Service-Vorlagen und operative Assets |
Häufige Befehle
Befehl | Zweck |
| verfügbare Repo-Befehle auflisten |
| Ruff-Prüfungen auf App, Tests und Hilfsskripte ausführen |
| Controller-Tests in Docker ausführen |
| Controller-Tests auf Host Python 3.10+ ausführen |
| lokale Bereitschafts-Smoke-Prüfung ausführen |
| den vollständigen Release-Validierungsdurchlauf ausführen |
| Docker-Isolierung pro Sitzung verifizieren |
| Reverse-SSH-Fernzugriff verifizieren |
Dokumentationskarte
Wenn Sie... | Starten Sie hier |
die Systemform verstehen möchten | |
Claude Desktop oder Cursor verbinden möchten | |
die curl-first-Beispiele ausführen möchten | |
auf einem vertrauenswürdigen Host bereitstellen möchten | |
Produktionsbeschränkungen überprüfen möchten | |
die Release-Historie einsehen möchten | |
sehen möchten, wohin sich das Projekt entwickelt |
Mitwirken
Wenn Sie helfen möchten, beginnen Sie mit:
Wenn Auto Browser nützlich ist, hilft ein Stern anderen dabei, es zu finden.
Available Tools
20 toolsbrowser.activate_tabA
Bring one tab to the foreground so subsequent observations and actions target it. Tab indexes come from browser.list_tabs. Returns the activated index, the updated session summary, and the current tab list.
Inputs: index (required), session_id.
browser.close_sessionBDestructive
Close a session and finalize its trace/artifacts.
Inputs: session_id, approval_id, workflow_profile.
browser.close_tabBDestructive
Close one tab index if more than one tab is open.
Inputs: index (required), session_id, approval_id, workflow_profile.
browser.create_sessionA
Create a new browser session and optionally navigate to a start URL.
Inputs: name, start_url, totp_hosts, user_agent, +9 more.
browser.eval_jsA
Execute a JavaScript expression in the current page context and return the result. Every call needs operator approval for that exact expression: the first call returns status approval_required with an approval_id; retry with approval_id once it is approved. Prefer find_elements, get_html or observe for reading the page — they need no approval.
Inputs: expression (required), session_id, timeout_ms, approval_id, +1 more.
browser.execute_actionA
Execute one browser action (navigate, click, hover, type, press, select_option, scroll, …) in a session, using the same action schema the agent planner emits. Actions are policy-checked and audited, and governed actions may require a granted approval_id. Call browser.observe first to get targetable element IDs and selectors. Returns the action's verification (what changed) and an observation of the page after it (up to 20 interactables).
Inputs: action (required), detail, session_id, approval_id, +1 more.
browser.find_elementsA
Find elements either by CSS selector or by a text/regex query across the page's text content. selector mode returns matching elements' text, href, value, bounding box, and visibility -- useful before clicking or scraping multiple items. query mode (set query, optionally regex and context) returns the matched text plus surrounding context for each hit -- a cheap way to locate a specific string on the page without a full observe.
Inputs: limit, query, regex, context, +2 more.
browser.fork_sessionA
Fork a session: snapshot its cookies, storage state, and current URL, then create a new independent session with that state. Useful for branching workflows or running parallel variants. Without start_url, a page that is no URL to open (blank, data:, Chrome's error page) forks onto a blank page. Counts as a new session: needs MAX_SESSIONS of at least 2.
Inputs: name, start_url, session_id, user_agent, +2 more.
browser.get_htmlARead-onlyIdempotent
Read the current page: its serialized DOM (the whole document, not just the viewport), or with text_only=true its visible text — the cheapest way to read a page's content. Returns up to max_chars (default 20,000) from offset; when truncated is true, call again with offset=next_offset for the rest. On Chrome's error page for a navigation the pre-request gate stopped, blocked_navigation says what was stopped and why.
Inputs: offset, max_chars, text_only, session_id.
browser.get_sessionARead-onlyIdempotent
Get the full record for one browser session by ID: the live session summary (status, current page, tabs) when the session is active, or the persisted session record when it has been closed. Use browser.list_sessions to discover session IDs.
Inputs: session_id.
browser.list_auth_profilesARead-onlyIdempotent
List reusable saved auth profiles that can be loaded into a new session.
Inputs: no named parameters.
browser.list_downloadsARead-onlyIdempotent
List files captured from browser downloads for one session.
Inputs: session_id.
browser.list_sessionsARead-onlyIdempotent
List live and persisted browser sessions, one reference each (id, name, status, live, current page, takeover URL). browser.get_session returns a full record.
Inputs: no named parameters.
browser.list_tabsARead-onlyIdempotent
List currently open tabs/pages for one session.
Inputs: session_id.
browser.observeARead-only
Capture the current browser observation: interactables, tabs, console, and a perception summary. Presets: 'text' — no screenshot or OCR: interactables, accessibility tree and the first 2,000 characters of page text; for text-only models. 'fast' — screenshot only, returned as an image, no text/accessibility extraction; for vision models. 'normal' (default) — text plus a screenshot URL and OCR. 'rich' — normal with twice the interactables and 4,000 characters of text. To read a whole page, use browser.get_html with text_only=true. On Chrome's error page for a navigation the pre-request gate stopped, blocked_navigation says what was stopped and why.
Inputs: limit, detail, preset, session_id.
browser.read_downloadA
Read a downloaded file as text (CSV, JSON, TXT, HTML, ...), by download_id from browser.list_downloads or, if omitted, the latest completed download. Paged like browser.get_html. Binary files (PDF, XLSX, images) are refused with their artifact URL. With PII scrubbing on, the text is scrubbed; pii_scrub says whether it was and how many redactions were made.
Inputs: offset, max_chars, session_id, download_id.
browser.request_human_takeoverC
Ask for a human to take over the shared browser desktop.
Inputs: reason, session_id, approval_id, workflow_profile.
browser.save_auth_profileB
Save the current session storage state into a reusable named auth profile.
Inputs: profile_name (required), session_id, approval_id, workflow_profile.
browser.screenshotARead-only
Capture the current viewport and return it as an image (plus its artifact URL), without the full observe payload.
Inputs: label, session_id.
browser.wait_for_selectorARead-only
Wait for a CSS selector to reach a specific state (visible, hidden, attached, detached). Returns when the condition is met or raises on timeout.
Inputs: selector (required), state, session_id, timeout_ms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target clearly distinct concerns (sessions, tabs, observation, downloads, auth profiles). The read-side tools (observe, screenshot, get_html, find_elements) overlap somewhat, but each description explicitly scopes itself and cross-references the alternatives, so an agent can reliably choose.
Every tool follows a consistent verb_noun snake_case pattern under a uniform browser. namespace (list_tabs, close_tab, create_session, read_download). No mixed conventions or casing.
20 tools is on the heavy side, but the server legitimately spans sessions, tabs, observation, downloads, and auth profiles, and each tool maps to a real operation. Slightly over the comfortable range but not padded.
The session lifecycle (create/list/get/close/fork), tab management, observation, navigation/actions, downloads, and auth profiles are all covered. Minor gaps like deleting saved auth profiles or an explicit new-tab tool are workable around via execute_action.
Maintenance
Related MCP Connectors
Run multi-step tasks in a real Chrome browser: persistent environments, live view, human takeover.
Browser automation MCP for whole web tasks in a cloud browser: saved logins, bot checks, replays.
Your own Chrome in the cloud, signed in to your sites, with automations and your own API.
Human-in-the-loop API for AI agents. CAPTCHA, OTP, KYC, and approvals by real humans.
Related MCP Servers
- -licenseNot gradedqualityFmaintenanceThis server provides cloud browser automation capabilities using Browserbase, Puppeteer, and Stagehand. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a cloud browser environment.1,158 npm3,397MIT
- AlicenseNot gradedqualityDmaintenanceFacilitates browser automation with custom capabilities and agent-based interactions, integrated through the browser-use library.1970MIT
- AlicenseAqualityFmaintenanceEnables LLMs like Claude to navigate the web through Puppeteer-based tools and Steel. Based on the Web Voyager framework, it provides tools for all the standard web actions click clicking/scrolling/typing/etc and taking screenshots.1658MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol (MCP) integration that provides Claude Desktop with autonomous browser automation capabilities. This agent enables Claude to interact with web content, manipulate DOM elements, execute JavaScript, and perform API requests.1343TypeScriptMozilla Public 2.0