mcp server
Playwright MCP
Drives a browser through accessibility snapshots so LLMs can navigate, click, type and screenshot pages.
Set up
Runs on your computer. Pick your agent and operating system.
Before you start
- Node.js 20 or newer
- Docker Desktop
- Node.js
- Playwright browser binaries
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12
Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs
Tools provided
As listed by the project. Your agent asks before calling them, depending on its settings.
browser_navigateOpen a URLbrowser_snapshotCapture an accessibility snapshot of the pagebrowser_clickClick an elementbrowser_typeType text into an elementbrowser_take_screenshotTake a screenshotbrowser_evaluateRun JavaScript in the page
README
synced Oct 13, 2026Playwright MCP
Drives a browser through accessibility snapshots so LLMs can navigate, click, type and screenshot pages.
Install
npx -y @playwright/mcp
docker run -i --rm mcr.microsoft.com/playwright/mcp
Configuration
| Variable | Required | Description |
|---|---|---|
PLAYWRIGHT_MCP_BROWSER | No | Browser to launch (optional; default set by the server) |
Tools
browser_navigate— Open a URLbrowser_snapshot— Capture an accessibility snapshot of the pagebrowser_click— Click an elementbrowser_type— Type text into an elementbrowser_take_screenshot— Take a screenshotbrowser_evaluate— Run JavaScript in the page
About this listing
Details were gathered from the project's public pages on 2026-10-13 and have not been reviewed by a person yet. Read the project's own documentation before giving it access to anything sensitive.
Sources: