playwright-mcp
v0.0.86Playwright Tools for MCP
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add playwright-mcp -- npx -y --package=@playwright/mcp@0.0.86 playwright-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"playwright-mcp": {
"args": [
"-y",
"--package=@playwright/mcp@0.0.86",
"playwright-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"playwright-mcp": {
"args": [
"-y",
"--package=@playwright/mcp@0.0.86",
"playwright-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"playwright-mcp": {
"args": [
"-y",
"--package=@playwright/mcp@0.0.86",
"playwright-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.playwright-mcp]
command = "npx"
args = ["-y", "--package=@playwright/mcp@0.0.86", "playwright-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: browser_close, browser_resize, browser_console_messages, browser_handle_dialog, browser_emulate_media, browser_evaluate, browser_file_upload, browser_drop, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json