Skip to content

Connect Codex to Browser.lol

Let Codex open and use websites in a Browser.lol cloud browser. You watch live and take over whenever it needs you.

Add the server to your client

Connect Codex

Install the Codex CLI and sign in; the Codex app and IDE extension use the same setup. Use Bash or Zsh (macOS, Linux or WSL) for the command below.

  1. 1. Add the connection

    Run this command in your terminal. It registers Browser.lol in your Codex configuration.

    Run in your terminal

    codex mcp add browserlol --url https://api.browser.lol/mcp
  2. 2. Sign in and allow access

    codex mcp login browserlol opens the Browser.lol sign-in page in your browser. Sign in and allow access; Codex keeps the sign-in for later sessions.

    codex mcp login browserlol
  3. 3. Try it in a new chat

    Start codex and check the connection with /mcp. Then send the task below.

    /mcp

    Open example.com in a Browser.lol session and tell me what the page says.
Official instructionsInstructions checked October 2, 2026

Automation tools, your own code and clients without sign-in use an API key in a header instead. The AI agents page creates one for the client you choose; give each client or machine its own key so you can revoke access separately.

Open Agents
All clients, tools and limits of the MCP server