Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
Descripción del creador (original en inglés)
Run Playwright tests and surface structured results for AI agents doing test failure analysis.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
PW_ALLOWED_DIRS, PW_RESULTS_FILENecesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"playwright-report": {
"command": "npx",
"args": [
"-y",
"playwright-report-mcp"
],
"env": {
"PW_ALLOWED_DIRS": "your-value",
"PW_RESULTS_FILE": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add playwright-report --env PW_ALLOWED_DIRS=your-value --env PW_RESULTS_FILE=your-value -- npx -y playwright-report-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"playwright-report": {
"command": "npx",
"args": [
"-y",
"playwright-report-mcp"
],
"env": {
"PW_ALLOWED_DIRS": "your-value",
"PW_RESULTS_FILE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"playwright-report": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"playwright-report-mcp"
],
"env": {
"PW_ALLOWED_DIRS": "your-value",
"PW_RESULTS_FILE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
PW_ALLOWED_DIRS envPW_RESULTS_FILE envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub hubertgajewski, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (3.4.0) llegó al registro hace 42 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.
En la misma categoría: Browser Use, Chrome DevTools MCP, MCP Server Browser
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
MCP server for Chrome DevTools
MCP server for browser use access
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
An MCP (Model Context Protocol) server for running Playwright tests and reading structured results, failed test details, and attachment content — designed for AI agents doing test failure analysis.
Playwright Report MCP gives an AI agent structured, token-efficient access to Playwright test outcomes. It runs your test suite, reads the JSON reporter output, and surfaces exactly what the agent needs: which tests failed, what the errors were, and the content of relevant attachments.
There are many Playwright MCP servers that control a browser — they navigate pages, click elements, fill forms, and take screenshots. Playwright Report MCP is not one of those.
| Browser automation MCPs | Playwright Report MCP | |
|---|---|---|
| Examples | microsoft/playwright-mcp, executeautomation/mcp-playwright | this project |
| Purpose | Let an AI agent drive a browser | Let an AI agent read test results |
| Runs tests | No | Yes |
| Returns pass/fail | No | Yes |
| Surfaces error messages | No | Yes |
| Reads attachment content | No | Yes |
Default reporters (`list` / `dot`) — Playwright's default reporters print human-readable output to stdout. Compact, but lossy: no attachment paths, no retry breakdown, no structured data.
HTML reporter (report.html) — A self-contained SPA bundle (typically 2–50 MB). Not machine-readable as text and exceeds any LLM context window.
Reading `results.json` directly — Works, but a full JSON report for even a small test suite is 10,000–20,000 tokens. For a failing test, most of that is passing test metadata you don't need.
results.json to only failed testsApproximate input token counts based on Claude tokenization (~3–4 characters per token for mixed JSON/text content).
| What you need | Without MCP — approach | Tokens (no MCP) | With MCP — tool calls | Tokens (MCP) | Savings |
|---|---|---|---|---|---|
| Error message only — live run | npx playwright test, read stdout (list/dot) | ~500–1,200 | run_tests + get_failed_tests | ~300–500 | ~2× |
| Error message only — existing results | Read full results.json | ~12,500–23,000 | get_failed_tests | ~300–500 | ~25–45× |
| + page state at failure | + read error-context file | ~15,000–26,000 | + get_test_attachment('error-context') | ~2,800–3,500 | ~4–7× |
| + custom text attachments¹ | + read attachment files | ~16,200–28,500 | + get_test_attachment ×2 | ~3,300–5,500 | ~4–5× |
| + full page HTML snapshot² | + read snapshot file | ~41,000–103,000 | + get_test_attachment | ~33,300–85,500 | ~1.2× |
¹ Custom text attachments — e.g. AI diagnosis (~500–2,000 tokens) and console logs (~200–500 tokens) added via
testInfo.attach()in your own fixtures.
² Full page HTML snapshot — a custom fixture that attaches the full rendered page HTML on failure. Large pages alone can reach 30,000–80,000 tokens and dominate cost regardless of whether MCP is used.
Key observations:
list/dot) is compact but gives the agent no path to attachment content — dead end for deeper analysisresults.json directly costs ~12,500–23,000 tokens even when only one test failed — most of it is passing test metadata the agent doesn't neederror-context is the single largest optimisation availableThe primary use case: your CI pipeline runs the tests, the agent picks up the results after the fact and diagnoses failures. get_failed_tests reads results.json regardless of who triggered the run. No re-run needed.
1. Install via npx (recommended)
No clone or build step needed — npx downloads and runs the server automatically:
{
"mcpServers": { "playwright-report-mcp": { "command": "npx", "args": ["-y", "playwright-report-mcp"], "type": "stdio" } } }
Or build from source:
git clone https://github.com/hubertgajewski/playwright-report-mcp.git
cd playwright-report-mcp npm install && npm run build
2. Add the JSON reporter to your Playwright project
// playwright.config.ts
reporter: [ ['json', { outputFile: 'test-results/results.json' }], ['html'], // keep any existing reporters ],
3. Register in `.mcp.json`
{
"mcpServers": { "playwright-report-mcp": { "command": "npx", "args": ["-y", "playwright-report-mcp"], "type": "stdio" } } }
4. Ask your AI agent
Run the Playwright tests and tell me what failed.
Tested with Claude Code (CLI). Should work with any MCP-compatible client that supports stdio transport, including Claude Desktop, Cursor, Cline, Windsurf, and Continue.dev — but these have not been verified.
The stdio server supports both MCP protocol eras from one entrypoint:
2026-07-28, selected by clients using version negotiation (for example, versionNegotiation: { mode: "auto" }).initialize handshake. This remains the default behavior in the MCP client SDK.The opening exchange pins one era for the connection lifetime. A client that pins an unsupported revision receives an explicit negotiation error; the server does not silently switch it to another era.
The project-scoped tools accept an optional workingDirectory parameter — see Multi-worktree support. get_run_status can use either a runId from run_tests with wait: false, or a workingDirectory lookup for the latest tracked run.
run_testsRuns the Playwright test suite and returns structured pass/fail results.
| Input | Type | Description |
|---|---|---|
workingDirectory | string (optional) | Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS — see Multi-worktree support. |
spec | string (optional) | Spec file path relative to the project directory, e.g. tests/login.spec.ts. Must stay within the project directory. |
browser | enum (optional) | Chromium, Firefox, Webkit, Mobile Chrome, Mobile Safari |
tag | string (optional) | Tag filter, e.g. @smoke |
timeout | integer (optional) | Timeout in milliseconds for the whole test run. Defaults to 300000 (5 min). Use a larger value for long suites or a smaller one to fail fast. When the run is killed by this timeout, the tool returns an explicit error rather than a generic non-zero exit. |
wait | boolean (optional) | Wait for completion before returning. Defaults to true. Set to false to start a background run and poll it with get_run_status. |
updateSnapshots | enum (optional) | Update snapshot baselines. One of all, changed, missing, none. Playwright's default is missing; changed updates differing + missing. Omit to leave existing baselines alone. |
headed | boolean (optional) | Run with a visible browser window. Omitting or setting false leaves playwright.config.ts intact — Playwright has no --no-headed flag, so false does not force headless when the config sets headed. |
workers | integer (optional) | Number of parallel workers. Positive integer only; the "50%" string form is not yet supported. |
retries | integer (optional) | Maximum retry count for flaky tests. 0 explicitly disables retries; omit to use the project's config. |
| maxFailures | integer (optional) | Stop the run after this many failures. Positive integer.
Solo se muestra el principio; lee el resto en el repo