Official Microsoft MCP server for browser automation. Agents navigate pages and interact with elements via accessibility snapshots — no vision model required.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your assistant, with Playwright MCP connected:
- Accessibility Snapshots
Use Playwright MCP to generate structured accessibility trees of any page: ‹what you need›
- Element Interaction
Use Playwright MCP to click elements: ‹what you need›
- Network Monitoring
Use Playwright MCP to inspect network requests and responses during agent-driven browser sessions: ‹what you need›
Connect it over MCP
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}claude mcp add playwright-mcp -- npx @playwright/mcp@latest
It runs on your computer, so web assistants such as Grok and ChatGPT can’t start it.
Setup guide: github.com/microsoft/playwright-mcp
Install the CLI
Install it as its own instructions say.
Setup guide: github.com/microsoft/playwright-mcp
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- MCPCLI
- Auth
- None
- Skills
- 5
Skills
Accessibility Snapshots
Generates structured accessibility trees of any page so agents navigate without screenshots
Page Navigation
Navigate URLs, follow links, go back/forward, and control browser history programmatically
Element Interaction
Click, type, focus, hover, and select elements using stable accessibility selectors
Form Automation
Fill and submit forms, handle dropdowns, checkboxes, and file uploads without vision
Network Monitoring
Inspect network requests and responses during agent-driven browser sessions