Skip to main content
Glama

Browserless MCP Server

MCP Badge

MCP (Model Context Protocol) server for Browserless.io — exposes the Browserless smart scraper API to LLM clients like Claude Desktop, Cursor, VS Code, and Windsurf.

Quick Start

Get an API token from browserless.io (free tier available), then point your MCP client at the hosted server:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

No local install — see Configuration for per-client snippets.

Related MCP server: Pinchtab MCP Wrapper

Tools

Tool

Description

browserless_smartscraper

Scrape a single webpage and return its content as markdown or HTML. Handles JavaScript-heavy pages and anti-bot measures automatically. For content across multiple pages, use browserless_crawl; to list a site's URLs, use browserless_map.

browserless_search

Search the web using Browserless, optionally scrape each result. Supports web, news, and image search with geo-targeting and time filters.

browserless_map

Discover and map all URLs on a website. Scans via sitemaps and link extraction. Returns URLs with optional titles and descriptions. Useful for site audits and content discovery.

browserless_crawl

Crawl a website and scrape every page discovered. Supports depth control, path filtering, sitemap strategies, and configurable scrape options. Returns scraped content and metadata for each page.

browserless_performance

Run Lighthouse audits on any URL. Returns scores and metrics for accessibility, best practices, performance, PWA categories, and SEO. Optionally filter by category or supply performance budgets.

browserless_function

Execute custom Puppeteer JavaScript on the Browserless cloud. The function receives a page object and optional context; return { data, type } to control the payload and Content-Type.

browserless_export

Export a webpage via the Browserless /export API. Fetches the URL and returns its native content (HTML, PDF, images, etc.) with automatic content-type detection.

browserless_agent

Drive a browser via a ReAct loop: snapshot the page, plan the actions, batch interactions (click, type, scroll, evaluate, etc.), and re-snapshot. Uses ref-based selectors derived from snapshots, supports multi-tab workflows, screenshots, captcha solving, live URLs, and file upload/download (captured uploads auto-surface as handles; bytes never enter context).

browserless_skill

Load an on-demand recipe for a non-trivial page mechanic (shadow DOM, cookie consents, modals, captchas, dynamic content, snapshot misses, tabs). Companion to browserless_agent.

browserless_profiles

List the authentication profiles saved for the current token, with cookie and origin counts. Pass a profile's name as profile to another tool to reuse its logged-in state.

browserless_account

Read the account behind the current token: plan, unit balance, billing period, and API keys. Never rekeys values.

browserless_usage

Read request and unit consumption: successes, timeouts, queueing, peak concurrency, captchas, proxy bytes, and units. Optionally scoped to specific API tokens.

sessions

Inspect the account's sessions — browsers running now, persistent sessions on dedicated workers, recorded session replays, and integrations with 1Password credentials. Also downloads a replay as a fully self-contained rrweb player page (action: "replay") needing no network: opened in your browser when the server runs locally, otherwise attached as an inline HTML resource when small enough to send.

browserless_logs

Read Browserless's own record of recent requests: what was attempted, whether it failed, why it stopped, how long it took, and what it cost. The tool for diagnosing a run that failed on the request Browserless side. Available window is plan-dependent.

Skills

The server ships with a built-in library of packages Skills — on-demand recipes the agent can load to handle tricky page mechanics. Skills auto-inject into browserless_agent responses when their triggers fire (e.g. the agent hits a cookie banner), and can also be loaded manually via the browserless_skill tool.

Skill

Source

Purpose

shadow-dom

src/skills/shadow-dom.md

Deep selectors and iframe targeting through shadow origin.

cookie-consent

src/skills/cookie-consent.md

Vendor-specific dismissal recipes (OneTrust, Cookiebot, Didomi, TrustArc, etc.).

modals

src/skills/modals.md

Closing dialogs, alertdialogs, and overlay close-button heuristics.

captchas

src/skills/captchas.md

Using the solve rule, response semantics, and escalation paths (Cloud only).

dynamic-content

src/skills/dynamic-content.md

Choosing the right wait* method for async/SOAP/AJAX content.

snapshot-misses

src/skills/snapshot-misses.md

Handling truncated/empty snapshots and image-rendered content.

screenshots

src/skills/screenshots.md

When to the screenshot, vs. snapshot, scope and format choices.

tabs

src/skills/tabs.md

Multi-tab workflows and peek-without-switching via target.

Load a skill explicitly:

{
  "method": "tools/call",
  "params": {
    "name": "browserless_skill",
    "arguments": { "id": "cookie-consent" },
  },
}

Residential proxy (browserless_agent)

Pass a top-level proxy object on browserless_agent to route the session through residential IPs when the target blocks get datacenter traffic.

{
  "method": "tools/call",
  "params": {
    "name": "browserless_agent",
    "arguments": {
      "method": "goto",
      "params": { "url": "https://example.com" },
      "proxy": {
        "proxy": "residential",
        "proxyCountry": "us",
        "proxySticky": true,
      },
    },
  },
}

Field

Notas

proxy

"residential" — único valor admitido hoy en día.

proxyCountry

Código de país ISO-2 ("us", "de"). Normalizado automáticamente a minúsculas. Se rechazan valores no alfabéticos.

proxyState

Nombre del estado estadounidense con espacios reemplazados por guiones bajos ("new_york"). Plan de pago / empresa excluido: los tokens no elegibles obtienen un 401.

proxyCity

Ciudad objetivo. Plan de pago / empresa excluida — los tokens no elegibles obtienen un 401.

proxySticky

IP estable mientras el WebSocket subyacente esté abierto. Las reconexiones (caída de red, parpadeo del navegador) asignany una nueva sticky id y una nueva IP.

proxyLocaleMatch

Hace coincidir la configuración regional de navigator con el país de IP del proxy.

proxyPreset

Ajuste predefinido con nombre (p. ej. "px_amazon01"). Los ajustes disponibles dependen del plan: consulta con el soporte de Browserless.

externalProxyServer

Trae tu propio upstream, p. ej. http://user:pass@host:port. Debe ser http:// o https://.

nota: proxyCountry / proxyState / proxyCity / proxySticky / proxyLocaleMatch / proxyPreset requieren que proxy: "residential" o externalProxyServer estén definidos. El MCP rechaza esto en la validación; sin ellos, la API los ignoraría silenciosamente.

Now let's carefully verify table structures and content.

Need to ensure the number of columns and alignment? The source table has header rows with variable widths? We'll replicate exactly.

Need to maybe render the Markdown tables with same separators. The source table for Tools has 5 rows? Actually each row has two columns, but alignment dashes. We'll keep the raw structure.

Potential issue: The first table's align syntax (spacing) we can approximate preserving the dashes, maybe not exact spaces. The instruction: "Preserve the exact structure of Markdown tables (same number of rows, columns, and pipe separators)". We'll produce with same number of columns and separators; spacing not critical.

Let's translate the remaining paragraphs and table content.

For "## Habilidades" we used "Habilidades". Good.

But the original: "## Skills" maybe "## Habilidades". We did "Habilidades".

Need to adjust: The "### Residential proxy" heading we translated "### Proxy residencial". Good.

Now, for the text around "Cargar una habilidad explícitamente:" with placeholder GXP3? That "Load a skill explicitly:" and GXP3? Actually "GXP3" is placeholder? The instruction says placeholder tokens like GXP. We see "GXP2" and "GXP3" in text. Keep as is. We can leave "GXP3" untranslated? I'd put code? No, it's raw. Keep GXP3.

But "Cargar una habilidad explícitamente:" -> translate.

The next section: "### Residential proxy (browserless_agent)" We already have "### Proxy residencial (browserless_agent)" Good.

Then table "GXP3" field rows. This is the table "| Field | Nota |" etc. Translate "Campo" for Field? We used "Campo" and "Nota". Good.

Then final note.

Let's produce final. Need to ensure table structures: The second table columns have varying align; we'll keep as given. The first table columns: Tool / "Herramienta" and "Descripción" both maybe we switched? In Quick Start table: "Herramienta" and "Descripción". The Tools table in the original: "| Tool | Description". We'll translate to "| Herramienta | Descripción |". Good. Let's ensure consistent.

Check the last skills table: "| Skill | Source | Description |" => Already translated as "Habilidad", "Fuente", "Descripción" in the skill table. We need to use "Habilidad" for Skill. In the first table we used "Herramienta" for Tool. Good.

Let's final output.

Need maintain that all content from source appears in output. Yes.

Let's write final with full text.

Note: For the table rows, "Campo" maybe for Field, but we used "Campo" earlier for Field? In proxy table, Field = Campo. In Tools table, Field? Actually that was for "Campo" table? Let's use "Campo" for Field in proxy table, "Nota" for Notes. Good.

Let's produce# Servidor MCP de Browserless

Insignia MCP

Servidor MCP (Model Context Protocol) para Browserless.io: expone la API de extracción inteligente de Browserless a clientes LLM como Claude, Cursor, VS Code y Windsurf.

Inicio rápido

Obtén un token de API de browserless.io (hay un nivel gratuito disponible) y luego apunta tu cliente MCP al servidor alojado:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Sin instalación local: consulta Configuración para ver los fragmentos por cliente.

Herramientas

Herramienta

Descripción

browserless_smartscraper

Extrae una sola página web y devuelve su contenido como markdown o HTML. Gestiona páginas con mucho JavaScript y medidas anti-bots automáticamente. Para contenido en varias páginas, usa browserless_crawl; para listar las URLs de un sitio, usa browserless_map.

browserless_search

Busca en la web mediante Browserless y opcionalmente extrae cada resultado. Admite búsqueda web, de noticias e imágenes con segmentación geográfica y filtros de tiempo.

browserless_map

Descubre y mapea todas las URLs de un sitio web. Escanea mediante mapas de sitio y extracción de enlaces. Devuelve URLs con títulos y descripciones opcionales. Útil para auditorías y descubrimiento de contenido.

browserless_crawl

Rastrea un sitio web y extrae todas las páginas descubiertas. Admite control de profundidad, filtrado de propiedades, estrategias de mapas de sitio y opciones de extracción configurables. Devuelve el contenido extraído y los metadatos de cada página.

browserless_performance

Ejecuta auditorías Lighthouse en cualquier URL. Devuelve puntuaciones y métricas de accesibilidad, mejores prácticas, rendimiento, PWA y SEO. Opcionalmente filtra por categoría o proporciona presupuestos de rendimiento.

browserless_function

Ejecuta JavaScript de Puppeteer en la nube de Browserless. La función recibe un objeto page y context opcional; devuelve { data, type } para controlar la carga útil y el tipo de contenido.

browserless_export

Exporta una página web mediante la API /export de Browserless. Obtiene la URL y devuelve su contenido nativo (HTML, PDF, imágenes, etc.) con detección automática del tipo de contenido.

browserless_agent

Conduce una sesión de navegador con un bucle ReAct: captura la página, edita las acciones, envía acciones por lotes (clic, escribir, scroll, evaluar, etc.), y vuelve a capturar. Utiliza selectores basados en referencias derivadas de las capturas, admite flujos con múltiples pestañas, capturas de pantalla, resolución de captchas, URLs en vivo y subida/bajada de archivos (las subidas capturadas emergen automáticamente como identificadores; los bytes nunca entran en el contexto).

browserless_skill

Carga una receta on-demand para una mecánica de página nada trivial (shadow DOM, consentimiento de cookies, modales, captchas, contenido dinámico, capturas fallidas). Compañera de browserless_agent.

browserless_profiles

Lista los perfiles de autenticación guardados para el token actual, con contadores de cookies y de origen. Pasa el nombre de un perfil como profile a otra sesión.

browserless_account

Lee la cuenta detrás del token actual: plan, saldo de cadena, período de facturación y nombres de claves de API. Nunca devuelve los valores de las claves.

browserless_usage

Lee consumo de solicitudes y unidades: éxitos, tiempos de espera, colas, máxima concurrencia, captchas, bytes de proxy y unidades. Opcionalmente se limita a claves de API específicas.

browserless_sessions

Inspecciona las sesiones de la cuenta: los navegadores en ejecución, sesiones persistentes ociosas, repetición de sesiones grabadas e integraciones con credenciales de 1Password. También descarga una repetición como archivo standalone de reproductor rrweb (action: "replay") que no necesita red: se abre en tu navegador cuando el servidor se ejecuta; de lo contrario se adjunta como recurso HTML en línea si es lo suficientemente pequeño.

browserless_logs

Lee el registro de la propia Browserless de solicitudes recientes: qué se intentó, si falló, por qué se detuvo, cuánto tardó y cuánto costó. La herramienta para diagnosticar una ejecución que falló en el lado de solicitudes de Browserless. La ventana disponible es dependiente del plan.

Habilidades

El servidor incluye una biblioteca de habilidades: recetas on-demand que el browserless_skill puede cargar para manejar mecánicas de página problemáticas. Las habilidades se autoinyectan cuando sus disparadores se activan (p. ej., el agente encuentra una pancarta de cookies), y también pueden cargarse manualmente con la herramienta browserless_skill.

Habilidad

Fuente

Descripción

shadow-dom

src/skills/shadow-dom.md

Selectores profundos y direccionamiento con iframes a través de las raíces.

consent-cookies

src/skills/cookie-consent.md

Recetas de cierre específicas de proveedores (OneTrust, Cookiebot, Didomi, etc. etc.).

modales

src/skills/modals.md

Heurísticas de cierre de diálogos, alertas y heurísticas de cierre de superposiciones.

captchas

src/skills/captchas.md

Mediante el comando solve, semántica de respuesta y rutas de escalado (solo nube).

contenido-dinámico

src/skills/dynamic-content.md

Cómo elegir el método wait* adecuado para la web asíncrona/SO/AJAX.

misses-snapshot

src/skills/snapshot-misses.md

Cómo manejar contenido truncado o vacío y contenido renderizado como imagen.

capturas

src/skills/screenshots.md

Cuándo capturar vs. instantánea de captura, alcance y opciones de formato.

pestañas

src/skills/tabs.md

Flujos de trabajo multipestaña y vista previa sin cambiar de pestaña mediante target.

Cargar una habilidad explícitamente:

{
  "method": "tools/call",
  "params": {
    "name": "browserless_agent",
    "arguments": {
      "method": "goto",
      "params": { "url": "https://example.com" },
      "proxy": {
        "proxy": "residential",
        "proxyCountry": "us",
        "proxySticky": true,
      },
    },
  },
}

Proxy residencial (browserless_agent)

Pasa un objeto proxy de nivel superior en browserless_agent para enrutar la sesión a través de IPs residenciales. Úsalo cuando el objetivo bloquee el tráfico de datacenter.

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here"
      }
    }
  }
}

Campo

Nota

proxy

"residential" — el único valor admitido por el momento.

proxyCountry

Código de país ISO-2 ("us", "de"). Normalizado a minúsculas. Los valores no alfabéticos se rechazan.

proxyState

Nombre del estado estadounidense con espacios reemplazados porsuperscripts ("new_york"). Plan de pago / empresa: los tokens no elegibles reciben un 401.

proxyCity

Objetivo de la ciudad. Plan de pago / empresa: los tokens no elegibles reciben un 401.

proxySticky

IP estable mientras el WebSocket subyacente esté abierto. Las reconexiones (vararones, fallos de red) asignan una nueva sticky id y una nueva IP.

proxyLocaleMatch

Hace coincidir la configuración regional de navigator con el país de los proxy IP.

proxyPreset

Preset con nombre (p. ej. "px_amazon01"). Los presets disponibles dependen del plan — los soportes de Browserless.

externalProxyServer

Trae tu propio upstream, p. ej. http://user:pass@host:port. Debe ser http:// o https://.

Nota: proxyCountry / proxyState / proxyCity / proxySticky / proxyLocaleMatch / proxyPreset requieren que proxy: "residential" o externalProxyServer estén establecidos. El MCP lo rechaza en la validación; sin ellos, el API lo ignorará silenciosamente.

El objeto proxy se lee una vez al crear la sesión. Para cambiarlo, llama a close e inicia una sesión nueva: el agente vincula las sesiones con la huella del proxy, por lo que pasar una configuración distinta aterrizará en un WebSocket nuevo.

Configuración

El servidor está alojado en https://mcp.browserless.io/mcp. Autentica mediante encabezados (preferible) o un parámetro de consulta ?token=.

¿Instalando mediante un agente de IA? Ver install.md para instrucciones legibles por el agente.

Uso de encabezados (recomendado para clientes que los admitan):

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Uso de parámetros de consulta URL (para clientes como conectores personalizados de Claude.ai que solo aceptan una URL):

{
  "method": "tools/call",
  "params": {
    "name": "browserless_skill",
    "arguments": { "id": "cookie-consent" },
  },
}

Para conectarse a un endpoint regional específico de Browser, agrega el encabezado x-browserless-api-url o el parámetro de consulta browserlessUrl:

{
  "method": "tools/call",
  "params": {
    "name": "browserless_agent",
    "arguments": {
      "method": "goto",
      "params": { "url": "https://example.com" },
      "proxy": {
        "proxy": "residential",
        "proxyCountry": "us",
        "proxySticky": true,
      },
    },
  },
}
{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here"
      }
    }
  }
}

Cuando están presentes tanto los encabezados como los parámetros de consulta, los encabezados tienen prioridad.

Claude Desktop

Añade a tu claude_desktop_config.json:

https://mcp.browserless.io/mcp?token=your-token-here

Cursor

Añade a tu configuración de MCP de Cursor:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here",
        "x-browserless-api-url": "https://production-lon.browserless.io"
      }
    }
  }
}

VS Code

Añade a tu configuración de VS Code (settings.json):

https://mcp.browserless.io/mcp?token=your-token-here&browserlessUrl=https://production-lon.browserless.io

Windsurf

Añade a tu configuración MCP de Windsurf:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Autohospedaje

El servidor también puede ejecutarse localmente — útil para despliegues con red aislada o para apuntar a una instancia de Browserless autohospedada. Clona este repositorio y construye la imagen de Docker:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Luego apunta tu cliente MCP a http://localhost:8080/mcp usando la misma autenticación de encabezado/consulta de arriba.

Variables de entorno autohospedadas

| Variable | ... |

Need table.

Recursos MCP

| Recurso URI | Descripción | ...

Instrucciones MCP

| Instrucción | Descripción | ...

Desarrollo

npm install
npm run build
npm test
npm run coverage

Pruebas

La cola usa... etc.

Let's craft final. Need avoid line break weird. Need table render. Also "GXP4" maybe should be "GXP1" etc? Wait source has GXP1... GXP13. We keep.

But the sequence: at line after Install md? GXP maybe is rep. I listed around. The tokens: GXP4 after headers; GXP5 after claude; GXP6 cursor; GXP7 vs code; GXP8 windsurf; GXP3? There are GXP1, GXP2 after headers, GXP3, GXP4, GXP5, GXP6, GXP7, GXP8, GXP9, GXP10, GXP11, GXP12, GXP13? Better.

Need ensure "SSPL-1.0" is unchanged.

Let's output onlyEl objeto proxy se lee una vez al crear la sesión. Par a cambiarlo, usa close e inicia una sesión nueva: el agente vincula las sesiones a la hu靶mpronta del proxy, así que pasar una configuración distinta terminará en un WebSocket nuevo.

Configuración

El servidor está alojado en https://mcp.browserless.io/mcp. Autentícate mediante encabezados (preferido) o un parámetro de consulta ?token=.

¿Instalando mediante un agente de IA? Ver install.md para instrucciones legibles por el agente.

Usando encabezados (recomendado para clientes que los admitan):

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Usando parámetros de consulta URL (para clientes como conectores personalizados de Claude.ai que solo aceptan una URL):

{
  "method": "tools/call",
  "params": {
    "name": "browserless_skill",
    "arguments": { "id": "cookie-consent" },
  },
}

Para conectarte a un endpoint regional específico de Browserless, agrega el encabezado x-browserless-api-url o el parámetro de consulta browserlessUrl:

{
  "method": "tools/call",
  "params": {
    "name": "browserless_agent",
    "arguments": {
      "method": "goto",
      "params": { "url": "https://example.com" },
      "proxy": {
        "proxy": "residential",
        "proxyCountry": "us",
        "proxySticky": true,
      },
    },
  },
}
{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here"
      }
    }
  }
}

Cuando están presentes tanto los encabezados como los parámetros de consulta, los encabezados tienen prioridad.

Claude Desktop

Añade a tu claude_desktop_config.json:

https://mcp.browserless.io/mcp?token=your-token-here

Cursor

Añade a tu configuración de MCP de Cursor:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp",
      "headers": {
        "Authorization": "Bearer your-token-here",
        "x-browserless-api-url": "https://production-lon.browserless.io"
      }
    }
  }
}

VS Code

Añade a tu configuración de VS Code (settings.json):

https://mcp.browserless.io/mcp?token=your-token-here&browserlessUrl=https://production-lon.browserless.io

Windsurf

Añade a tu configuración MCP de Windsurf:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Autohospedaje

El servidor también se puede ejecutar localmente: útil para despliegues en redes aisladas o para apuntar a una instancia de Browserless autohospedada. Clona este repositorio y compila la imagen de Docker:

{
  "mcpServers": {
    "browserless": {
      "url": "https://mcp.browserless.io/mcp?token=your-token-here"
    }
  }
}

Luego apunta tu cliente MCP a http://localhost:8080/mcp usando la misma autenticación de encabezado/consulta de arriva.

Variables de entorno autohospedadas

| Variable | Requerida | Predeterminado | Descripción | ...

Recursos MCP

| URI de recurso | Descripción | ...

Instrucciones MCP

| Instrucción | Descripción | ...

Desarrollo

npm install
npm run build
npm test
npm run coverage

Pruebas

La suite de pruebas usa Mocha con Chai y Sinon.

Las especificaciones viven junto al código en test/ (test/lib/, test/tools/, test/prompts/, test/resources/, test/integration/) y se ejecutan contra la salida compilada en build/.

  • npm test — compila TypeScript y ejecuta cada *.spec.js bajo build/test/. No se requieren servicios externos ni BROWSERLESS_TOKEN; el cliente API está simulado.

  • npm run coverage — ejecuta la suite bajo c8 con los umbrales configurados en package.json (líneas ≥ 80%, ramas ≥ 70%, funciones ≥ 80%).

Las pruebas se ejecutan automáticamente en cada pull request a través del flujo de trabajo de prueba en Node 24. Los PRs deben mantener la suite en verde antes de poder fusionarse.

Obtén tu token de API

Obtén tu token de API en browserless.io. El token autentica todas las solicitudes a Browserless API.

Licencia

SSPL-1.0

Available Tools

21 tools
browserless_accountA
Read-onlyIdempotent
Inspect

Read the Browserless account behind the current API token: plan, unit balance, billing period, and the names of the account API keys. Use it to answer "what plan am I on", "how many units are left", or "which keys exist". Read-only, and never returns API token values.

Inputs: action (required), _prompt.

browserless_agentA
Destructive
Inspect

READ CAREFULLY: Execute browser commands in an agent session.

Core Loop (ReAct: Reason → Act → Observe)

  1. Plan + check for a site recipe — restate the goal, decide the target host, then browserless_skill { site: "<host>" } (see above). Load and follow any matching recipe before writing your own plan. Never jump straight to goto.

  2. goto — waits "domcontentloaded"

  3. snapshot — returns interactive + informational elements (button, link, textbox, combobox, checkbox, heading, img+alt) with ref= selectors

  4. Plan all actions from snapshot

  5. Batch execute

  6. Re-snapshot only if page changed

  7. Repeat → close when done

Ending the session (REQUIRED)

One-shot vs. multi-step (session lifetime). Sessions are one-shot by default: when your commands batch and download drain finish, the browser closes and frees its slot. Decide on your FIRST call:

  • One batch finishes the whole task (e.g. goto + text/html/evaluate to read something): leave it one-shot; it closes automatically.

  • You must look, then act on what you see — any first batch that ends on a snapshot so you can plan later clicks/typing: set keepSessionAlive: true on that first call. The observe-then-act loop spans calls, so this covers most interactive work.

  • Unsure? Set keepSessionAlive: true. A kept session still auto-reaps when idle; a wrongly-closed one loses your page, login and progress. After a keepSessionAlive: true call, pass the returned sessionId back on every later call — it stays alive, no need to repeat the flag. Set keepSessionAlive: false to force-close even when continuing. Profile creation and attached sessions manage their lifetimes separately.

When a step requires human input or you cannot safely proceed without help, stop browser actions and preserve that session. Use an available human-handoff capability to show the browser with specific instructions, then ask the person to finish the step and reply. Never ask them to paste passwords or verification codes into chat. Wait for confirmed completion before taking a fresh snapshot and continuing in the same browser; do not open a replacement or assume that opening a viewer completed the step.

An open session holds one of the account's concurrent browsers until it idles out — leaving it open is not free, and stacking them starves the next task. Report the outcome (only if you loaded a site recipe). Near the end of the run, send { method: "reportSkillOutcome", params: { domain: "<host>", task: "<slug>", success: <bool> } } inside commands — where domain/task are the loaded recipe's <host>/<slug> and success is false if a step in this recipe failed as written, even if you finished another way. Cosmetic differences that didn't break a step are still success: true. This refines shared recipes and retires ones that stop working. Send it once, and only when you loaded a recipe — never for a self-planned run. Send it before reportOutcome and any close (close ends the run and anything after it is dropped). When the loaded recipe's footer shows run_id, skill_use_id and loaded_version, include all three exactly as shown; never invent or alter them, and never send attribution_status. On failure, add one bounded failure_reason: authentication_required (login needed), site_changed (a URL or element no longer matches), blocked (access denied or challenge), timeout (operation timed out), missing_data (required output absent), incorrect_result (output present but wrong), or unknown (cause unclear). For example: { method: "reportSkillOutcome", params: { domain: "example.com", task: "search", success: false, failure_reason: "missing_data" } }. On success, omit failure_reason; success with a failure reason is invalid. Boolean-only legacy reports remain valid; failures default to unknown. These are agent-reported results, not independent validation. Never supply outcome_source: the server assigns provenance. Do not put URLs, secrets, prompts, copied content, or free-form explanations in outcome fields.

  • Report the outcome after you've seen the results. Once the task is done or you are giving up, and you have seen the final results, send { "method": "reportOutcome", "params": { "success": <bool> } } once per task (it costs nothing and is not a page action). If success is false, add "reason": blocked_by_site, captcha, login_required, timeout, or other. Kept-alive session: include it in the batch before close, or send it alone before close. One-shot call: send it as its own call with the sessionId the one-shot reply gives you, which opens no browser.

  • Kept-alive task complete? Close it. Send { "method": "close" } as its own call, as the last thing you do.

  • Ask instead of guessing only when follow-up in the SAME browser is genuinely likely (the user said "then...", you're mid-flow on a logged-in site, or the result invites a next step). Say the browser is still open, ask whether to close it, and close it as soon as they're done.

  • Never end your reply with a live session and no mention of it. Either it's closed, or you told the user it's open and why.

Site recipes (site-specific, NOT auto-injected) — CHECK FIRST

Many specific sites (marketplaces, gov portals, travel, real-estate, etc.) have a tuned recipe for a given task — proven selectors, API shortcuts, proxy needs, and known gotchas that a from-scratch plan will miss. These are not auto-injected; you must ask for them, and a recipe overrides any plan you'd build yourself (including "just use a prefiltered URL + evaluate"). This is step 0 of every task — do it before your first goto. The moment you know the target host (the user named the site, or you resolved which site to use), call browserless_skill { site: "<host>" } — e.g. { site: "airbnb.com" }. If it lists a recipe matching your task, load it with browserless_skill { id: "<host>/<slug>" } and follow it. Only when there's no match do you plan the steps yourself. Skipping this check on a supported site is a mistake — it's one cheap call.

Proxy (optional)

Proxy config is a top-level proxy object on the tool call — it is applied when the session is opened. NEVER call proxy as a method inside commands — a { method: "proxy", ... } JSON-RPC mutation does NOT change the upstream proxy on an already-open session and will silently no-op.

If there is credible evidence the task needs a proxy, you MUST pass proxy options on the very FIRST call (before any goto/snapshot), because the config is read once at session creation. Credible signals include: the user asks for a specific country/region/locale; the target site is known to geo-restrict or block datacenter IPs (streaming, ticketing, retail, banking, real-estate, news paywalls); a prior attempt returned 403/451/captcha/"unusual traffic"/"access denied"; the user explicitly mentions residential / sticky IP / proxy.

If you already opened a session without a proxy and now realize one is needed, you must close and start a new session with the proxy options set — there is no in-session switch.

  • Use proxy: { proxy: "datacenter" } when a lower-cost IP is sufficient. Use proxy: { proxy: "residential" } when the target is known to block datacenter IPs or the cheaper tier still hits a challenge.

  • Inside the object: proxyCountry: "us" — geo (ISO-2); proxyState / proxyCity (paid plans, 401 otherwise); proxySticky: true — stable IP; proxyLocaleMatch: true — match locale; proxyPreset — residential-only named config; externalProxyServer: "http://u:p@host:port" — bring your own (http(s) only)

  • Geo/sticky/locale options require a built-in proxy tier or externalProxyServer; proxyPreset requires proxy: "residential"

OS persona (optional)

The top-level emulationOs, emulatedDevice, screen, deviceScaleFactor, and deviceSlot options are read once when the session opens. Put them on the very first call, before any goto, then keep using the returned sessionId; close and open a new session to change them.

Reach for emulationOs only when there is evidence of platform fingerprinting: a Cloudflare or similar interstitial that never resolves, a hard block on an otherwise healthy page, or a site known to inspect the operating system. Start with emulationOs: "windows" unless the task or site requires another OS. Use emulatedDevice only with Android; desktop screen, deviceScaleFactor, and deviceSlot refine a desktop persona.

Auth

While secret protection is armed, getTabs exposes only tab IDs and active flags, and switchTab only success and the target ID; neither exposes titles or URLs. Use these to run waitForSelector removal checks in each tab, including hidden filled fields. Recheck new tabs before clearing and return to the destination. Navigation never clears the local guard. A completed redirect permits removal verification without a signed-in marker, not clearing without verification. Unknown or inaccessible secret-bearing surfaces must fail closed; these commands do not certify that arbitrary copied secrets are absent.

For an existing-profile session, set keepSessionAlive: true on the initial call so the browser stays open for the required next-batch saved-login report.

Never log in or register by default. Never invent or assume credentials exist (no "test credentials", no "your account"). If the snapshot contains a sign-in link OR you're about to mention "sign in" / "log in" / "auth required" — even as a suggested option to the user — call browserless_skill { id: "autonomous-login" } first — or { id: "autonomous-registration" } when the task is to create an account / sign up / register —, then follow its gates. The skill decides whether login is appropriate and whether credentials are in scope; do not skip it just because no password field is on the page yet.

After a loadSecret login, snapshot, screenshot, PDF, liveURL, and page-content reads (evaluate/html/text) are subject to capture protection. Navigation alone does not unlock backend captures. Only after the fill completes and secret-bearing content is gone from all tabs, including hidden fields, send { method: "clearSecrets" } before requesting a fresh snapshot or capture. If those conditions cannot be confirmed, do not clear to inspect the page. An accepted clear also invalidates snapshots already in flight; request a new snapshot after unlocking.

Saved-login check (only when the session was opened with profile). After the first batch that loads a page on each site — however you read it (snapshot, text, evaluate, or screenshot) — send { "method": "reportProfileAuthentication", "params": { "checkpointId": "<host>:first-page", "outcome": "<authenticated | login_required | challenge | unknown>", "newLoginActivity": false } } as the FIRST command of your NEXT commands batch, before any login actions; the rest of that batch can continue the task, but not with close. If login activity already occurred on this site, use newLoginActivity: true instead. It defaults to the last active-tab snapshot, so if you have not taken one yet, end that first page-load batch with snapshot; if you used snapshot { targetId } to peek at another tab, repeat that targetId in the report. Report authenticated only when the page shows a signed-in element (account menu, sign-out link, avatar); a 200 page, cookies, or a non-login URL alone is unknown. Report login_required for a sign-in form or wall, challenge for a captcha or verification wall. If you later log in on that site (typed credentials, loadSecret, or the autonomous-login skill), send one more report for that site with "newLoginActivity": true and a new checkpoint label such as "<host>:after-login". It is not a page action, costs nothing, and is allowed right after loadSecret. Never send it on sessions without profile.

Pass sessionId on every follow-up call, including reports and close; the session handle retains the profile, so repeating profile is optional.

Terminal-Goal Check

Before declaring done, restate the user's terminal deliverable in one line and verify your evidence directly supports it — not a sibling question. Empty-state substitution. An empty/zero/null result from a resource that normally requires auth, scope, or filter context is evidence the precondition wasn't met — not evidence the question is answered. Empty cart while logged out, zero results while geo-restricted, empty inbox while unauthenticated: precondition failure → fix the precondition (often: load autonomous-login), don't return the empty result as the answer. Multi-step preconditions. When the task names multiple steps ("go to X, then Y, report Z"), evaluate preconditions for the full chain before treating any step as optional. A blocker on step N blocks the whole task even if step 1 returned data.

Skills (auto-injected)

SKILL blocks auto-inject between --- SKILL: <id> --- markers when page/error needs special handling. Read carefully. Load manually via browserless_skill if suspected but not injected:

  • autonomous-login — gates, credential rules, MFA/captcha, how to report the outcome (see ## Auth above for when to load)

  • autonomous-registration — create-account flows: gates, identity and credential-sink rules, save-first-then-loadSecret password handling, emailed-code branch, how to report the outcome

  • shadow-dom — deep selectors, iframe targeting

  • cookie-consent — vendor-specific dismiss recipes

  • modals — closing dialogs and alertdialogs

  • captchas — the solve command (Cloud only)

  • snapshot-misses — truncated/empty snapshots, image-rendered content

  • dynamic-content — choosing the right wait* method

  • screenshots — when to screenshot vs. snapshot, scope and format choices

  • vision-fallback — click by coordinate when the snapshot can't surface an element

  • tabs — multi-tab workflows, peek-without-switching

Snapshot Rules

  • Until you snapshot a page, you CANNOT click/type/interact — snapshot first, no exceptions

  • NEVER guess, assume, or infer selectors — CSS selectors from your training data are wrong. ONLY use ref= / deep-ref= from latest snapshot

  • Snapshot STALE after: click, goto, select, navigation

  • Snapshot VALID after: type, hover, scroll, evaluate

  • Expect new content? → re-snapshot

  • Element roles in snapshot (link, button, textbox, combobox, checkbox, heading) tell you what each does

  • Snapshot lines may include desc="...", action=METHOD URL, autocomplete=..., and intent markers (⚠ destructive, ⚠ sign-out, sign-in, reset)

  • Before activating or navigating to a control marked ⚠ destructive or ⚠ sign-out, confirm that the action is actually intended; an unlabeled destructive control is a common trap

  • Snapshots after the first return a diff vs. your previous snapshot: only + new / ~ changed / - removed elements, plus a count of unchanged ones omitted. Unchanged elements stay valid — keep using their refs from the earlier snapshot. If that earlier snapshot is no longer in your context (summarized/trimmed away), request snapshot { full: true } to get the complete element list again.

Selectors

  • Use ref= (CSS) or deep-ref= (starts < ) exactly as shown in snapshot

  • Example: [3] button "Sign In" ref=button#submit → "button#submit"

  • deep-ref for shadow DOM / iframes — see shadow-dom skill

Iframes

Snapshots include a Frames list (cross-origin iframes) when present. Elements inside a frame are tagged [frame#N] and carry a deep-ref=< *url* css selector that already pierces the frame — pass it as-is to click/type/hover/checkbox. No frame switching needed. captcha/payment widgets (reCAPTCHA, hCaptcha, Stripe, Turnstile) show up here. shadow-dom skill auto-loads when frames present.

Tabs

Snapshots include tabs + activeTargetId — no getTabs needed. Multi-tab / snapshot { targetId } in tabs skill (auto-loads when >1 tab).

Prefer goto over click for links with href — immune to layout shifts, overlays, misclicks. Example: [5] a "About" ref=a[href='/about'] → goto { url: "https://ex.com/about" } Only click when href is javascript: / # / missing.

Content Extraction

  1. Check in-memory snapshot (text/values already there)

  2. text { selector } — from specific element

  3. evaluate { content } — JS (IIFE): (() => { return ... })()

  4. html { selector } — raw HTML

Files (upload / download)

To download a file, DRIVE THE BROWSER first. Login/cookie-gated or generated downloads often have no directly fetchable URL. Click/goto in the agent and collect the captured artifact, then follow its delivery instructions. NEVER read a file's bytes or base64 into this conversation, and NEVER split/reassemble/inline base64 by hand. That is the wrong tool and will stall.

  • Upload a local file (stdio): uploadFile { selector, files: [{ path }] } — the server reads + encodes it only inside the download directory or a directory explicitly allowed by the local operator through BROWSERLESS_UPLOAD_DIRS. Symlink targets must also be inside an allowed directory. Ask the operator about rejected paths; do not bypass the restriction by reading or moving the file yourself.

  • Upload a local file (HTTP): the server can't read your disk. Use a supported client staging path and its returned handle. Legacy clients permitted to use local authentication can follow the authenticated /upload instructions supplied by the server. Native clients must report unsupported staging rather than read local credentials.

  • Re-upload something from getDownloads: pass its handle (works in both modes).

  • Download: captured files auto-surface as metadata. stdio gives a local path. In HTTP mode, follow the artifact's delivery mode: mcp-resource requires a client/tool/runtime verified to save resource blobs to disk without payloads in model requests; if unavailable or unverified, report unsupported saving without reading the resource. Legacy HTTP delivery retains its authenticated save instructions, usable only where local credential access is permitted. Native delivery never falls back to shell authentication, inline bytes, or source URLs. Both routes authenticate the owner and share single-use consumption; files expire after 15 minutes or session cleanup. Check the saved file exists and its size before claiming success. A transfer failure after consumption does not authorize repeating browser actions to regenerate it.

  • base64 content is a LAST RESORT — tiny inline data only.

  • Full recipe: file-transfers skill.

Batching — Maximize Per Call

Plan ALL actions from snapshot before next snapshot.

Process:

  1. Classify actions: safe (type, hover, scroll, evaluate, select, checkbox) vs. page-changing (click, goto)

  2. Batch: safe FIRST → page-changing LAST

  3. For forms: if submit button is in snapshot, batch type + click in one call

  4. Don't batch across navigations

Example form:

{ "commands": [
  { "method": "type", "params": { "selector": "input#email", "text": "j@d.com" } },
  { "method": "click", "params": { "selector": "button#submit" } }
] }

Async

After async triggers (search, submit), use wait* before snapshot — waitForResponse best when API URL known. dynamic-content skill auto-loads on timeout. Never evaluate with setTimeout.

Error Recovery

Errors tagged Category: <NAME>:

  • SELECTOR_MISS — re-snapshot; retry < selector if not already deep-ref

  • SESSION_LOST — a fresh session was opened automatically; re-goto + snapshot (prior state gone)

  • UNAUTHORIZED / FORBIDDEN — pick different path

  • NOT_FOUND — different URL

  • SERVER_ERROR — backoff, retry once

  • NAVIGATION_FAILED — verify URL

  • TIMEOUT — longer wait or different signal

  • INVALID_PARAMS — fix params (schema authoritative)

  • UNKNOWN_METHOD — no such method; pick one from the schema

  • SCRIPT_ERROR — your evaluate script threw; page still alive, fix the script

  • UNKNOWN — re-snapshot + re-plan

! NOTICE: URL changed cross-origin = prior plan/refs invalid, re-plan. Never retry same failed action without re-snapshot.

Methods (non-obvious)

  • goto { url, waitUntil? } — default "domcontentloaded"; prefer over click for links

  • snapshot { maxElements?, targetId? } — cap 500; targetId peeks non-active tab

  • evaluate { content } — IIFE only

  • waitForSelector { selector, timeout? } — set 5000-10000ms

  • waitForResponse { url?, statuses?, timeout? } — url is glob "*api/results*"

  • createTab { url?, activate?, waitUntil? } — default activate: true; false = background

  • loadSecret { ref, selector? } — fills a vault secret server-side (op://<vault>/<item>/<field>, or mail://<vault>/<inbox item>/otp for an emailed code); you never see the value; arms capture protection, including snapshots. Navigation alone does not unlock captures

  • saveSecret { title, username, password, website?, vault? } → { ok, ref } or { ok: false, error, vaults? } — needs integrationId on the FIRST call; omit vault unless the result lists several

  • clearSecrets {} — lowers capture protection; use only after the fill completes and secret-bearing content is gone from all tabs, including hidden fields, never just after clicking submit. Then request a fresh snapshot. waitForNavigation/waitForResponse/waitForSelector are allowed while armed but do not unlock snapshots

  • close — own call, NOT batched; only when task complete (premature close discards page state)

  • liveURL { timeout?, instructions? } — defaults to 300000ms (five minutes); server caps the requested lifetime at your plan's maximum session time and remaining browser time. For a human handoff, pass specific instructions explaining what to do and when to click Done. Interactive links supply generic instructions when omitted; an empty string disables the card and Done button. Set keepSessionAlive: true on the handoff call, reuse the returned sessionId, and close the browser when the overall task finishes. Creating a link does not extend the browser deadline; keeping the browser open remains billed.

  • See schema for: screenshot, solve, back, forward, reload, click, type, select, checkbox, hover, scroll, text, html, waitForNavigation, waitForTimeout, waitForRequest, liveURL, getTabs, switchTab, closeTab

Runtime: LOCAL (stdio)

Before any file transfer, know your mode: this server runs over stdio, on the same machine as your files. To UPLOAD a local file, pass its path to uploadFile (files: [{ path }]). The path and any symlink target must be inside the download directory or a directory the local operator explicitly allowed through BROWSERLESS_UPLOAD_DIRS. Ask the operator about rejected paths; do not read or move the file to bypass the restriction. Do NOT base64 the file or read its bytes into the conversation. DOWNLOADS are saved to local disk; the agent response gives you the path.

Repetition self-check

When a tool response contains REPETITION WARNING, re-read your plan and compare your completed steps with the intended progress. Do not repeat the same batch blindly: choose a materially different approach within the task's constraints, or stop and report what is blocked and what you tried. Repetition is a signal to check progress, not proof of failure; continue a repeated action only when you can identify concrete progress or a task-required reason.

Inputs: os, proxy, method, params, +17 more.

browserless_crawlA
Read-only
Inspect

Crawl a website and scrape every discovered page using Browserless. Starts from a seed URL and follows links up to a configurable depth. Supports sitemap discovery, path filtering, subdomain handling, and custom scrape options. Returns scraped content (markdown/HTML) for each page along with metadata. Useful for comprehensive site analysis, content extraction, and data gathering.

Inputs: url (required), delay, limit, _prompt, +13 more.

browserless_exportA
Read-only
Inspect

Export a webpage from a URL via the Browserless /export API. Fetches the URL and returns its content in the native format (HTML, PDF, image, etc.). Automatically detects the content type. Set includeResources=true to bundle all page assets (CSS, JS, images) into a ZIP archive for offline use.

Inputs: url (required), toDisk, _prompt, profile, +5 more.

browserless_functionA
Destructive
Inspect

Execute custom Puppeteer JavaScript code on the Browserless cloud. Your function receives a Puppeteer page object and optional context data.

Set toDisk=true to save any result, including JSON/text, outside the conversation. Native MCP sessions save binary results by default; toDisk=false explicitly requests inline analysis. Saving follows the returned delivery instructions and requires a verified client path.

For inline analysis: What the function returns decides the response:

  • Bytes (a Uint8Array), e.g. return await page.screenshot({ type: "jpeg" }) or return await page.pdf(): the file type is detected from the bytes. PNG/JPEG/WebP → vision content block (~1.5K tokens); MP3/WAV → audio content block; PDF and other files → resource content block (attachment)

  • A string → text

  • Any other object or array → JSON text. A { data, type } wrapper is NOT unwrapped, so wrapped bytes come back as a huge JSON text that fails the limit below

Return the Uint8Array as-is: Buffer is not available inside the function, and a base64 string comes back as text, not an image.

Text responses are capped at 200,000 characters (~50K tokens). Larger text payloads will be rejected — filter or summarize inside your function, or return the raw bytes if you actually meant to return a file.

Useful for complex scraping, form filling, or any browser automation that requires custom code.

Inputs: code (required), toDisk, _prompt, context, +2 more.

browserless_live_urlA
Destructive
Inspect

Create, inspect, or close a live viewer link for an existing browser through REST, without an agent connection. In MCP Apps clients, create displays the viewer inline; other clients receive the viewer URL as JSON. Direct create does not pause automation. Create options default on the server: view-only, jpeg, quality 70, not resizable, browser interface shown. Link lifetime defaults to 15 minutes, capped by your plan's maximum session time and remaining browser time; creating a link does not keep the browser alive. For a human handoff, pass instructions explaining what to do and when to click Done. Interactive creates and handoffs supply a generic instruction when omitted. For create, an empty string disables the card and Done button; view-only creates have no default instructions. Instructions accept a string or an object with layout, format, title, summary, steps, and currentStep. For string instructions use instructionsTitle, steps, currentStep, and instructionsFormat beside instructions. doneLabel, failLabel, and requesterName are always top-level options. Status returns status, reason, interactable, viewerCount, and expiresAt (epoch ms). Ended links remain inspectable until their browser closes; closing an ended link returns not found.

Inputs: action (required), type, steps, _prompt, +16 more.

browserless_logsA
Read-onlyIdempotent
Inspect

Read Browserless's own record of the account's recent requests: what was attempted, whether it failed, why it stopped, how long it took and what it cost. This is the tool for diagnosing a run that failed on the Browserless side rather than in your own code. The window available depends on the account plan; the server reports the limit if a range is refused. Read-only. When an inline view can be prepared, MCP Apps clients receive a viewRef; use browserless_show to display the request-log explorer. Its rows and pagination cursors stay in widget-only metadata. Otherwise returns the standard Markdown result.

Inputs: url, limit, order, cursor, +10 more.

browserless_mapA
Read-only
Inspect

Discover and map all URLs on a website using Browserless. Scans a site via sitemaps and link extraction to find all pages. Returns a list of URLs with optional titles and descriptions. Use the search parameter to order results by relevance to a query. Useful for site audits, content discovery, and building site maps.

Inputs: url (required), limit, search, _prompt, +4 more.

browserless_performanceA
Read-only
Inspect

Run a Lighthouse performance audit on any URL via the Browserless /performance API. Returns scores and metrics for accessibility, best practices, performance, PWA, and SEO. Optionally filter by category, emulate a mobile or desktop device, supply a custom Lighthouse config, or supply performance budgets. Returns category scores and available Lighthouse lab metrics inline: FCP, LCP, TBT, CLS, Speed Index, initial server response time, and total transfer size. Use these metrics to answer page-speed questions without writing timing scripts. INP is not measured by this navigation audit; TBT is a responsiveness proxy. Saves the full JSON report outside the conversation. Follow its delivery instructions to save locally and inspect only the audits you need. Note: audits can take 30s–120s depending on the site. In clients with inline widgets, returns a pending audit reference immediately; the widget runs the audit and displays results. Do not repeat or poll the audit. Use browserless_performance_result for follow-up analysis of a completed audit.

Inputs: url (required), config, device, _prompt, +4 more.

browserless_performance_resultA
Read-onlyIdempotent
Inspect

Retrieve an existing inline Lighthouse audit for follow-up analysis using its exact auditRef. Never starts or repeats an audit. If still pending, let the widget finish; do not poll.

Inputs: auditRef (required).

browserless_performance_runA
Read-only
Inspect

Widget-only execution of a prepared Lighthouse audit. Repeated requests reuse the same audit.

Inputs: auditRef (required).

browserless_profilesA
Read-only
Inspect

List the authentication profiles saved for the current token. A profile is a saved logged-in browser state (cookies + storage) that can be replayed by passing its name as profile to other tools. Call this before a task that needs the browser to start signed in, to discover which profiles already exist and pick one by name. Returns each profile name plus cookie/origin counts and last-used time.

Inputs: limit, offset, _prompt.

browserless_sessionsA
Read-onlyIdempotent
Inspect

Inspect the sessions on the Browserless account behind the current API token: browsers running right now, persistent sessions saved on dedicated workers, recorded session replays, and 1Password credential integrations. Use it to answer "what is running", "did my session survive", or "what got recorded". Read-only — it never stops a session. Action replay downloads one recording and returns a fully self-contained playable rrweb page, needing no network to render: display it inline if you can render HTML, otherwise build an artifact from the returned instructions so the user can watch it. Always show the replay — never just summarise it in words. For MCP Apps clients, actions active and replay return a viewRef without rendering. Call browserless_show with that exact reference to display the result; do not read or repeat recording data.

Inputs: action (required), page, skip, limit, +3 more.

browserless_showA
Read-onlyIdempotent
Inspect

Display a prepared Browserless replay, screenshot gallery, video, human handoff, account usage, active sessions, or request-log explorer inline. Pass the exact viewRef returned by its producer tool. Never repeats browser actions, downloads, or creates another handoff.

Inputs: viewRef (required). Returns: data, kind, summary, viewRef, +1 more

browserless_skillA
Read-only
Inspect

Load a Browserless agent skill on demand, or discover site-specific recipes.

Two uses:

  • { site: "" } — list any site-specific recipes tuned for that host (e.g. { site: "ebay.com" }), returned as pointers. Do this as soon as you know the host you're about to drive; if one matches your task, load it by id. Returns a "no recipe" note when there's none.

  • { id: "" } — load a skill body: an in-house skill id (list below) OR a site recipe id host/slug from a site lookup.

Use the in-house skills below when you suspect the page exhibits a non-trivial mechanic but no SKILL block was auto-injected. The auto-injection heuristics are conservative; calling this tool is the explicit fallback.

Available in-house skills:

  • shadow-dom — deep selectors, iframe URL-pattern syntax, what works through deep-ref

  • cookie-consent — vendor-specific dismiss recipes (OneTrust, Cookiebot, Didomi, etc.)

  • modals — close-button heuristics, ESC handling, alertdialog vs. dialog

  • snapshot-misses — truncated/empty snapshots, image-rendered content

  • dynamic-content — choosing the right wait* method after async triggers

  • screenshots — when to screenshot vs. snapshot, scope and format choices

  • vision-fallback — click by coordinate when a "< " deep selector still can't surface the element (shadow DOM, nested iframe, canvas)

  • tabs — multi-tab workflows, peek-without-switching

  • autonomous-login — load before authenticating: when the user asked you to log in, when a wall blocks the task, or as soon as a password input appears. Covers the don't-login-by-default posture, contextual credential matching, MFA/captcha branches, and how to report the outcome.

  • autonomous-registration — load before creating an account: when the user asked you to sign up / register, or as soon as a Create-account form appears. Covers the don't-register-by-default posture, identity and credential-sink rules, save-first-then-loadSecret password handling, the emailed-code branch, and how to report the outcome.

  • captchas — the solve command, response semantics, escalation path (Cloud-only)

  • file-transfers — uploadFile / getDownloads, stdio-path vs. base64 content, size caps

  • profile-import — import the user's local Chrome/Brave/Edge sign-ins as a profile with the Browserless CLI (consent-gated; only when running on the user's machine)

Inputs: id, site, _prompt.

browserless_smartscraperA
Read-only
Inspect

Scrape a SINGLE webpage and return HTML, markdown, raw DOM text, links, screenshots, or PDFs plus page metadata, or AI-extracted JSON (formats "json" + jsonOptions) and a short summary (format "summary"); the AI formats add extraction units. Handles JavaScript-heavy pages and anti-bot measures automatically. For content across MULTIPLE pages of a site, use browserless_crawl; to list a site's URLs, use browserless_map.

Inputs: url (required), toDisk, _prompt, formats, +8 more.

browserless_usageA
Read-onlyIdempotent
Inspect

Read request and unit consumption for the Browserless account behind the current API token: successes, errors, timeouts, queueing, peak concurrency, captchas, proxy bytes and units. Use it to answer "how much have I used" or "why is my bill high". For per-request detail on failures, use browserless_logs instead. Read-only. MCP Apps clients receive a viewRef; call browserless_show with that exact reference to display the usage meter. Timeframe affects request counters only; billed units cover the billing period.

Inputs: _prompt, apiKeyIds, timeframe.

browserless_view_dataA
Read-onlyIdempotent
Inspect

Widget-only reader for a prepared replay. Not a rendering tool. Use the original viewRef and opaque cursor; never fetch replay data into the conversation.

Inputs: viewRef (required), cursor, _prompt, encoding. Returns: complete, nextCursor

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 21 tools

    Disambiguation2/5

    Several tools overlap heavily around page acquisition and automation: browserless_agent, browserless_function, browserless_smartscraper, browserless_export, and browserless_crawl can all fetch or drive a page, with boundaries that depend on subtle format or scale differences. The performance/result/run trio and show/view_data pair further split closely related operations, so an agent can easily choose the wrong entry point despite the detailed descriptions.

    Naming Consistency4/5

    All tools use the same browserless_ prefix and snake_case, with no camelCase or chaotic mixing. The main deviation is that some names are verbs (export, crawl, search, show) while others are nouns (agent, function, profiles, logs), but the pattern remains readable and predictable.

    Tool Count3/5

    At 21 tools the surface is heavy, sitting in the borderline 16-25 range, and several entries are narrow widget or payment helpers that could be consolidated. The breadth of the Browserless API partly justifies the count, but the set feels larger than necessary for most agent workflows.

    Completeness4/5

    The server covers a wide lifecycle: browser automation, scraping, crawling, mapping, search, export, performance audits, profiles, sessions, logs, usage, live viewing, and payment flows. Minor gaps remain, such as read-only session/profile management without stop or create/delete operations, but core browser automation workflows are well covered.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server for browser automation with anti-detection. Scout pages, find elements, interact with websites, and monitor network traffic from any AI client that supports the Model Context Protocol.
      21
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Remote MCP server for web scraping with anti-bot evasion. Provides stealth HTTP fetching, headless browser with Cloudflare bypass, CSS selectors, YouTube transcripts, and Markdown conversion.
      1
      MIT