---
title: "Cloud Browser MCP Server for AI Agents | Browser.lol"
description: "Give Claude, ChatGPT, Cursor or any MCP client a real browser in the cloud. Add one address, sign in, and watch your agent browse live."
url: "https://browser.lol/en/docs/mcp"
language: "en"
---

1. [Home](https://browser.lol/en)
2. [Docs](https://browser.lol/en/docs)
3. MCP

# Cloud browser MCP server for AI agents

Add one address to Claude, ChatGPT, Cursor or another MCP client, and your agent gets a real browser in the cloud. You watch it live and take over whenever it needs you.

## Add the server to your client

MCP client

### Connect Claude Code

Install Claude Code and sign in. Use Bash or Zsh (macOS, Linux or WSL) for the command below.

1. #### Add the connection

   Run the command in your terminal. It adds Browser.lol to your personal Claude Code settings for all projects.

   Run in your terminal

   ```
   claude mcp add --scope user --transport http browserlol https://api.browser.lol/mcp
   ```

2. #### Sign in and allow access

   In Claude Code, type /mcp, choose browserlol and sign in on the Browser.lol page that opens.

   /mcp › browserlol › Authenticate

3. #### Try it in a new chat

   Check in /mcp that browserlol is connected. Then send the task below and approve the browser tools when asked.

   /mcp

   ```
   Open example.com in a Browser.lol session and tell me what the page says.
   ```

**Need help?**

[Official instructions](https://code.claude.com/docs/en/mcp) Instructions checked October 2, 2026

If browserlol is missing, run claude mcp list in your terminal. If it asks for sign-in again, open /mcp in Claude Code, choose browserlol and sign in.

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](https://browser.lol/en/dash/agents)

## Questions about the MCP server

**What is the Browser.lol MCP server?**

A hosted MCP server at https://api.browser.lol/mcp that gives your AI agent its own browser in the cloud. The agent opens pages, reads them and acts on them with real mouse and keyboard input, while the browser runs on our servers, not on your computer.

**Which AI clients can connect?**

Any client that adds a remote MCP server over Streamable HTTP, such as Claude, Claude Code, ChatGPT, Cursor, VS Code, Cline, Zed, Gemini CLI and JetBrains AI Assistant. Clients with sign-in connect through OAuth; the others use an API key in a header.

**Do I need to install a browser or a driver?**

No. The browser and the MCP server run on our side, so there is no Playwright, Puppeteer or Chrome to install. You add one address to your client and sign in.

**Can I watch what my agent does?**

Yes. Every session has a live view in your browser. You see each click as it happens and can take over at any time, for example to sign in or solve a captcha, then hand control back.

**How is it different from a headless browser?**

The agent uses a full desktop browser, not a headless one, and clicks and types with real mouse and keyboard input. It can browse from another country, read an Anonymous Mail inbox for sign-up codes, and share sessions with you.

**Which plan do I need?**

Premium includes MCP and API access. The plans page shows the current price and any trial on offer.

## The tools your assistant gets

Tools named browser\_\* operate the browser like a person: every click, keystroke and scroll is real mouse and keyboard input with human timing. An assistant can start with browser_navigate, which can open a session and return an accessibility snapshot; its element references work with the page tools. browser_screenshot always captures the whole screen, and its pixels are the x/y coordinates that browser_click, browser_hover, browser_drag and browser_scroll take.

### Sessions and account

Start sessions with a screen size, language and keyboard layout; list, rename and close them; change the exit location; install and uninstall apps; read your account; read your Anonymous Mail for sign-up links and codes; and ask the person watching for help with a login or captcha.

- `browser_session_create`

  Start a session and get its handle: browser image, name, apps, exit country, residential or own proxy, screen size, language, keyboard layout, saved profile, an initial URL and a retry key.

- `browser_session_list`

  List every session on the account, newest first; each row says whether an agent or a person started it. With a session_id it reads that one session: status, image, current URL, and its live view URL.

- `browser_session_update`

  Change a running session without restarting it: its name or its exit location (country or residential).

- `browser_session_close`

  Stop a session and free its slot at once, instead of waiting for it to end on its own.

- `browser_apps`

  List a session's apps with what each adds and whether it can be installed; install or uninstall several at once.

- `browser_account`

  Read the account in one call: profile and feature access, the browser images available for sessions, saved profiles, the session quota and 30 days of usage.

- `browser_mail`

  The anonymous mail inbox: its address for sign-ups, incoming mail, and each message's text and links, such as a verification link or code. Answers while Anonymous Mail is on in a running session.

- `browser_ask_user`

  Hand the browser to the person in the live view with a message, for a sign-in, a captcha or anything only they can do. Each call waits a while for them; the assistant calls again until they hand control back.

### Navigation

Open a URL, go back or forward, reload, and work in several tabs.

- `browser_navigate`

  Open a site through the address bar, search in the search field of the page in the foreground as a person does (a site's own search, or the web from a page without one), do both in one call, or go back, forward or reload with action; the page comes back as an accessibility snapshot. This is the entry point: it opens a session when there is none.

- `browser_tabs`

  List, open, switch and close tabs; every page tool takes a tab id.

### Reading the page

Read accessibility snapshots with dialogs listed first, search page text, wait for text, a URL or a delay, and capture the whole screen, including the browser toolbar, menus and native dialogs.

- `browser_snapshot`

  The accessibility snapshot of the page, with the ref ids the interaction tools act on.

- `browser_find`

  Search the page for text or a regular expression and get the matching refs back.

- `browser_screenshot`

  Capture the whole screen, including the browser toolbar, menus and native dialogs; its pixels are exactly the x/y coordinates that browser_click, browser_hover, browser_drag and browser_scroll take.

- `browser_wait_for`

  Wait until text appears or disappears, the URL matches, or a fixed time passes.

### Interaction

Click, type, fill forms, select options and scroll, by element reference or by the screen coordinates from browser_screenshot. Typing without a reference goes wherever the keyboard focus is, including the address bar; key presses also answer a JavaScript dialog with Enter or Escape.

- `browser_click`

  Click an element by ref, or a screen point x/y from browser_screenshot, with modifiers and double-click. The mouse moves there like a hand, scrolling first if needed.

- `browser_type`

  Type into a field by ref: it is clicked and its value replaced, key by key like a person. Without a ref it types wherever the keyboard focus is, including the address bar.

- `browser_fill_form`

  Fill several fields in one call, one after another like a person.

- `browser_select_option`

  Open a native dropdown and choose an option with the keyboard.

- `browser_press_key`

  Press a key or combination, such as Enter or Control+A, on an element or wherever the keyboard focus is. Also answers a JavaScript dialog (alert, confirm, prompt) with Enter or Escape.

- `browser_scroll`

  Turn the mouse wheel by pixels, over the page or a screen point x/y; with a ref it scrolls until that element is in view.

- `browser_hover`

  Move the mouse over an element by ref, or a screen point x/y, to reveal a hover menu or tooltip.

- `browser_drag`

  Press the mouse on one element or point and drag it onto another, like a hand would.

### Files

Upload a file through a page input or retrieve a file downloaded by the session.

- `browser_file_upload`

  Click a file input, or a button that opens a file chooser, and answer it with your files.

- `browser_downloads`

  List what this session downloaded, with a signed link per completed file that opens it for 15 minutes.

### Agent DevTools

Inspect DOM, network, storage and performance, run scripts and send DevTools commands, for web development and debugging. They are part of every session, and your assistant uses them only when you ask.

- `browser_inspect`

  Read what DevTools shows without changing the page: DOM, styles, event listeners, every request with headers, bodies, timing and TLS certificate, WebSockets, cookies, storage, IndexedDB, Cache Storage, workers, console, performance, the accessibility tree and the page's sources.

- `browser_evaluate`

  Run JavaScript in the page like the DevTools console and get its value or exception.

- `browser_cdp`

  Send a Chrome DevTools Protocol command to the tab, a frame, a worker or the browser and read its events.

What you need

MCP (Model Context Protocol) lets an assistant use external tools. Connect yours to Browser.lol for a cloud browser it operates like a person: real mouse and keyboard input with human timing, the way you would click and type yourself. It can open and read pages, interact with them, upload files, and capture the whole screen. Available browser images and exit locations depend on your account.

The browser runs on our infrastructure, so you do not need to install a browser driver. Your MCP client still runs where you set it up. We host the session and offer a live view; your assistant's model stays with its client.

- Endpoint

  https://api.browser.lol/mcp

- Transport

  Streamable HTTP, stateless per request

- Authentication

  OAuth sign-in in your browser, or an API key in a header for automation

- Plan

  An account with programmatic access, included with Premium

- Browsers

  Images marked for programmatic use and available to your account; Chrome by default

## How the sessions behave

- Page tools can start a session. If your account has no running session, a page tool can create one. If several sessions are running, specify a session ID so the server knows which one to use.
- Sessions have time limits. Sessions can end after their plan's idle or maximum runtime limits. You can close one yourself to free its slot.
- People and agents share sessions. Your assistant can list and use sessions you start yourself, including saved-profile sessions. You can watch and manage sessions it starts. Changes in a saved-profile session may persist.
- Access stays within your account. Tools can access sessions on the authenticated account, subject to that account's permissions.
- Programmatic access is required. The account needs the programmatic access feature. Without it, the MCP access gate returns HTTP 403. Premium includes the feature.

## Security

- Connected agents and API keys act on your account like a password. Disconnect an agent or revoke a key on the [AI agents page](https://browser.lol/en/dash/agents) as soon as you no longer use it.
- Send an API key in an Authorization or x-api-key header. Keys in the URL are not accepted, because addresses end up in logs and browser histories.
- Pages load in remote browser containers. An agent can also use a session with a saved profile, where its changes may persist.
- Control is automatic: your assistant's actions drive the browser while you watch in the live viewer. Take over with the button there: while you are in control, the assistant pauses, its actions wait and report user_in_control with a time to retry, and reading still works. It continues once you hand control back.

Explore programmatic access

Accounts with programmatic access can connect now. Premium includes it; see the plans for pricing.

[See plans](https://browser.lol/en/upgrade)
