Skip to content

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.

MCP serverCode and QAWorks through the Grid

Runs on your machine

Your agent, or the Grid, starts this command and talks to it over standard input and output.
npx -y @playwright/mcp@latest

Set it up in your agent

Pick your agent and copy the setup. ExonUI remembers your choice on other pages.
  1. 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@latest
  2. Or share it with your team

    Add this to .mcp.json at 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

Terminal
claude mcp list

Start a session and run /mcp to see the server, its status and its tools.