Skip to content
Cursor

playwright stealth for Cursor

com.pulsemcp/playwright-stealth

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

client:Cursor transport:stdio runtime:npm

Install playwright stealth in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

playwright stealth in other clients