Playwright MCP
The official Playwright MCP server from Microsoft, giving Claude Code 68 browser-automation tools that operate on the page's accessibility tree — no vision model needed. Covers navigation, clicks, form fill, keyboard input, screenshots, and network inspection. For high-throughput coding agents, Microsoft also offers a token-efficient Playwright CLI with Skills as an alternative to MCP.
View on GitHubWhat it does
- npx @playwright/mcp@latest
Launch the Playwright MCP server, which registers 68 browser automation tools for Claude Code to call.
- browser_navigate
MCP tool that navigates to a given URL in the controlled browser.
- browser_click
MCP tool that clicks an element identified by its accessibility-tree reference or a CSS selector.
- browser_type
MCP tool that types text into an editable element identified by its accessibility-tree reference.
- browser_snapshot
MCP tool that returns the page's current accessibility tree as structured data — use this (not the screenshot) when selecting elements for subsequent actions.
- browser_take_screenshot
MCP tool that captures the current page as an image file for visual inspection.