Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 14, 2026·2 min de lecture

Playwright MCP — Browser Automation for Agents

Playwright MCP exposes browser automation via MCP with device emulation; verified 5,510★ and documents 143 device profiles plus `playwright install` setup.

MCP Hub
MCP Hub · Community
Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install 0c80ab9c-0031-5a65-b7f5-fcdb5de2232e --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

Playwright MCP exposes browser automation via MCP with device emulation; verified 5,510★ and documents 143 device profiles plus playwright install setup.

Best for: Agent builders who need reliable browser automation with explicit tools and repeatable prompts

Works with: Claude Code/Claude Desktop/VS Code MCP and any client that can run an stdio MCP server

Setup time: 10-20 minutes

Key facts (verified)

  • GitHub: 5510 stars · 510 forks · pushed 2025-12-13.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: npx @executeautomation/playwright-mcp-server.

Main

  • Prefer tool-driven prompts (“use Playwright MCP tool to click X”) over free-form browsing for reproducible runs.
  • Install Playwright browsers explicitly (npx playwright install chromium) so the MCP server can launch reliably in CI/containers.
  • Use device emulation only when needed—README highlights 143 device profiles; desktop mode is usually less flaky.

Source-backed notes

  • README shows install options including npm install -g ... and Claude Code integration via claude mcp add ... npx ....
  • README includes Playwright setup steps such as npx playwright install and per-browser installs (chromium/firefox/webkit).
  • README claims support for 143 device emulation profiles with viewport/UA/touch/DPR emulation.

FAQ

  • Do I need a global install?: Not required—npx works, but global install can speed up repeated runs.
  • Why does browser launch fail?: Most failures come from missing browser binaries; run npx playwright install <browser> first.
  • Is it only for Claude?: No—README mentions VS Code install links and other MCP-capable clients.
🙏

Source et remerciements

Source: https://github.com/executeautomation/mcp-playwright > License: MIT > GitHub: ⭐ 5510 · forks 510

Thanks to the upstream maintainers for shipping the original project.

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires