Skip to main content

AI-native stealth browser MCP server — Browser Use + Patchright

Project description

wraith-mcp

PyPI License: MIT

AI-native stealth browser MCP server. Tell it what to do — it figures out how.

Browser Use (AI vision navigation) + Patchright (bot detection bypass).

Why This One?

wraith-mcp playwright-mcp stealth-browser-mcp browser-use-mcp-server
Navigation AI vision (self-healing) CSS selectors CSS selectors AI vision
Bot detection bypass Patchright (binary-level) None nodriver None
Tools 2 (browse, extract) 20+ 90+ via Agent
Site layout changes Adapts automatically Breaks Breaks Adapts
LLM providers 6 (Anthropic, OpenAI, OpenRouter, Google, Ollama, +compatible) N/A 1 1

One command does it all — no selectors, no step-by-step scripting:

"Log into my dashboard and download the monthly report"

Quick Start

Add wraith-mcp as MCP server

Install

pip install wraith-mcp

Setup

Add to your MCP config (.mcp.json, .cursor/mcp.json, .windsurf/mcp.json, etc.):

{
  "mcpServers": {
    "wraith": {
      "command": "wraith-mcp",
      "env": {
        "ANTHROPIC_API_KEY": "your-key",
        "HEADLESS": "true"
      }
    }
  }
}

Works with any MCP client: Cursor, Windsurf, VS Code, Cline, Roo Code, OpenCode, Codex, and more.

Tools

Tool Description
browse Execute any browser task in natural language
extract Pull structured data from a page

LLM Providers

Provider Key
Anthropic (default) ANTHROPIC_API_KEY
OpenRouter OPENROUTER_API_KEY
OpenAI OPENAI_API_KEY
DeepSeek / Groq / Together OPENAI_API_KEY + OPENAI_BASE_URL
Google Gemini GOOGLE_API_KEY
Ollama (local) OLLAMA_MODEL

All providers included. Set BROWSER_USE_MODEL to override the default model.

Docker

docker build -t wraith-mcp .
docker run -i --rm -e ANTHROPIC_API_KEY=your-key wraith-mcp

SSE mode (remote/cloud):

docker run -p 8808:8808 -e ANTHROPIC_API_KEY=your-key wraith-mcp

SSE Transport

wraith-mcp --transport sse --port 8808

How It Works

AI Agent -> MCP Server -> Browser Use Agent -> Patchright Chromium
  1. Describe a task in natural language
  2. Browser Use sees the page (screenshot + DOM) and decides actions
  3. Patchright executes without triggering bot detection

Security

  • URL scheme validation (http/https only)
  • max_steps capped at 50 server-side
  • Input length capped at 4000 chars
  • Task timeout (default 120s, configurable via BROWSER_TASK_TIMEOUT)
  • Proxy support via PROXY_SERVER

Limitations

  • Binary-level stealth only (no Runtime.enable CDP fix)
  • Enterprise WAFs may still block without residential proxies
  • Fresh browser per call (~3s startup)
  • Requires an LLM API key

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wraith_mcp-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wraith_mcp-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file wraith_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: wraith_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wraith_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c1d6431bb417ed0b29bb4dd5f28b6d0029b782bf5bd711ab7b359e5b9a83d91
MD5 dfc24dfaae507219c8c5af53bf258b0c
BLAKE2b-256 83816bf9a2c8cf0f9b32bdc471cd267546141fbcad9c255370cb17949fabf300

See more details on using hashes here.

Provenance

The following attestation bundles were made for wraith_mcp-0.1.0.tar.gz:

Publisher: publish.yml on Koreahwan/wraith-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wraith_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wraith_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wraith_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0656e0edf6361f46e2604bc39de5f51f1903f3b46d745dae07576d176f3cefa3
MD5 7e5d500d947e0826ea4ede15d2d50d9a
BLAKE2b-256 f7dbfff8824032fea9acc24b18409cfbfce8d690f450e2ffdb7d54520dcbe561

See more details on using hashes here.

Provenance

The following attestation bundles were made for wraith_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Koreahwan/wraith-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page