Browser Automation
microsoft
Cross-browser automation — navigate, click, type, screenshot, and inspect live pages via the official Playwright MCP server.
- Installs
- 33.9k
- Namespace
- playwright
- Version
- >=0.0.20 <1.0.0
- Last attach
- reviewed1 months ago
- Reliability
- 93.3% uptime (30d)· validated 2026-06-27
Add to your mcp.json
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Attach in a FrootAI play (fai-manifest)
mcp_scope:
attached:
- playwrightAuthentication
no credentials required; first run downloads browser binaries on demand.
No credentials required.
Environment variables
| Variable | Required | Auth mode | Description |
|---|---|---|---|
| PLAYWRIGHT_BROWSERS_PATH | no | none | Optional override for the browser-binary install location. Defaults to the Playwright cache dir; set to pin browsers in a shared/CI cache. |
Sample tools
playwright.browser_navigateNavigate the active page to a URL.
playwright.browser_clickClick an element by accessible selector.
playwright.browser_typeType text into a focused input.
playwright.browser_snapshotCapture an accessibility snapshot of the page.
playwright.browser_take_screenshotCapture a screenshot of the page or element.
Used in recipes
FAI cookbook recipes that attach playwright.
Destructive-action audit
No destructive tools — audited read-only
Destructive-action audit (X2.18): no destructive tools — browser automation does not delete server-side resources.
Known limitations
- First use downloads browser binaries (Chromium/Firefox/WebKit) — the initial attach may be slow and requires network + disk.
- Headless by default; some sites that block automated browsers may behave differently than a real user session.
Spec contributors
Maintainers who landed commits onmcp-specs/playwright.json.
- pspsbali
Freshness
When this spec was last reviewed by a maintainer and last machine-validated against the live server.
- Spec last reviewed
- 1 months ago(2026-06-25)
- Auto-validated
- never