Skip to main content
Glama
ykshah1309

stealth-agent-browser-mcp

by ykshah1309

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNodebug, warn, etc. Always writes to stderr.info
SAB_LOCALENoLocale setting.en-US
SAB_HEADLESSNofalse for a visible window (debugging).true
SAB_TIMEZONENoTimezone setting.America/New_York
SAB_PROXY_POOLNoResidential pool. Comma-separated URLs (http://u:p@host:port,...) or a JSON array of {server, username, password}.
SAB_VIEWPORT_HNoViewport height.768
SAB_VIEWPORT_WNoViewport width.1366
SAB_HUMAN_MOUSENoBezier-path click with pre-click hesitation. Defeats Datadome trajectory analysis.true
SAB_PROXY_SERVERNoSingle-proxy mode. e.g. http://host:port
SAB_MAX_ANNOTATEDNoMax labelled boxes in hybrid mode.75
SAB_STEALTH_LEVELNooff | patched | paranoid.patched
SAB_USER_DATA_DIRNoPersistent profile directory (cookies build reputation).
SAB_PROXY_PASSWORDNoPassword for proxy authentication.
SAB_PROXY_ROTATIONNoper-session | per-restart | static.per-restart
SAB_PROXY_USERNAMENoUsername for proxy authentication.
SAB_CAPTCHA_API_KEYNoProvider API key.
SAB_CAPTCHA_PROVIDERNocapsolver | twocaptcha | none.none
SAB_DEFAULT_TIMEOUT_MSNoPer-action timeout.15000
SAB_PROXY_STICKY_TEMPLATENoUsername template for sticky-IP providers. ${sessionId} interpolates. Example: brd-customer-c1-zone-res-session-${sessionId}.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_navigateA

Navigate the active session's page to a URL. Returns a snapshot (default: aom-only, cheapest).

browser_snapshotA

Take a snapshot of the current page. 'aom' returns the accessibility YAML (token-lean); 'hybrid' adds a Set-of-Mark screenshot with numeric red boxes matching each ref.

browser_clickB

Click an element addressed by its ref. When SAB_HUMAN_MOUSE=true (default), the cursor travels via a Bezier path with pre-click hesitation — this defeats trajectory analyzers like Datadome that flag teleporting mice.

browser_typeB

Type into an input or textarea addressed by ref.

browser_selectC

Select one or more options in a addressed by ref.

browser_scroll_readA

Scroll and return a Readability-extracted Markdown view. With deltaOnly=true, returns '(no change)' if nothing new became visible — keeps context windows lean.

browser_wait_forB

Wait until either some text appears on the page or a given ref resolves to a visible element.

browser_tabsC

Manage browser tabs: list, new, close, switch.

browser_evalA

Evaluate a JS EXPRESSION in the page's MAIN execution world. Observable by page scripts; use sparingly. Prefer AOM + action tools.

browser_set_proxyB

Update the proxy config. Call 'browser_restart' after this for the change to take effect (browser-level constraint — an existing context cannot be re-routed).

browser_restartA

Close the active browser session and start a fresh one with the current config. Required after 'browser_set_proxy' to actually route new requests through the proxy.

browser_set_proxy_poolA

Replace the residential proxy pool at runtime. Takes effect on the next 'browser_restart'. Supports sticky sessions via SAB_PROXY_STICKY_TEMPLATE.

browser_solve_captchaB

Fallback captcha solver. Detects Turnstile/hCaptcha/reCAPTCHA on the current page (or takes an explicit sitekey), submits to the configured provider (CapSolver or 2Captcha per SAB_CAPTCHA_PROVIDER + SAB_CAPTCHA_API_KEY), polls for a token, and injects it into the widget's response field.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ykshah1309/stealth-agent-browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server