Chrome DevTools
Google Chrome
Debug, profile and inspect a live Chrome instance.
npx -y chrome-devtools-mcp@latestFast, reliable browser automation via accessibility snapshots.
mcpServers (merge with any servers you already have).
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
--scope user for every project, or --scope project to share it via .mcp.json.
claude and run /mcp to confirm the server is connected.
claude mcp add --transport stdio playwright -- npx @playwright/mcp@latest
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
ChatGPT only connects to remote MCP servers over HTTPS, and Playwright runs locally. Use a client that can launch local servers, such as Claude Desktop, Claude Code, Cursor or VS Code.
~/.codex/config.toml.
codex and type /mcp to see the server's tools.
codex mcp add playwright -- npx @playwright/mcp@latest
[mcp_servers.playwright]command = "npx"args = ["@playwright/mcp@latest"]
Requires Node.js 20 or newer.
-s user makes it global), or edit ~/.gemini/settings.json.
/mcp inside Gemini CLI to confirm it's connected.
gemini mcp add -s user playwright npx @playwright/mcp@latest
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
~/.cursor/mcp.json (global) or .cursor/mcp.json (this project).
{ "mcpServers": { "playwright": { "type": "stdio", "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
.vscode/mcp.json.
code --add-mcp '{"name":"playwright","type":"stdio","command":"npx","args":["@playwright/mcp@latest"]}'
{ "servers": { "playwright": { "type": "stdio", "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
mcp_config.json).
mcpServers and save.
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
context_servers.
{ "context_servers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] } }}
Requires Node.js 20 or newer.
Google Chrome
Debug, profile and inspect a live Chrome instance.
npx -y chrome-devtools-mcp@latest