SuperAPIAI Directory

cat-burglar

github.com · Other AI tools

Cat Burglar is a stealth browser MCP server for AI agents, supporting three browser engines (a patched stealth Chromium, standard Chromium, and Obscura's 43MB Rust engine), reducing data transfer through diff observation rather than full DOM dumps, and featuring site memory, human CAPTCHA handoff, and benchmarking tools. It provides 35 default tools (14 in slim mode), supports remote CDP and cloud browser access, and includes built-in security mechanisms such as SSRF protection, origin allowlists, and high-risk action confirmation.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Cat Burglar is a stealth browser MCP (Model Context Protocol) server for AI agents, designed to connect real browser capabilities to agent workflows safely and efficiently.

Purpose

Cat Burglar lets AI agents control a real browser for web navigation, form filling, data extraction, and similar operations, while improving efficiency and reliability through mechanisms such as diff observation, site memory, and human CAPTCHA handoff.

Key capabilities

  • Three browser engines: a patched stealth Chromium, standard Chromium (for developer tools), and Obscura's 43MB Rust engine, switchable within the same session (requires restart).
  • Diff observation: after an action, returns the page changes as a diff rather than a full DOM dump, reducing data transfer volume.
  • Site memory: agents can write and remember repeatable workflows for each site; page text is not ingested, references are discarded, and input values become placeholders.
  • Human CAPTCHA handoff: detects reCAPTCHA, hCaptcha, Turnstile, DataDome, PerimeterX, Arkose, and common text challenges, but does not solve them automatically; in a local desktop environment, reopens the same profile in headed mode so the user can complete the challenge manually and then continue; in a display-less environment or under the Obscura engine, falls back to a live view page on the loopback address.
  • Remote CDP and cloud browsers: can connect to any Chrome DevTools Protocol endpoint, supporting Browserbase, Steel, Browserless, Obscura Cloud, and others.
  • Residential proxies: supports HTTP, HTTPS, and SOCKS5 proxies, with rotation, sticky sessions, or per-session selection, and provides proxy check, test, rotate, add, and delete tools.
  • Security protections: SSRF protection is enabled for navigation and every request (including DNS checks and redirect coverage), blocking private, loopback, link-local, CGNAT, multicast, and reserved addresses by default; cloud metadata endpoints are always blocked; supports origin allow/block lists (wildcard hosts); page-derived output is marked as untrusted content; high-risk targets such as delete, payment, transfer, send, publish, and deactivate are flagged, and you can set BROWSER_MCP_RISKY_ACTION_POLICY=ask to require explicit confirmation.
  • Resource efficiency: uses full Chromium by default to ensure fidelity; the server does not stack browsers, does not record in the background, and does not proactively run proxy checks; at startup it disables background networking, component updates, sync, ping, and metrics.
  • Benchmarking tools: can compare Cat Burglar, Playwright, Chrome DevTools, and Obscura on 12 local tasks.

Usage

  • Obtain via the official MCP registry (OCI image) or GHCR:docker run -i --rm ghcr.io/drmkdaddy/cat-burglar:latest.
  • The installer adds the cat-burglar binary to PATH; you can also install it globally with pnpm.
  • The install command prints configuration for claude-code, claude-desktop, cursor, codex, gemini, vscode, windsurf, cline, opencode, or generic clients.
  • Note: do not name the server browser, because OpenCode has a built-in browser toolset with the same name, and Code Mode will hide overlapping tools.
  • Basic operation flow:navigate navigate → snapshot Get URL, title, controls, and stable references → execute via references click、fill、select → observe changes returned by read operations → use markdown read,extract extract structured data,perf get performance traces → after successfully repeating a workflow, run memory learn.
  • References remain valid while the element stays in the DOM; after the element leaves the page, operations fail with a stale reference error rather than clicking a cloned element.
  • To switch engines, call open and set restart: true.
  • Remote CDP example:open({ "engine": "remote", "cdp_url": "http://127.0.0.1:9222" }).
  • The configuration file is located at ~/.config/browser-mcp/config.json, and environment variables can override it.

Use cases

  • AI agent tasks that require stealth browsing capabilities.
  • Form filling and workflow automation.
  • Local application testing.
  • Automation workflows that require human intervention to handle CAPTCHAs.
  • Scaled browser operations via remote CDP or cloud browsers.

Limitations

  • No automatic CAPTCHA solving is provided; only manual handoff is supported.
  • A running browser cannot switch engines in place and must be restarted.
  • Full Chromium is used by default, with relatively high resource usage.
  • Version 0.5.2; benchmarks are based on 12 local tasks, with results available in the repository's raw JSON.
  • Licensed under the MIT License.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools