SafeCoBrowser

How to use Codex with SafeCoBrowser

SafeCoBrowser is an open-source AI co-browsing browser for macOS that lets you bring Claude Code, Codex, or any MCP agent into your logged-in browser — only when you allow it, per tab, with an instant kill switch and a full audit log.

1. Install SafeCoBrowser

Download SafeCoBrowser for macOS, unzip, launch, and log into your sites.

2. Connect Codex

Point Codex at SafeCoBrowser's local MCP server (or use the built-in CLI over the same broker):

claude mcp add --transport http safecobrowser \
  http://127.0.0.1:8676/mcp \
  --header "Authorization: Bearer <token>"

The bearer token is written to ~/.safecobrowser/endpoint.json when the app launches.

3. Grant a tab, then automate

Pick a permission mode on the tab you want Codex to work on. Codex can then drive repetitive browser workflows inside your real, logged-in session — each action approved, all of it audited. "Stop AI" revokes instantly.

FAQ

Does SafeCoBrowser work with Codex?
Yes. SafeCoBrowser works with any MCP-compatible agent, including Codex, over both MCP and a CLI.
Can Codex automate a logged-in site?
Yes — inside your own session, per tab, with each action behind approval and recorded in the audit log. The agent never receives your cookies or passwords.

Download for macOSRead the docs