Playwright Stealth MCP Server
by pulsemcpcom.pulsemcp/playwright-stealthv0.2.3
Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.
context tax
queued
security
queued
cold start
queued
freshness
Maintained40d ago
Install Playwright Stealth MCP server
Install in Claude Code
claude mcp add playwright-stealth -e PROXY_USERNAME='<proxy-username>' -e PROXY_PASSWORD='<proxy-password>' -- npx -y playwright-stealth-mcp-serverInstall in Cursor
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<proxy-username>",
"PROXY_PASSWORD": "<proxy-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<proxy-username>",
"PROXY_PASSWORD": "<proxy-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"playwright-stealth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<proxy-username>",
"PROXY_PASSWORD": "<proxy-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<proxy-username>",
"PROXY_PASSWORD": "<proxy-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| STEALTH_MODE | — | — | Enable stealth mode with anti-detection measures. |
| STEALTH_USER_AGENT | — | — | Custom User-Agent string for stealth mode. |
| STEALTH_MASK_LINUX | — | — | Mask Linux in User-Agent as Windows to avoid fingerprint mismatch. |
| STEALTH_LOCALE | — | — | Custom locale for Accept-Language header in stealth mode. |
| HEADLESS | — | — | Run browser in headless mode. |
| TIMEOUT | — | — | Default timeout for Playwright actions in milliseconds. |
| NAVIGATION_TIMEOUT | — | — | Default timeout for page navigation in milliseconds. |
| SCREENSHOT_STORAGE_PATH | — | — | Directory for storing screenshots. |
| VIDEO_STORAGE_PATH | — | — | Directory for storing video recordings. |
| PROXY_URL | — | — | Proxy server URL for connections. |
| PROXY_USERNAME | — | yes | Proxy authentication username. |
| PROXY_PASSWORD | — | yes | Proxy authentication password. |
| PROXY_BYPASS | — | — | Comma-separated list of hosts to bypass proxy. |
| BROWSER_PERMISSIONS | — | — | Comma-separated list of browser permissions to grant. |
| IGNORE_HTTPS_ERRORS | — | — | Ignore HTTPS certificate errors. |
Freshness
Maintained — last maintenance signal 40d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-30 · 40d ago · GitHub
Latest release
2025-07-03 · 15mo ago · GitHub · monorepo-latest-placeholder@0.0.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-17 · 4mo ago · official registry · v0.2.3
FAQ
›How do I install the Playwright Stealth MCP server in Claude Code?
Run: claude mcp add playwright-stealth -e PROXY_USERNAME='<proxy-username>' -e PROXY_PASSWORD='<proxy-password>' -- npx -y playwright-stealth-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Playwright Stealth require an API key?
Yes. It expects PROXY_USERNAME, PROXY_PASSWORD, of which 2 are secrets.
›Can I use Playwright Stealth as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Playwright Stealth in the official MCP registry?
Yes, as com.pulsemcp/playwright-stealth.
Alternatives to Playwright Stealth
Other browser automation MCP servers.