MCP ConfigsMay 14, 2026·2 min read

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.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 0c80ab9c-0031-5a65-b7f5-fcdb5de2232e --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

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 & Thanks

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

Thanks to the upstream maintainers for shipping the original project.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets