Playwright Stealth
Browser automation using Playwright with optional stealth mode to bypass anti-bot…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.3
- Listing updated
- 4 days ago
About Playwright Stealth
Playwright Stealth is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.
Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.
Install
Run in a terminal
claude mcp add playwright-stealth --env PROXY_USERNAME='<PROXY_USERNAME>' --env PROXY_PASSWORD='<PROXY_PASSWORD>' -- npx -y playwright-stealth-mcp-serverAdd to claude_desktop_config.json
{
"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
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<PROXY_USERNAME>",
"PROXY_PASSWORD": "<PROXY_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"playwright-stealth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<PROXY_USERNAME>",
"PROXY_PASSWORD": "<PROXY_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<PROXY_USERNAME>",
"PROXY_PASSWORD": "<PROXY_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"playwright-stealth": {
"command": "npx",
"args": [
"-y",
"playwright-stealth-mcp-server"
],
"env": {
"PROXY_USERNAME": "<PROXY_USERNAME>",
"PROXY_PASSWORD": "<PROXY_PASSWORD>"
}
}
}
}Configuration
STEALTH_MODEEnable stealth mode with anti-detection measures.STEALTH_USER_AGENTCustom User-Agent string for stealth mode.STEALTH_MASK_LINUXMask Linux in User-Agent as Windows to avoid fingerprint mismatch.STEALTH_LOCALECustom locale for Accept-Language header in stealth mode.HEADLESSRun browser in headless mode.TIMEOUTDefault timeout for Playwright actions in milliseconds.NAVIGATION_TIMEOUTDefault timeout for page navigation in milliseconds.SCREENSHOT_STORAGE_PATHDirectory for storing screenshots.VIDEO_STORAGE_PATHDirectory for storing video recordings.PROXY_URLProxy server URL for connections.PROXY_USERNAMEProxy authentication username.PROXY_PASSWORDProxy authentication password.PROXY_BYPASSComma-separated list of hosts to bypass proxy.BROWSER_PERMISSIONSComma-separated list of browser permissions to grant.IGNORE_HTTPS_ERRORSIgnore HTTPS certificate errors.
Pricing
Open source
Playwright Stealth FAQ
Is Playwright Stealth free?
Yes. Playwright Stealth is open source, so you can use and self-host it for free.
How do I add Playwright Stealth to Claude Code?
Run this command in your terminal: claude mcp add playwright-stealth --env PROXY_USERNAME='<PROXY_USERNAME>' --env PROXY_PASSWORD='<PROXY_PASSWORD>' -- npx -y playwright-stealth-mcp-server
What are the best alternatives to Playwright Stealth?
The closest alternatives to Playwright Stealth are Browser Use, Scrapling MCP Server, Oya Browser, Mantis and Auto-building agents.
Alternatives to Playwright Stealth

Browser Use
MCP serverBrowser agents and cloud browsers for AI, with an MCP server for web tasks
- 7 tools
- Remote
- Freemium
- 121K GitHub stars
- Browser automation

Scrapling MCP Server
MCP serverMCP server for AI clients to scrape sites with HTTP and stealth browser sessions
Runs locally- 17 tools
- Open source
- 104K GitHub stars
- Web search and scraping

Oya Browser
MCP serverHIPAA-oriented agentic browser with replayable playbooks, reachable over MCP
- 32 tools
- Remote
- Freemium
- 349 GitHub stars
- Browser automation
Mantis
MCP serverBrowser MCP server that gives agents numbered text pages instead of screenshots
Runs locally- 1 tool
- Open source
- 5 Hacker News points
- Browser automation

Auto-building agents
MCP serverBuild and continue browser and Mac automation scripts for Super through Claude
- Remote
- Paid
- Browser automation

pour
MCP serverRun WCAG 2.2 accessibility audits and vision simulations on any URL from an agent
Runs locally- Open source
- Developer tools