Skip to content
100% Free OSSBrowser Automation & Web Scrapingmcp-stdio

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.

1. Claude Code CLI One-Liner
claude mcp add playwright -- npx -y @playwright/mcp@latest
2. Google Gemini CLI (~/.gemini/settings.json)
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    },
    "stackos-router": {
      "httpUrl": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
3. Cursor IDE & Claude Desktop (.mcp.json)
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    },
    "stackos": {
      "url": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
4. Non-Destructive Workspace Auto-Installer (Merges .mcp.json + SKILL.md)
curl -fsSL "https://stackos-ai.vercel.app/api/plugins/install?tools=playwright-mcp&src=plugin-seo-playwright-mcp" | node

Recommended SKILL.md / GEMINI.md Rule & GitHub README Badge

Navigate live web apps via Playwright accessibility snapshots, verify HTTP >=400 = 0, and capture screenshots.

Microsoft Playwright Official MCP verified on StackOSEmbed this live SVG badge in GitHub READMEs or engineering docs:

Best Companion Plugins for Browser Automation & Web Scraping