Microsoft Playwright Official MCP for Claude Code, ChatGPT, Gemini CLI & Cursor
Deterministic accessibility-tree browser automation, E2E testing, clicking & form filling.
Quick Answer Summary (Claude Code • ChatGPT • Cursor • Gemini CLI)
Microsoft Playwright Official MCP (100% Free OSS) connects to AI coding and chat agents via claude mcp add playwright -- npx -y @playwright/mcp@latest. Free Tier: 100% Free & Open-Source (@playwright/mcp) — runs headless or headed Chromium locally with zero API keys. Paid Upgrade Threshold: Completely free locally. Upgrade to Firecrawl or Browserbase only when sites block local IPs or need cloud concurrency.
What Works for $0 (Free Tier)
100% Free & Open-Source (@playwright/mcp) — runs headless or headed Chromium locally with zero API keys.
When a Paid Subscription Is Required
Completely free locally. Upgrade to Firecrawl or Browserbase only when sites block local IPs or need cloud concurrency.
Zero API keys required — runs locally or over public HTTP immediately.
1-Command Setup for Claude Code, Google Gemini CLI & Cursor
Copy the exact snippet for your AI coding agent — merges alongside the StackOS Master Router so future tool recommendations happen automatically.
claude mcp add playwright -- npx -y @playwright/mcp@latest{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@latest"
]
},
"stackos-router": {
"httpUrl": "https://stackos-ai.vercel.app/api/mcp"
}
}
}{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@latest"
]
},
"stackos": {
"url": "https://stackos-ai.vercel.app/api/mcp"
}
}
}curl -fsSL "https://stackos-ai.vercel.app/api/plugins/install?tools=playwright-mcp&src=plugin-seo-playwright-mcp" | nodeRecommended SKILL.md / GEMINI.md Rule & GitHub README Badge
Navigate live web apps via Playwright accessibility snapshots, verify HTTP >=400 = 0, and capture screenshots.
Best Companion Plugins for Browser Automation & Web Scraping
Chrome DevTools Performance & A11y MCP
Inspect Core Web Vitals (LCP/CLS/INP), console errors, network waterfalls & heap snapshots.
Firecrawl AI Web Crawler & Markdown MCP
Turn entire documentation sites or JS-heavy competitor pages into clean LLM-ready Markdown & structured JSON.
Browserbase Cloud Stealth Browser MCP
Serverless cloud Chromium fleet with session replay, residential proxies & Stagehand AI actions.