playwright-mcp
officialpopularlocal-onlybrowser automationnpm
Microsoft · Agent browser control, web testing, and browser automation from the terminal.
$ npm install -g @playwright/mcpOne-liner to try
$ npx @playwright/mcp@latest --helpAgent pack
Quick reference
Install
npm install -g @playwright/mcpVerify
npx @playwright/mcp@latest --helpFirst command
npx @playwright/mcp@latest --helpMachine JSON
/cli/playwright-mcp.jsonAbout
The official CLI from Microsoft. Agent browser control, web testing, and browser automation from the terminal. Start with `npx @playwright/mcp@latest --help` and go from there. Runs entirely on your machine.
Example workflow
1. npx @playwright/mcp@latest --help