Skip to main content
Glama
Crypsis MCP
by mtnba4

Crypsis MCP (v1.0.0)

A high-performance Model Context Protocol (MCP) server engineered specifically for stealth web automation and web scraping.

Crypsis allows AI agents (in Claude Desktop, Cursor, Antigravity, Windsurf, etc.) to browse the web, interact with dynamic interfaces, capture structured data, and scrape protected content just like a human user.

💡 Powered by Camoufox (Anti-Detect Firefox)
Crypsis uses Camoufox as the underlying browser engine. By utilizing Firefox patched at the C++ source code level, Camoufox eliminates automation flags (navigator.webdriver, fingerprint leaks, WebGL/Audio/Canvas anomalies) and includes built-in humanization, so you don't have to worry about anti-bot firewalls (Cloudflare Turnstile, DataDome, Akamai) or captchas (Google reCAPTCHA, hCaptcha).


🚀 Key Features

  • Built for Web Automation & Scraping: Purpose-built toolset for DOM querying, searching, interactive form-filling, screenshotting, and data extraction.

  • Firewall & Captcha Resilience: Native Camoufox integration plus an automated crypsis_solve_captcha solver ensures zero-detection scraping without getting trapped in captcha loops.

  • Humanized Interaction: Smooth Bézier-curve mouse movement with micro-overshoot and randomized keystroke typing latency.

  • Streamlined Tool Surface: Exposes a lean, high-impact core set (~31 tools) by default to save AI context tokens, with an optional full preset for advanced tools.

  • Flexible Headless Mode: Headed by default for desktop stealth, with full headless support (CRYPSIS_HEADLESS=1 or --headless) for Linux VPS, CI/CD, and Docker servers.

  • Layered Workspace Alignment:

    • Zero Host Pollution: All outputs (screenshots, logs, PDFs, HARs, HTML files) are saved precisely in the active client workspace.

    • Automatically resolves save directories via: CRYPSIS_WORKSPACE ➔ WORKSPACE_ROOT ➔ MIME_WORKSPACE ➔ process.cwd().

  • Traffic & Request Inspection:

    • Built-in stealth network logging (HAR export, XHR/Fetch payload inspection and in-browser replaying) with zero external proxy dependencies.


Related MCP server: ScrapeLab MCP

🛠️ Installation

  1. Clone this repository and install dependencies:

    npm install
  2. On first run (or via npx camoufox fetch), Camoufox will automatically download its patched Firefox binary.


📖 Usage & MCP Configuration

1. Launch via MCP Host

Configure Crypsis in your MCP client settings (e.g. claude_desktop_config.json, Cursor, or Antigravity):

{
  "mcpServers": {
    "crypsis": {
      "command": "node",
      "args": ["/path/to/crypsis-mcp/launcher.cjs"],
      "env": {
        "CRYPSIS_WORKSPACE": "/path/to/your/workspace",
        "CRYPSIS_TOOLSET": "core",
        "CRYPSIS_HEADLESS": "0"
      }
    }
  }
}

2. Manual Terminal Launch

You can also launch the bridge directly in stdio mode:

# Core scraping tools (default)
node launcher.cjs

# Headless mode for servers/Docker
node launcher.cjs --headless

# Full toolset (all advanced & reverse-engineering tools)
node launcher.cjs --toolset=all

Tool

Purpose

crypsis_navigate

Navigate to any web URL with stealth headers and auto-wait.

crypsis_solve_captcha

Automatically detect and solve Cloudflare Turnstile, Google reCAPTCHA v2, and hCaptcha.

crypsis_search

Search page text or Regex patterns with surrounding context snippets.

crypsis_get_inputs

Map all interactive form fields (input, textarea, select, dropdown options).

crypsis_set_inputs

Batch fill form fields with randomized human-like typing latency.

crypsis_get_dom

Extract deep structured DOM trees (automatically falls back to DOM serialization in Firefox/Camoufox).

crypsis_snapshot

Extract clean accessibility trees for fast semantic data extraction.

crypsis_save_html_document

Dump the fully rendered page HTML markup to disk.

crypsis_full_screenshot

High-fidelity full-page visual audits and page captures.

crypsis_xhr_get / xhr_edit_send

Inspect or replay background API/Fetch requests directly inside page context.

crypsis_get_state

Retrieve URL, Title, and readyState without visual overhead.

crypsis_cookies_get / cookies_set

Retrieve or restore browser session cookies.

crypsis_export_har

Export captured traffic as standard HAR 1.2 file.


⚙️ Configuration Variables

Variable

CLI Flag

Description

Default

CRYPSIS_TOOLSET

--toolset=core|all

Tool density preset (core for lean scraping, all for full suite)

core

CRYPSIS_HEADLESS

--headless

Run in headless mode without a visible window

0

CRYPSIS_WORKSPACE

--workspace=<path>

Base directory where screenshots, logs, and exports are saved

Current directory

CRYPSIS_PROFILE_DIR

—

Custom directory for the persistent Camoufox browser profile

./camoufox_profile

CRYPSIS_PROXY_SERVER

—

Optional upstream proxy (e.g. http://user:pass@host:port)

direct


🔒 Security & Performance

  • Source-Level Stealth: Camoufox patches Firefox at the C++ level, avoiding detectable JS injection fingerprints.

  • Isolated User Profiles: Stores runtime data and cookies internally, avoiding pollution of the host machine's default browser profile.

  • Output Sanitization: Centralized response formatting prevents agent context crashes on oversized HTML pages (truncated safely at 100k characters).

  • Telemetry: Real-time diagnostic logging maintained in crypsis.log.

Available Tools

31 tools
crypsis_clickB

Click an element using humanized Bézier-curve mouse motion, micro-overshoot, and settle latency

Inputs: selector (required).

crypsis_cookies_clearB

Clear all cookies

Inputs: no named parameters.

crypsis_cookies_getC

Get all cookies from browser context

Inputs: urls.

crypsis_cookies_setC

Set session cookies

Inputs: cookies (required).

crypsis_evaluateC

Evaluate custom JavaScript in the browser page context

Inputs: script (required).

crypsis_export_harB

Export captured traffic as a HAR 1.2 file

Inputs: filename (required).

crypsis_find_elementsC

Find matching elements and their basic attributes

Inputs: selector (required).

crypsis_full_screenshotC

Take a full page screenshot

Inputs: name (required).

crypsis_get_contentA

Get page HTML content using resilient multi-tier fallback (Evaluate -> CDP -> Native)

Inputs: no named parameters.

crypsis_get_domB

Get structured DOM tree via CDP. Returns nodeId, nodeName, attributes, children. Supports shadow DOM piercing.

Inputs: depth, pierce, selector.

crypsis_get_inputsA

Get all interactive form fields on the page (IDs, names, types, labels, dropdown options)

Inputs: no named parameters.

crypsis_get_stateB

Get current page state (URL, title, readyState)

Inputs: no named parameters.

crypsis_go_backB

Navigate backward in browser history

Inputs: no named parameters.

crypsis_go_forwardB

Navigate forward in browser history

Inputs: no named parameters.

crypsis_hoverC

Hover over an element

Inputs: selector (required).

crypsis_navigateB

Navigate to a URL with stealth headers and auto-wait

Inputs: url (required), timeout, wait_until.

crypsis_pdf_saveC

Save current page as a PDF file

Inputs: path (required).

crypsis_press_keyC

Press a keyboard key (e.g. 'Enter', 'Tab', 'Escape')

Inputs: key (required).

crypsis_reloadB

Reload the current page

Inputs: no named parameters.

crypsis_save_html_documentC

Save the current webpage HTML markup to a document file on disk

Inputs: filepath (required).

crypsis_screenshotA

Take a viewport screenshot (saved safely to active workspace)

Inputs: name (required).

crypsis_select_optionC

Select an option in a dropdown element

Inputs: value (required), selector (required).

crypsis_set_inputsB

Batch fill multiple interactive form fields in a single stealthy interaction

Inputs: values (required).

crypsis_snapshotA

Get page accessibility snapshot for semantic text and structure extraction

Inputs: no named parameters.

crypsis_solve_captchaA

Automatically detect and solve interactive CAPTCHAs and Turnstiles (Cloudflare Turnstile, Google reCAPTCHA v2, hCaptcha) using humanized Bézier mouse curves and verification check-through.

Inputs: timeout.

crypsis_typeB

Type text into an input with per-character human latency jitter and occasional realistic typos

Inputs: text (required), selector (required).

crypsis_wait_for_navigationC

Wait for page navigation to complete

Inputs: timeout.

crypsis_wait_for_selectorC

Wait for an element to appear in the DOM

Inputs: selector (required), timeout.

crypsis_xhr_edit_sendA

Edit method, URL, headers, or body payload of any captured or new XHR/Fetch request and resend it in-browser

Inputs: url, body, method, headers, +2 more.

crypsis_xhr_getC

Inspect complete raw details of any captured XHR/Fetch request and response pair by requestId

Inputs: requestId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 31 tools

    Disambiguation4/5

    Most tools target clearly distinct actions (click, type, select_option, hover, press_key) and the navigation/history group is unambiguous. The main soft spot is the content-extraction cluster — get_content, get_dom, snapshot, and find_elements all return page structure and an agent must read descriptions carefully to choose between HTML string, CDP tree, accessibility tree, or element attributes.

    Naming Consistency3/5

    The crypsis_ prefix and snake_case are uniform, but the verb/noun ordering is mixed: verb-first in get_state, get_inputs, save_html_document, find_elements versus noun-first in xhr_get, cookies_set, pdf_save, and export_har. Several tools also drop the verb entirely (snapshot, screenshot, full_screenshot), so the pattern is readable but not predictable.

    Tool Count3/5

    31 tools is above the comfortable range and the surface is large, but a stealth browser-automation server legitimately spans navigation, interaction, extraction, network interception, cookies, and CAPTCHA handling. Still, several tools (save_html_document vs get_content, pdf_save vs screenshots) feel like conveniences that inflate the count.

    Completeness4/5

    Coverage is broad: navigation and history, page-state/content/DOM/snapshot extraction, full interaction and form batching, waits, JS evaluation, XHR capture/edit/resend, HAR export, cookies, CAPTCHA solving, screenshots and PDF. Gaps remain in lifecycle handling — no tab/window management, iframe or frame switching, file upload/download, scrolling, or native dialog/alert handling — which will limit multi-frame or file workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to perform undetectable browser automation that bypasses Cloudflare, antibots, and social media blocks. Provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected sites.
      187 PyPI
      3,387
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables undetectable web scraping and browser automation for AI agents with 84 tools including stealth navigation, element extraction, network interception, and auto cookie consent dismissal. Bypasses anti-bot systems like Cloudflare and DataDome while providing LLM-ready markdown output and full Chrome DevTools Protocol access.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides stealth web browsing using dual browser engines (Chromium and Firefox) with automatic bot-detection bypass, enabling AI agents to browse, interact, and extract content from websites without being blocked.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to perform stealth browser automation and anti-detection web interaction, including session management, humanized interactions, and bypassing anti-bot/WAF protections.
      MIT