Stealthy Auto Browse

io.github.psyb0t由 GitHub 帳號 psyb0t 發布v3.5.0更新於 Nov 7, 2026

Self-hosted MCP server for stealth browser automation with human-like OS-level input.

概覽

AI 產生的概覽

自架設的 Docker MCP 伺服器,以類人作業系統層級輸入操作隱蔽的 Camoufox 瀏覽器,並提供即時 noVNC 畫面。

可以做什麼
  • 瀏覽頁面,鎖定 iframe 與 shadow DOM 中的元素,讀取頁面文字或執行 JavaScript
  • 以作業系統層級輸入點擊、輸入、移動滑鼠與捲動,或改用較快的 DOM 操作
  • 擷取瀏覽器或桌面畫面、錄製 MP4 影片,並檢視狀態、事件與日誌
  • 執行多步驟原子腳本、頁面載入器,以及含條件與迴圈的 YAML 腳本模式
  • 處理分頁、視窗、權限、網路攔截與 HAR、剪貼簿,以及虛擬攝影機與麥克風
  • 偵測驗證挑戰元件,並可透過即時畫面交由人工接手
適用情境
適合需要在自己機器上操作真實網站的場合,尤其是涉及機器人偵測、可信輸入,或需要可視化且能由人工接手的連線。也適用於必須在受控容器內執行的腳本化擷取與表單流程。
執行需求
桌機需安裝 Docker;映像檔內含圖形顯示、瀏覽器與 noVNC 檢視器。MCP 端點透過 8080 埠的 Streamable HTTP 提供,檢視器在 5900 埠。用戶端整合可能需要 STEALTHY_AUTO_BROWSE_URL 與 AUTH_TOKEN。選用的驗證碼求解服務與代理透過環境變數設定。
安裝前請注意
未設定 AUTH_TOKEN 時 API 與 noVNC 埠沒有驗證,應只綁定回送位址或置於具驗證的反向代理之後。瀏覽器會在真實網站上執行點擊、輸入、上傳與下載,並可能將資料送往第三方。驗證碼求解服務屬第三方付費服務,僅在設定後才會連線。規避偵測並無保證,且可能與網站條款衝突。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stealthy Auto Browse,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

docker-stealthy-auto-browse

[CI] [version] [license] [Docker Pulls]

Stealth browser automation that actually works. One Docker container runs Camoufox on a graphical display, accepts JSON HTTP and MCP commands, sends real OS-level mouse and keyboard input, and exposes a live noVNC viewer. It supports single-browser sessions, atomic scripts, page loaders, recording, virtual media, CAPTCHA detection, optional CAPTCHA solver providers, and clustered browsers with Redis cookie sync.

The image avoids Chromium CDP signals and keeps its generated Linux font and WebGL fingerprints internally consistent. Detection results still depend on the site, network exit, timezone, browser build, and test date.

Contents

Quick start

bash
docker run -d --name browser \  -p 127.0.0.1:8080:8080 \  -p 127.0.0.1:5900:5900 \  psyb0t/stealthy-auto-browse

Open http://localhost:5900/ to watch the browser. Port 8080 serves the HTTP API and MCP server.

bash
# Navigatecurl -X POST http://localhost:8080 \  -H "Content-Type: application/json" \  -d '{"action":"goto","url":"https://example.com"}'
# Read the pagecurl -X POST http://localhost:8080 \  -H "Content-Type: application/json" \  -d '{"action":"get_text"}'
# Click with OS-level inputcurl -X POST http://localhost:8080 \  -H "Content-Type: application/json" \  -d '{"action":"system_click","selector":"button#submit"}'
# Capture a token-sized screenshotcurl "http://localhost:8080/screenshot/browser?whLargest=512" -o screenshot.png

Run several actions atomically with run_script:

bash
curl -X POST http://localhost:8080 \  -H "Content-Type: application/json" \  -d '{    "action": "run_script",    "steps": [      {"action": "goto", "url": "https://example.com"},      {"action": "get_text", "output_id": "text"},      {"action": "eval", "expression": "document.title", "output_id": "title"}    ]  }'

The server serializes requests in single-instance mode. Navigation has bounded retries and timeouts. See the HTTP API reference for every action and parameter.

How it works

ComponentPurpose
CamoufoxPatched Firefox with no Chrome DevTools Protocol and an isolated automation world.
Xvfb and OpenboxFull graphical display and window management without a physical monitor.
PyAutoGUI and XTestTrusted OS-level mouse, keyboard, and wheel events with humanized timing.
HTTP API and MCPRemote browser control on port 8080.
noVNCLive browser view on port 5900, with the automated pointer visible by default.
ffmpegMP4 recording from the X11 display.

The image includes uBlock Origin, LocalCDN, ClearURLs, and Consent-O-Matic. Optional CAPTCHA solver integrations are disabled unless configured.

Two input modes are available. Playwright actions such as click and fill are fast DOM operations. System actions such as system_click, system_type, mouse_move, and scroll send OS-level input with paths and timing fitted to published human input data. human_pause represents visible reading, review, or composition time without continuously jiggling the pointer. Use the system actions when trusted input or behavior matters. See Stealth and detection evasion and Humanized input.

HTTP API

Send POST / with an action and its parameters. The API covers navigation, iframe and open-shadow DOM targeting, accessibility lookup, stable element references, DOM and system pointer input, human handoff, tabs and windows, browser events, permissions, network interception and HAR, rich clipboard access, PNG capture, recording, virtual media, challenge detection, waits, logs, and JavaScript evaluation.

Useful read endpoints:

  • GET /health
  • GET /state
  • GET /events
  • GET /screenshot/browser
  • GET /screenshot/desktop

detect_challenge reports bounded evidence for known challenge widgets without clicking or solving them. Set scroll_into_view: true to bring the first visible match into the viewport for a noVNC handoff. See Challenge detection.

MCP and agent integrations

The Streamable HTTP MCP server lives at http://localhost:8080/mcp/. It exposes dedicated tools for common actions plus browser_action and run_script for the complete API.

Install the published integrations:

bash
# Claude Codeclaude plugin marketplace add psyb0t/agentsclaude plugin install stealthy-auto-browse@psyb0t
# Codexcodex plugin marketplace add psyb0t/agentscodex plugin add stealthy-auto-browse@psyb0t
# OpenClaw skillopenclaw skills install @psyb0t/stealthy-auto-browse
# OpenClaw MCP bridgeopenclaw plugins install clawhub:@psyb0t/stealthy-auto-browse

The source skill is under .agents/skills/stealthy-auto-browse. Set STEALTHY_AUTO_BROWSE_URL and AUTH_TOKEN where the client integration requires them.

Optional features

  • Script mode: Pipe YAML to docker run --rm -i ... --script and receive JSON on stdout. Conditions, branches, bounded loops, and output references are supported. See Script mode.
  • Page loaders: Run URL-matched YAML actions after navigation to handle repeated page cleanup. See Page loaders.
  • Clipboard: set_clipboard and get_clipboard use the real X11 clipboard shared by Camoufox and noVNC. They support UTF-8 text, HTML, PNG, and file URI lists. For substantial text, set the clipboard, focus the field, then paste with send_key and ctrl+v. See Clipboard.
  • Virtual camera and microphone: Mount media under /media and configure static or dynamic sources for getUserMedia() tests. See Virtual camera and microphone and Configuration.
  • Recording: start_recording and stop_recording write collision-safe MP4 files to a mounted /recordings directory. See Screen recording.
  • CAPTCHA solver providers: Configure one supported provider through environment variables. Official Firefox extensions are checksum-verified before use. Anti-Captcha uses its official HTTP API. No provider is installed or contacted by default. See CAPTCHA solver providers.

Cluster mode

docker-compose.cluster.yml runs several browsers behind HAProxy with request queuing, sticky sessions, and Redis cookie sync. The default is five browser replicas with a 5 GB memory limit each. When NUM_REPLICAS > 1, HTTP and MCP accept atomic run_script requests plus ping and sleep, which keeps every sequence on one browser.

See Cluster mode for setup, scaling, health checks, and resource controls.

Configuration and security

Set AUTH_TOKEN to require a Bearer token on every endpoint except /health:

bash
docker run -d \  -p 127.0.0.1:8080:8080 \  -p 127.0.0.1:5900:5900 \  -e AUTH_TOKEN=your-token-here \  psyb0t/stealthy-auto-browse

Keep the API and noVNC ports on loopback unless a trusted network or authenticated reverse proxy protects them. Match TZ to the proxy exit location. Persist /userdata when browser identity and session state must survive restarts.

The configuration reference covers every environment variable, proxies, persistent profiles, extensions, virtual media, VNC, and solver providers.

Development

Docker is the only development dependency. The Makefile runs tooling in the project dev image.

bash
make buildmake lintmake test-unitmake testmake test-realmake sec

make test-real is opt-in because it calls public detector sites. Use make help for all targets.

Detection testing

Observed results are not a promise for every site or future detector version. Test the exact image, proxy, timezone, and target flow you plan to use.

The live suite checks fingerprint consistency on liarjs.dev and compares humanized system input against Playwright, synthetic DOM, and raw PyAutoGUI controls on DeviceAndBrowserInfo and FCaptcha. The deterministic suite also runs open-source behavioral detectors with robotic controls that must be caught. Current methods and observed results are in Stealth and detection evasion.

Documentation

License

WTFPL (Do What The Fuck You Want To Public License)

來源:README.md,提交 cabf865

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

12
  1. v3.5.0最新Nov 7, 2026
  2. v3.3.1Nov 4, 2026
  3. v3.2.0Oct 22, 2026
  4. v3.1.5Oct 17, 2026
  5. v3.1.4Oct 14, 2026
  6. v3.1.3Oct 12, 2026
  7. v3.0.3Oct 11, 2026
  8. v3.0.2Oct 10, 2026
  9. v3.0.0Oct 10, 2026
  10. v2.7.1Oct 8, 2026
  11. v2.6.12Sep 23, 2026
  12. v2.6.11Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分