AgentHubAgentHub

playwright-stealth

MCP ServerMCP Registry官方收录

com.pulsemcp/playwright-stealth · v0.2.2

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

概览

playwright-stealth 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "playwright-stealth": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-stealth-mcp-server"
      ]
    }
  }
}

环境变量

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可选secret

Proxy authentication username.

PROXY_PASSWORD可选secret

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.

相关资源

统一 Manifest

{
  "id": "com.pulsemcp/playwright-stealth",
  "type": "mcp-server",
  "version": "0.2.2",
  "displayName": "playwright-stealth",
  "description": "Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.",
  "repository": {
    "url": "https://github.com/pulsemcp/mcp-servers",
    "source": "github",
    "subfolder": "experimental/playwright-stealth"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "playwright-stealth-mcp-server",
        "version": "0.2.2",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "STEALTH_MODE",
            "description": "Enable stealth mode with anti-detection measures."
          },
          {
            "name": "STEALTH_USER_AGENT",
            "description": "Custom User-Agent string for stealth mode."
          },
          {
            "name": "STEALTH_MASK_LINUX",
            "description": "Mask Linux in User-Agent as Windows to avoid fingerprint mismatch."
          },
          {
            "name": "STEALTH_LOCALE",
            "description": "Custom locale for Accept-Language header in stealth mode."
          },
          {
            "name": "HEADLESS",
            "description": "Run browser in headless mode."
          },
          {
            "name": "TIMEOUT",
            "description": "Default timeout for Playwright actions in milliseconds."
          },
          {
            "name": "NAVIGATION_TIMEOUT",
            "description": "Default timeout for page navigation in milliseconds."
          },
          {
            "name": "SCREENSHOT_STORAGE_PATH",
            "description": "Directory for storing screenshots."
          },
          {
            "name": "VIDEO_STORAGE_PATH",
            "description": "Directory for storing video recordings."
          },
          {
            "name": "PROXY_URL",
            "description": "Proxy server URL for connections."
          },
          {
            "name": "PROXY_USERNAME",
            "description": "Proxy authentication username.",
            "isSecret": true
          },
          {
            "name": "PROXY_PASSWORD",
            "description": "Proxy authentication password.",
            "isSecret": true
          },
          {
            "name": "PROXY_BYPASS",
            "description": "Comma-separated list of hosts to bypass proxy."
          },
          {
            "name": "BROWSER_PERMISSIONS",
            "description": "Comma-separated list of browser permissions to grant."
          },
          {
            "name": "IGNORE_HTTPS_ERRORS",
            "description": "Ignore HTTPS certificate errors."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "com.pulsemcp/playwright-stealth",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/com.pulsemcp%2Fplaywright-stealth/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
playwright-stealth — MCP Server 安装与配置 · AgentHub