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.1.tar.gz (8.3 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.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wraith_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 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.1.tar.gz
Algorithm Hash digest
SHA256 28a4f3de22a715bb4a0e24ae65c1c744e7d1a7c9ee73355b0be345bcdc2cff41
MD5 b057c556bce8a011f696f52272e37b5a
BLAKE2b-256 8b6bf6690a2cfc2f2bd4ee8c11cef7e21c354c1149292534b0f9a38159b8b2d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for wraith_mcp-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: wraith_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a51a3f2c1161e7fdcdd36f04499c5a0d8569c5e363df417a095058df6f28219
MD5 aa7f204ebb66e05c8c0889a768b13a3e
BLAKE2b-256 cf09c63bbb414cb0da36b52cb61fc09f288acd881864dfab886fd7115f39adbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for wraith_mcp-0.1.1-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