Skip to content

Connect OpenCode to Browser.lol

Let OpenCode 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 OpenCode

Install OpenCode and set up a model provider.

  1. 1. Add the connection

    Add this to opencode.json in your project or to ~/.config/opencode/opencode.json. If the file already has an mcp section, add only the browserlol entry.

    ~/.config/opencode/opencode.json

    Add the entry below. Keep any other servers already in the file.

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "browserlol": {
          "type": "remote",
          "url": "https://api.browser.lol/mcp"
        }
      }
    }
  2. 2. Sign in and allow access

    Run opencode mcp auth browserlol, or let OpenCode ask on first use. Sign in and allow access on the Browser.lol page that opens.

    opencode mcp auth browserlol
  3. 3. Try it in a new chat

    Run opencode mcp list and check that browserlol is signed in. Then start opencode and send the task below.

    opencode mcp list

    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