About Openbrowser AI
Openbrowser AI is an MCP server published by billy-enrizky in the Developer Tools category: openBrowser is a framework for intelligent browser automation. It combines direct CDP communication with a CodeAgent architecture, where the LLM writes Python code executed in a persistent namespace, to navigate, interact with, and extract information from web pages autonomously. Conduid read 7 tools from its source: close_context, create_context, execute_code, get_status, reset_browser, scrape_web and 1 more. No package is published for it, so it installs from a source checkout.
The repository has 279 stars and 30 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.1.61 (30 Nov 2026): Native runtime fast paths for the opt-in benchmark surface: cold and warm CLI and MCP lanes, native service lifecycle, reset-before support, and deterministic action pro… It follows v0.1.60 (25 Nov 2026), and the 5 most recent releases go back to v0.1.57 (23 Nov 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include ai-browser, browser-automation, artificial-intelligence, devtools and ai-browser-automation.
Install
git clone https://github.com/billy-enrizky/openbrowser-aiTools (7)
close_contextClose an OpenBrowser context and release its browser and profile. The context_id cannot be used after a successful close.| Parameter | Type | Description |
|---|---|---|
| context_id * | any |
create_contextCreate an isolated OpenBrowser context and return its context_id. No separate OpenAI, OpenBrowser, or MCP API key is required. No browser starts until the first execute_code call. Call this once, then pass context_id to execute_code, get_status, and reset_browser. The context lives until close_context or server exit and cannot be resumed by a new server process. Close it with close_context when finished.execute_codeget_statusReturn OpenBrowser server, browser, profile, and tab state as JSON. Read-only and does not start a browser or probe CDP health. Use this before retrying a failed task. When browser.cdp is present, cdp.healthy is the last accepted connect or probe observation while the lifecycle preserves an active claim; inactive snapshots can report null and keep the history fields. Use cdp.phase and cdp.last_error_code before retrying. cdp.phase is one of disconnected, resolving, connecting, connected, degraded, failed. cdp.last_error_code is null or not_connected, timeout, connection_closed, session_not_found, probe_failed, connect_failed, cancelled. session_not_found can come from target attachment during connect setup. Use cdp.last_probe_at to tell whether a probe ran. cdp_connected only means a client object is present. Root CDP health does not prove a target session, tab, or page can accept commands. When browser.health is present, phase is unknown, healthy, degraded, crashed, stopped, or failed. health is the last event-driven crash or setup observation plus a status-time local process check, not a live page probe. Use last_focus_recovery_outcome, target_crash_count, and process_present before retrying. Wait while recovery is pending. Reset only when no usable target exists. process_present is null when the published root is not bound to the recorded local owner, or when process identity is inconclusive. That includes remote, stopped, or ambiguous local sessions. A missing health block means no browser session exists.reset_browserClose the current browser session and release its lock. Cookies, localStorage, and login state are saved automatically and restored on the next execute_code call because the same browser profile is reused; do not export cookies manually before calling reset_browser. Scalar and scalar-only container variables are preserved unless clear_variables is true. Functions, modules, browser-bound objects, cyclic values, and names that shadow framework bindings are dropped and reported in namespace_transfer. The next execute_code call restarts the browser on the same profile.scrape_webFetch one HTTP(S) URL without starting a browser and without a context_id. No separate OpenAI, OpenBrowser, or MCP API key is required. This is the no-Blink, no-V8 mode: it does not run JavaScript, take screenshots, use browser cookies, or fall back to a browser. Use it for server-rendered pages. Returns JSON with url, title, format, content, stats, and engine_used=http. If the page needs JavaScript, use execute_code with a browser context.| Parameter | Type | Description |
|---|---|---|
| exclude_tags | array | |
| extract_links | boolean | |
| format | string | |
| include_tags | array | |
| max_chars | integer | |
| only_main_content | boolean | |
| selector | string | |
| timeout_ms | integer | |
| url * | string |
web_searchRun OpenBrowser web search without starting a browser or requiring a context_id. No separate OpenAI, OpenBrowser, or MCP API key is required. Returns a JSON array with title, url, and snippet fields. Snippets are discovery previews. Scrape and read the source page before citing it. Values above 20 are capped at 20.| Parameter | Type | Description |
|---|---|---|
| backend | string | DDGS backend or comma-delimited backends. |
| max_results | integer | Maximum results. Values above 20 are capped at 20. |
| query * | string | |
| region | string | |
| safe_search | string | |
| timelimit | string | Optional DDGS time limit, such as d, w, m, or y. |
Security checks
Static checks derived from the repository 21 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 8.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and 3 more.
- !No dynamic code executionScanned 327 source files and found 12 calls to eval or shell execution, in infra/training/flow_matching/refusion_flow_grpo_trainer.py:256, infra/training/modal/openbrowser_modal.py:34 and infra/training/modal/openbrowser_modal.py:1965 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/openbrowser/mcp/server.py:2530
- Starts other programs
- 43 callssrc/openbrowser/browser/prelaunch.py:381, src/openbrowser/browser/video_recorder.py:129, src/openbrowser/browser/watchdogs/local_browser_watchdog.py:459
- Outbound network calls
- 52 callssrc/openbrowser/browser/profile.py:1036, src/openbrowser/browser/session.py:6067, src/openbrowser/browser/session.py:6080
- Writes or deletes files
- 119 callssrc/openbrowser/agent/message_manager/utils.py:27, src/openbrowser/agent/views.py:429, src/openbrowser/browser/prelaunch.py:426
- Lockfile
- uv.lock and 3 more
Pattern matches on the source text of 327 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 8.7K words, fetched 21 hours ago. The original in the repository is authoritative.
Read full README