Skip to content
Grok

playwright stealth for Grok

com.pulsemcp/playwright-stealth

Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.

client:Grok transport:stdio runtime:npm

Install playwright stealth in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "playwright-stealth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "playwright-stealth-mcp-server"
      ],
      "env": {
        "STEALTH_MODE": "<STEALTH_MODE>",
        "STEALTH_USER_AGENT": "<STEALTH_USER_AGENT>",
        "STEALTH_MASK_LINUX": "<STEALTH_MASK_LINUX>",
        "STEALTH_LOCALE": "<STEALTH_LOCALE>",
        "HEADLESS": "<HEADLESS>",
        "TIMEOUT": "<TIMEOUT>",
        "NAVIGATION_TIMEOUT": "<NAVIGATION_TIMEOUT>",
        "SCREENSHOT_STORAGE_PATH": "<SCREENSHOT_STORAGE_PATH>",
        "VIDEO_STORAGE_PATH": "<VIDEO_STORAGE_PATH>",
        "PROXY_URL": "<PROXY_URL>",
        "PROXY_USERNAME": "<PROXY_USERNAME>",
        "PROXY_PASSWORD": "<PROXY_PASSWORD>",
        "PROXY_BYPASS": "<PROXY_BYPASS>",
        "BROWSER_PERMISSIONS": "<BROWSER_PERMISSIONS>",
        "IGNORE_HTTPS_ERRORS": "<IGNORE_HTTPS_ERRORS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

playwright stealth in other clients