MCP Directory
Back

playwright-cli

by microsoft · TypeScript · ★ 9,714

CLI for common Playwright actions. Record and generate Playwright code, inspect selectors and take screenshots.

#playwright

Install

npx -y github:microsoft/playwright-cli

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "playwright-cli": {
      "command": "npx",
      "args": [
        "-y",
        "github:microsoft/playwright-cli"
      ]
    }
  }
}

From the README

Playwright CLI with SKILLS This package provides CLI interface into Playwright. If you are using **coding agents**, that is the best fit. - **CLI**: Modern **coding agents** increasingly favor CLI–based workflows exposed as SKILLs over MCP because CLI invocations are more token-efficient: they avoid loading large tool schemas and verbose accessibility trees into the model context, allowing agents to act through concise, purpose-built commands. This makes CLI + SKILLs better suited for high-throughput coding agents that must balance browser automation with large codebases, tests, and reasonin…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related other servers