Microsoft's Playwright MCP is a Model Context Protocol (MCP) server designed for browser automation using Playwright. It allows LLMs to interact with web pages through structured accessibility snapshots, avoiding the need for vision models. Highlights include fast and lightweight operation, LLM-friendly tools, and deterministic tool application. The MCP supports tasks like web navigation, form-filling, data extraction, and automated testing. It’s installable via VS Code CLI and supports both headless and headed modes. There are two modes: Snapshot Mode (default) for performance and reliability, and Vision Mode for visual interactions.
Table of contents
Key FeaturesUse CasesExample configRunning headless browser (Browser without GUI).Running headed browser on Linux w/o DISPLAYTool ModesProgrammatic usage with custom transportsSnapshot ModeVision ModeSort: