DeliciousBuding/codex-browser-bridge

29 stars · Last commit 2026-11-20

MCP server and CLI for reusing a local Chromium browser session (Browser Use) and Codex cua_repl (Computer Use).

README preview

# codex-browser-bridge

MCP server and CLI for reusing the installed Codex **Browser Use** (`node_repl`) and **Computer Use** (`cua_repl`) runtimes from Claude Code, Antigravity, Cursor, OpenClaw, Hermes Agent, and shell scripts.

[![License: MIT](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/DeliciousBuding/codex-browser-bridge/blob/main/LICENSE)
[![Latest Release](https://img.shields.io/github/v/release/DeliciousBuding/codex-browser-bridge?style=flat-square)](https://github.com/DeliciousBuding/codex-browser-bridge/releases)
[![CI](https://img.shields.io/github/actions/workflow/status/DeliciousBuding/codex-browser-bridge/ci.yml?style=flat-square)](https://github.com/DeliciousBuding/codex-browser-bridge/actions)
[![Coverage](https://img.shields.io/codecov/c/github/DeliciousBuding/codex-browser-bridge?style=flat-square)](https://codecov.io/gh/DeliciousBuding/codex-browser-bridge)

[Website](https://deliciousbuding.github.io/codex-browser-bridge/) · [中文文档](https://github.com/DeliciousBuding/codex-browser-bridge/blob/main/README.zh-CN.md) · [Native Setup](https://github.com/DeliciousBuding/codex-browser-bridge/blob/main/docs/native-computer-use.md) · [Upgrading to 3.0.x](https://github.com/DeliciousBuding/codex-browser-bridge/blob/main/docs/upgrade-v3.md)

## Choose an entry

| Entry | Runtime | Use it for |
|---|---|---|
| `--surface native-browser` (default) | Codex `node_repl` | The installed Codex Browser/Chrome plugin JavaScript API (`agent.browsers`, `tab.playwright`, `tab.dom_cua`). |
| `--surface computer` | Codex `cua_repl` | The installed Computer Use `cua` API for desktop windows and unified browser targets. |

Bare invocations without `--surface` use `native-browser`. See [Native setup](https://github.com/DeliciousBuding/codex-browser-bridge/blob/main/docs/native-computer-use.md) for launch discovery, host environment policy, and elicitation approvals. Browser Use and Computer Use have separate MCP registrations and worker state.

View full repository on GitHub →