playwright-mcp
If you are the rightful owner of playwright-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Playwright MCP is a Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
Playwright MCP is a server that leverages Playwright to offer browser automation capabilities. It allows language models to interact with web pages using structured accessibility snapshots, eliminating the need for screenshots or visually-tuned models. This server is designed to be fast and lightweight, utilizing Playwright's accessibility tree rather than pixel-based input. It is particularly LLM-friendly, as it operates purely on structured data without requiring vision models. The deterministic tool application feature ensures that it avoids the ambiguity often associated with screenshot-based approaches. To use Playwright MCP, Node.js 18 or newer is required, along with an MCP client such as VS Code, Cursor, Windsurf, or Claude Desktop.
Features
- Fast and lightweight: Uses Playwright's accessibility tree, not pixel-based input.
- LLM-friendly: No vision models needed, operates purely on structured data.
- Deterministic tool application: Avoids ambiguity common with screenshot-based approaches.
Tools
browser_snapshot
Capture accessibility snapshot of the current page, this is better than screenshot
browser_click
Perform click on a web page
browser_drag
Perform drag and drop between two elements
browser_hover
Hover over element on page
browser_type
Type text into editable element