Back to MCP Servers
Playwright Browser Automation
Official Microsoft Playwright MCP server for browser automation, web scraping, testing, and accessibility snapshots
browserautomationtestingscrapingplaywrightofficial
By Microsoft
Installation
npm install -g @playwright/mcpConfiguration
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp"]
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes