Playwright MCP
Browser automation over MCP from the Playwright team. Agents use it to open the built UI, take screenshots and check layouts against the design.
Runs on your machine
npx -y @playwright/mcp@latestSet it up in your agent
Add it from the terminal
Run this in your project folder. It saves the server for you, in this project only.
Terminal claude mcp add playwright -- npx -y @playwright/mcp@latestOr share it with your team
Add this to
.mcp.jsonat the project root and commit it. Teammates approve it the first time Claude Code starts..mcp.json { "mcpServers": { "playwright": { "type": "stdio", "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
claude mcp listStart a session and run /mcp to see the server, its status and its tools.
Or add it to the project
Add this to
.cursor/mcp.json, or to~/.cursor/mcp.jsonto use it in every project..cursor/mcp.json { "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
Open Cursor Settings, find the MCP section and check the server is enabled with its tools listed.
Add it from the terminal
Adds the server to your VS Code profile, so it works in every workspace.
Terminal code --add-mcp '{"name":"playwright","type":"stdio","command":"npx","args":["-y","@playwright/mcp@latest"]}'Or add it to the workspace
Add this to
.vscode/mcp.jsonand commit it to share it with your team..vscode/mcp.json { "servers": { "playwright": { "type": "stdio", "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
Run MCP: List Servers from the Command Palette, then open Copilot Chat in Agent mode and check the tools picker.
Add it from the terminal
Saves the server to
~/.codex/config.toml, so it works in every project.Terminal codex mcp add playwright -- npx -y @playwright/mcp@latestOr edit the config file
Add this to
~/.codex/config.toml.~/.codex/config.toml [mcp_servers.playwright] command = "npx" args = ["-y", "@playwright/mcp@latest"]
Check it works
codex mcp listIn a Codex session, run /mcp to see connected servers and their tools.
Add it from the terminal
Run this in your project folder. It saves the server to the project's
opencode.json.Terminal opencode mcp add playwright -- npx -y @playwright/mcp@latestOr edit the config file
Add this to
opencode.jsonat the project root.opencode.json { "$schema": "https://opencode.ai/config.json", "mcp": { "playwright": { "type": "local", "command": [ "npx", "-y", "@playwright/mcp@latest" ], "enabled": true } } }
Check it works
opencode mcp listStart OpenCode in the project; the server's tools are available to the agent straight away.
Add it to the config file
Add this to
.agents/mcp_config.jsonin your project, or to~/.gemini/config/mcp_config.jsonto use it everywhere (app, editor andagyCLI)..agents/mcp_config.json { "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
In the editor, open the … menu at the top of the agent panel and choose MCP Servers. In the app, open Settings → Customizations → Installed MCP Servers. In the agy CLI, type /mcp.
Add it from the terminal
Run this in your project folder. It saves the server to the project's
.gemini/settings.json.Terminal gemini mcp add playwright npx -- -y @playwright/mcp@latestOr edit the config file
Add this to
.gemini/settings.jsonin your project, or to~/.gemini/settings.jsonto use it in every project..gemini/settings.json { "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
gemini mcp listIn a Gemini CLI session, run /mcp to see each server, its status and its tools.
Add it from the terminal
Run this in your project folder. It saves the server for you in
.devin/mcp_config.local.json, which isn't committed.Terminal devin mcp add playwright -- npx -y @playwright/mcp@latestOr share it with your team
Add this to
.devin/mcp_config.jsonand commit it, or to~/.config/devin/mcp_config.jsonto use it in every project..devin/mcp_config.json { "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
devin mcp listIn Devin Desktop, open Customize from the Agents window, choose MCPs and check the server under This computer.
Add it to your settings
Run zed: open settings file from the command palette and add this inside the top-level object, next to your other settings.
~/.config/zed/settings.json { "context_servers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }
Check it works
Open Settings → AI → MCP Servers. A green dot next to the server means it is running.
Add it in your editor
In Cline, open the MCP Servers panel, choose Configure, click Configure MCP Servers and add this to the file that opens.
cline_mcp_settings.json { "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }Or add it to the Cline CLI
Saves the server to the Cline CLI's own settings. The editor extension keeps a separate list.
Terminal cline mcp add playwright --yes -- npx -y @playwright/mcp@latest
Check it works
cline config mcpIn VS Code or JetBrains, open the MCP Servers panel in Cline and check the server is listed with its tools.
For Claude Code sessions
Saves the server to your Claude Code user settings, so every Conductor workspace gets it.
Terminal claude mcp add --scope user playwright -- npx -y @playwright/mcp@latestFor Codex sessions
Saves the server to
~/.codex/config.toml, which Codex sessions in every workspace read.Terminal codex mcp add playwright -- npx -y @playwright/mcp@latestOr share it with your team
Add this to
.mcp.jsonat the project root and commit it. Claude Code sessions in every workspace on that branch pick it up..mcp.json { "mcpServers": { "playwright": { "type": "stdio", "command": "npx", "args": [ "-y", "@playwright/mcp@latest" ] } } }Or edit Codex's config file
Add this to
~/.codex/config.toml.~/.codex/config.toml [mcp_servers.playwright] command = "npx" args = ["-y", "@playwright/mcp@latest"]
- Start a new session in Conductor after adding a server, so the agent loads it.
Check it works
claude mcp listIn a Conductor session, click the plug icon in the composer or run /mcp-status to see each server's status.
More in Code and QA
- Next.js DevTools MCPVercel's MCP server for Next.js. It connects to your running dev server so agents can read build and runtime errors, routes and logs, and search the Next.js docs.
- ChromaticVisual testing and hosting for Storybook. Each build can also publish your Storybook's MCP server, so a whole team's agents can read component docs without running Storybook themselves.
- GitHub MCPGitHub's official MCP server. Agents can read code, issues and pull requests, open PRs and leave reviews, so a design change can go from canvas to merged code.
