Playwright
Official
⚙️ Developer Tools
Browser automation for web testing, scraping, and interaction. Navigate pages, click elements, fill forms, take screenshots, and more.
Tools (15)
Client configuration
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@0.0.80",
"--headless"
],
"env": {
"HEADLESS": "your-headless-here"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@0.0.80",
"--headless"
],
"env": {
"HEADLESS": "your-headless-here"
},
"type": "stdio"
}
}
}Replace the placeholders before connecting. Authorize in your client when prompted.
The Cursor JSON also works in Claude Desktop's local MCP configuration. Install the required runtime and local software first.