S

Stealth Agent Browser MCP

by ykshah1309 · io.github.ykshah1309/stealth-agent-browser-mcp

An MCP server providing AI agents with a stealth Chromium browser that uses hybrid accessibility-object-model and set-of-mark vision for token-lean snapshots and reliable action via ref ids.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ykshah1309-stealth-agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stealth-agent-browser-mcp"
      ],
      "env": {
        "SAB_HEADLESS": "true",
        "SAB_STEALTH_LEVEL": "patched",
        "SAB_PROXY_SERVER": "<VALUE>",
        "SAB_PROXY_USERNAME": "<YOUR_VALUE>",
        "SAB_PROXY_PASSWORD": "<YOUR_VALUE>",
        "SAB_USER_DATA_DIR": "<VALUE>",
        "LOG_LEVEL": "info",
        "SAB_LOCALE": "en-US",
        "SAB_TIMEZONE": "America/New_York",
        "SAB_PROXY_POOL": "<VALUE>",
        "SAB_VIEWPORT_H": "768",
        "SAB_VIEWPORT_W": "1366",
        "SAB_HUMAN_MOUSE": "true",
        "SAB_MAX_ANNOTATED": "75",
        "SAB_PROXY_ROTATION": "per-restart",
        "SAB_CAPTCHA_API_KEY": "<VALUE>",
        "SAB_CAPTCHA_PROVIDER": "none",
        "SAB_DEFAULT_TIMEOUT_MS": "15000",
        "SAB_PROXY_STICKY_TEMPLATE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SAB_HEADLESS No false for a visible window (debugging). Default: true
SAB_STEALTH_LEVEL No off | patched | paranoid. Default: patched
SAB_PROXY_SERVER No Single-proxy mode. e.g. http://host:port
SAB_PROXY_USERNAME secret No Username for proxy authentication.
SAB_PROXY_PASSWORD secret No Password for proxy authentication.
SAB_USER_DATA_DIR No Persistent profile directory (cookies build reputation).
LOG_LEVEL No debug, warn, etc. Always writes to stderr. Default: info
SAB_LOCALE No Locale setting. Default: en-US
SAB_TIMEZONE No Timezone setting. Default: America/New_York
SAB_PROXY_POOL No Residential pool. Comma-separated URLs (http://u:p@host:port,...) or a JSON array of {server, username, password}.
SAB_VIEWPORT_H No Viewport height. Default: 768
SAB_VIEWPORT_W No Viewport width. Default: 1366
SAB_HUMAN_MOUSE No Bezier-path click with pre-click hesitation. Defeats Datadome trajectory analysis. Default: true
SAB_MAX_ANNOTATED No Max labelled boxes in hybrid mode. Default: 75
SAB_PROXY_ROTATION No per-session | per-restart | static. Default: per-restart
SAB_CAPTCHA_API_KEY No Provider API key.
SAB_CAPTCHA_PROVIDER No capsolver | twocaptcha | none. Default: none
SAB_DEFAULT_TIMEOUT_MS No Per-action timeout. Default: 15000
SAB_PROXY_STICKY_TEMPLATE No Username template for sticky-IP providers. ${sessionId} interpolates. Example: brd-customer-c1-zone-res-session-${sessionId}.

Similar servers