Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsMay 11, 2026·3 min de lectura

Playwright MCP — Browser Automation Server

Playwright MCP is an MCP server for browser automation via Playwright snapshots. Add via npx in Claude Code/Codex to run deterministic actions.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Stage only · 29/100Stage only
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp Config
Instalación
Single
Confianza
Confianza: Established
Entrada
@playwright/mcp
Comando CLI universal
npx tokrepo install 7f3a756c-8ec2-4b20-8ad6-99bfc5155af3
Introducción

Playwright MCP is a verified GitHub-backed asset sourced from microsoft/playwright-mcp with 32,355 stars and a Apache-2.0 license snapshot. Best for: agents that need deterministic browser automation without vision models, using structured accessibility snapshots. Works with: Node.js 18+, any MCP client (Claude Code/Codex/Cursor/etc.). Setup time: 5 minutes.

Quantitative notes

  • Node.js 18+ requirement (repo)
  • npx @playwright/mcp@latest install path (repo)

Deep Dive

What it solves

Use this when you need a repeatable, team-shareable workflow instead of one-off agent prompts. The goal is to make installation, first-run validation, and rollback predictable.

Minimal mental model

  • Treat the GitHub repo as the source of truth: install instructions, configs, and upgrade paths live there.
  • Keep your first run small: one command, one verification, one rollback plan.
  • Capture a baseline: setup time, first successful run, and one real task completed end-to-end.

Safe rollout checklist

  1. Verify source: confirm repo URL, stars, and license match what you expect.
  2. Install using the Quick Use commands above.
  3. Prove it works with the verification command; save the output in a note or issue.
  4. Operationalize: document owner, upgrade command, and rollback command.

Troubleshooting (common)

  • Install succeeds but nothing shows up

    • Likely cause: the tool needs a restart/reload (CLI/IDE) or a config file in the right path.
    • Fix: restart the client, then re-run the verification step.
  • Works on one machine, fails on another

    • Likely cause: Node/Python/Docker versions differ or missing system dependencies.
    • Fix: pin versions (Node/Python), and copy a minimal known-good config.
  • Token cost or latency is worse than expected

    • Likely cause: tool schemas or verbose outputs get injected into context.
    • Fix: prefer smaller steps, cache results, and keep tool responses concise when possible.

FAQ

Q: MCP vs CLI—when should I pick MCP? A: The repo explains MCP is useful when you want persistent state and rich introspection; CLI can be more token-efficient for coding agents.

Q: Do I need a vision model? A: The repo positions it as accessibility-tree based automation; you still validate outcomes, but it doesn't require screenshot reasoning by default.

Q: How do I keep it stable in CI? A: Pin Node + Playwright versions and keep browser dependencies consistent across environments.


🙏

Fuente y agradecimientos

GitHub: https://github.com/microsoft/playwright-mcp Owner avatar: https://avatars.githubusercontent.com/u/6154722?v=4 License (SPDX): Apache-2.0 Stars (verified via api.github.com/repos/microsoft/playwright-mcp): 32,355

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados