Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.
npx -y playwright-stealth-mcp-server{
"STEALTH_MODE": "false",
"STEALTH_USER_AGENT": "YOUR_VALUE_HERE",
"STEALTH_MASK_LINUX": "true",
"STEALTH_LOCALE": "en-US,en",
"HEADLESS": "true",
"TIMEOUT": "30000",
"NAVIGATION_TIMEOUT": "60000",
"SCREENSHOT_STORAGE_PATH": "/tmp/playwright-screenshots",
"VIDEO_STORAGE_PATH": "/tmp/playwright-videos",
"PROXY_URL": "YOUR_VALUE_HERE",
"PROXY_USERNAME": "YOUR_SECRET_VALUE",
"PROXY_PASSWORD": "YOUR_SECRET_VALUE",
"PROXY_BYPASS": "YOUR_VALUE_HERE",
"BROWSER_PERMISSIONS": "YOUR_VALUE_HERE",
"IGNORE_HTTPS_ERRORS": "true"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"com-pulsemcp-playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"STEALTH_MODE": "false",
"STEALTH_USER_AGENT": "YOUR_VALUE_HERE",
"STEALTH_MASK_LINUX": "true",
"STEALTH_LOCALE": "en-US,en",
"HEADLESS": "true",
"TIMEOUT": "30000",
"NAVIGATION_TIMEOUT": "60000",
"SCREENSHOT_STORAGE_PATH": "/tmp/playwright-screenshots",
"VIDEO_STORAGE_PATH": "/tmp/playwright-videos",
"PROXY_URL": "YOUR_VALUE_HERE",
"PROXY_USERNAME": "YOUR_SECRET_VALUE",
"PROXY_PASSWORD": "YOUR_SECRET_VALUE",
"PROXY_BYPASS": "YOUR_VALUE_HERE",
"BROWSER_PERMISSIONS": "YOUR_VALUE_HERE",
"IGNORE_HTTPS_ERRORS": "true"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
playwright-stealth is an MCP server for Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y playwright-stealth-mcp-server; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y playwright-stealth-mcp-server. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y playwright-stealth-mcp-server. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y playwright-stealth-mcp-server. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y playwright-stealth-mcp-server. Add required environment variables before starting Cursor or VS Code.
playwright-stealth uses STDIO transport. Use the package or command config in Install.
playwright-stealth inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
playwright-stealth does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
playwright-stealth-mcp-serverstdio | npm | 0.2.2 | Env: STEALTH_MODE Env: STEALTH_USER_AGENT Env: STEALTH_MASK_LINUX Env: STEALTH_LOCALE Env: HEADLESS Env: TIMEOUT Env: NAVIGATION_TIMEOUT Env: SCREENSHOT_STORAGE_PATH Env: VIDEO_STORAGE_PATH Env: PROXY_URL Env: PROXY_USERNAME secret Env: PROXY_PASSWORD secret Env: PROXY_BYPASS Env: BROWSER_PERMISSIONS Env: IGNORE_HTTPS_ERRORS |