{"schemaVersion":"opencli.cli.v1","slug":"playwright-mcp","name":"Playwright MCP","shortName":"playwright-mcp","binaryName":"playwright-mcp","maker":{"slug":"microsoft","name":"Microsoft","type":"org","url":"https://microsoft.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Browser Automation","description":"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.","tagline":"Agent browser control, web testing, and browser automation from the terminal.","install":{"packageManager":"npm","command":"npm install -g @playwright/mcp","packageName":"@playwright/mcp","npmPackage":"@playwright/mcp","brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"npx @playwright/mcp@latest --help","signal":"The Playwright MCP server help text prints successfully."},"quickStart":"npx @playwright/mcp@latest --help","exampleWorkflow":["npx @playwright/mcp@latest --help"],"agent":{"readiness":{"label":"Usable with guardrails","score":60,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation.","Can run locally with less credential exposure."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Network access is required; avoid leaking secrets in logs.","Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/playwright-mcp/agent.md","packMarkdown":"# OpenCLI Agent Pack: Playwright MCP\n\nUse this when an AI agent needs to work with `playwright-mcp`.\n\n## What this CLI is for\nThe 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.\n\nBest for: Giving agents browser automation through the Model Context Protocol.\n\n## Agent readiness\nUsable with guardrails (60/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n- Can run locally with less credential exposure.\n\n## Install\n```sh\nnpm install -g @playwright/mcp\n```\n\n## Verify before real work\n```sh\nnpx @playwright/mcp@latest --help\n```\nExpected signal: The Playwright MCP server help text prints successfully.\n\n## Safe starting commands\n```sh\nnpx @playwright/mcp@latest --help\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Network access is required; avoid leaking secrets in logs.\n- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use Playwright MCP (`playwright-mcp`) for giving agents browser automation through the model context protocol.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"Giving agents browser automation through the Model Context Protocol.","useThisIf":"You want an agent to inspect pages, click flows, and collect browser evidence with Playwright.","skipIf":"You only need a one-off HTTP fetch or static scrape.","whatHappensNext":"Run `npx @playwright/mcp@latest --help` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":true,"ciFriendly":true,"localFirst":true,"destructivePotential":"medium"},"taxonomy":{"useCases":["Agent browser control","Web testing","Browser automation"],"aliases":["playwright model context protocol","mcp browser","browser mcp"],"keywords":["mcp","playwright","browser","agent","automation","testing"],"tags":["agent-friendly","mcp","browser"]},"links":{"website":"https://github.com/microsoft/playwright-mcp","github":"https://github.com/microsoft/playwright-mcp","docs":"https://github.com/microsoft/playwright-mcp","opencli":"https://opencli.co/cli/playwright-mcp","markdown":"https://opencli.co/cli/playwright-mcp/agent.md","json":"https://opencli.co/cli/playwright-mcp.json"},"metrics":{"githubStars":33483,"latestRelease":"2026-05-28T01:32:25Z","license":"Apache-2.0","metricLabel":"npm weekly downloads","metricValue":5319545,"metricSource":"npm","metricAsOf":"2026-06-04T14:05:34.152Z"}}