Skip to main content
Glama
VRO Camoufox MCP

VRO Camoufox MCP

by grappaheiss

VRO Camoufox MCP

VRO Camoufox MCP is a Python Model Context Protocol server for controlled marketplace research. It opens allowlisted Vinted pages, classifies and extracts visible listing data, enumerates member inventory, and captures verifiable evidence without exposing marketplace mutation tools.

IMPORTANT

Phase I is intentionally read-only. Publishing listings, changing prices, messaging buyers, handling offers, purchasing, and other marketplace mutations remain human-controlled.

What it does

  • Creates isolated Playwright browser sessions with bounded lifetime and page limits.

  • Restricts navigation to configured Vinted domains and blocks unsafe URL schemes.

  • Distinguishes home, member, listing, search, login, challenge, and error pages.

  • Extracts visible listing details without inventing missing values.

  • Reconciles member inventory counts through bounded scrolling and deduplication.

  • Captures PNG evidence with SHA-256 hashes, manifests, and SQLite records.

  • Issues expiring HMAC-signed artifact URLs.

  • Tracks verified remote synchronization and safely expires local payloads.

  • Returns consistent result envelopes with trace IDs, timing, warnings, evidence, and errors.

Related MCP server: Autoconsent MCP

Architecture

AI harness
    |
    v
VRO Camoufox MCP
    |-- browser policy and page classification
    |-- listing and inventory extraction
    `-- artifact capture and verification
            |
            v
      human review / approval

The MCP server provides capabilities. The surrounding harness owns workflow orchestration, policy decisions, persistence, approvals, and final success criteria.

Tool surface

Area

Tool

Purpose

Browser

browser.start_session

Create an isolated controlled browser session.

Browser

browser.open_url

Open an allowlisted URL and classify the resulting page.

Browser

browser.inspect_page

Return bounded visible text and classified links.

Browser

browser.dismiss_overlay

Dismiss known cookie, app, login, and modal overlays.

Listings

listing.inspect_current

Extract the current listing when the page is a listing.

Listings

listing.enumerate_member_inventory

Scroll, deduplicate, and reconcile visible member inventory.

Listings

listing.crawl_member_inventory

Inspect discovered listings sequentially with partial-failure reporting.

Artifacts

artifact.capture_screenshot

Capture a screenshot, hash it, and register its manifest.

Artifacts

artifact.get

Retrieve artifact metadata and an optional signed URL.

Artifacts

artifact.list_pending

List artifacts awaiting verified remote persistence.

Artifacts

artifact.confirm_remote_sync

Confirm independently verified remote synchronization.

Artifacts

artifact.cleanup

Expire old confirmed local payloads with dry-run safety.

Quick start

1. Create an environment

git clone https://github.com/grappaheiss/camoufox.git
cd camoufox
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e ".[dev]"
playwright install chromium

On Linux or macOS, activate with source .venv/bin/activate.

2. Configure the server

Copy-Item .env.example .env

At minimum, replace the placeholder artifact signing secret. For HTTP deployment, also set a client-reachable PUBLIC_BASE_URL and an explicit host allowlist.

ARTIFACT_SIGNING_SECRET=replace-with-a-long-random-secret
PUBLIC_BASE_URL=http://127.0.0.1:8765
MCP_ALLOWED_HOSTS=127.0.0.1,127.0.0.1:8765,localhost,localhost:8765

3. Run it

The default transport is stdio:

vro-mcp

For Streamable HTTP at http://127.0.0.1:8765/mcp:

$env:MCP_TRANSPORT = "streamable-http"
vro-mcp

Linux launch helpers are available under scripts/.

Configuration

Variable

Default

Description

MCP_TRANSPORT

stdio

stdio, sse, or streamable-http.

MCP_HOST

127.0.0.1

HTTP bind address.

MCP_PORT

8765

HTTP listen port.

MCP_ENDPOINT

/mcp

Streamable HTTP endpoint.

MCP_ENABLE_DNS_REBINDING

true

Enable MCP host/origin validation.

MCP_ALLOWED_HOSTS

local hosts

Comma-separated accepted HTTP hosts.

BROWSER_HEADLESS

true

Run the browser without a visible window.

BROWSER_LOCALE

pl-PL

Browser locale.

BROWSER_TIMEZONE

Europe/Warsaw

Browser timezone.

ALLOWED_DOMAINS

Vinted Poland

Comma-separated navigation allowlist.

ARTIFACT_DIR

/var/lib/vro-mcp/artifacts

Server-controlled artifact storage.

ARTIFACT_RETENTION_HOURS

168

Confirmed local payload retention.

ARTIFACT_URL_TTL_SECONDS

900

Signed artifact URL lifetime.

PUBLIC_BASE_URL

placeholder

Client-reachable origin for artifact URLs.

See .env.example for the complete configuration surface.

Development

Run the focused regression suite:

python -m pytest -q

Run the dependency-light smoke checks:

python scripts/smoke_test.py

The current baseline is 6 regression tests plus 9 smoke checks.

Security model

  • Navigation is restricted by scheme and domain allowlists.

  • Model-facing tools cannot choose arbitrary artifact filesystem paths.

  • Artifact confirmation requires independent verification; supplied hashes must match.

  • Cleanup is restricted to confirmed artifacts and defaults to dry-run.

  • Extracted marketplace content is treated as data, never as executable instruction.

  • Signed URLs bind the artifact identity, filename, expiry, and server-held secret.

For production, retain DNS-rebinding protection, use an explicit stable hostname, store secrets outside source control, and expose the service only through a trusted HTTPS boundary.

Documentation

Status

Version 0.1.0 is an initial Phase I implementation. Browser selectors remain marketplace-structure dependent and should be covered by live integration fixtures before production use.

Available Tools

12 tools
artifact.capture_screenshotC

Captures a screenshot of the current page and persists it as a local artifact.

Inputs: filename (required), browser_session_id (required), intended_drive_path (required), full_page.

artifact.cleanupB

Cleans up old confirmed artifacts. Safety: only_confirmed must remain true in v0.1.

Inputs: dry_run, max_age_hours, only_confirmed.

artifact.confirm_remote_syncB

Confirms remote sync for an artifact. Transitions to REMOTE_CONFIRMED only if verified=true.

Inputs: artifact_id (required), remote_path (required), remote_provider (required), verified, +2 more.

artifact.getB

Retrieves artifact metadata and optionally a signed download URL.

Inputs: artifact_id (required), include_signed_url.

artifact.list_pendingB

Lists pending artifacts awaiting remote sync confirmation.

Inputs: limit, older_than_hours.

browser.dismiss_overlayC

Attempts deterministic dismissal of known overlays.

Inputs: browser_session_id (required), overlay_types.

browser.inspect_pageB

Returns a safe page summary without dumping arbitrary full DOM content.

Inputs: browser_session_id (required), max_links, include_links, max_text_chars, +1 more.

browser.open_urlC

Opens an allowlisted URL in the browser session.

Inputs: url (required), browser_session_id (required), timeout_ms, wait_until.

browser.start_sessionC

Creates or returns a controlled browser session.

Inputs: locale, headless, timezone.

listing.crawl_member_inventoryB

Higher-level bounded traversal: enumerates a member page and opens each listing sequentially.

Inputs: browser_session_id (required), max_listings, continue_on_listing_error, capture_listing_screenshots.

listing.enumerate_member_inventoryC

Enumerates visible listing tiles on a member profile page.

Inputs: browser_session_id (required), max_listings, scroll_limit, include_tile_metadata, +1 more.

listing.inspect_currentA

Extracts one listing from the current page. Requires page_type == LISTING.

Inputs: browser_session_id (required), include_description, include_seller_summary.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool has a clear prefix-based purpose: artifact.* handles artifact lifecycle, browser.* manages the browser session, and listing.* deals with page extraction. Even the overlapping listing.enumerate_member_inventory and listing.crawl_member_inventory are distinguished by the latter being a higher-level traversal, with descriptions clarifying the relationship.

    Naming Consistency5/5

    All tool names follow a consistent pattern of domain.snake_case_action, e.g., browser.start_session, listing.crawl_member_inventory, artifact.confirm_remote_sync. No mixed conventions or verb-style inconsistencies.

    Tool Count5/5

    Twelve tools is within the ideal range and well-scoped across three subdomains: browser control (4), listing extraction (3), and artifact management (5). Each tool serves a distinct purpose and earns its place without redundancy.

    Completeness4/5

    The tool surface covers the core browser session lifecycle, listing inspection/traversal, and artifact management from creation through sync confirmation and cleanup. Minor gaps exist, such as no explicit artifact discovery for confirmed items or more granular browser interactions (e.g., navigation, clicking), but these are workable for the apparent scope.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A streamlined Model Context Protocol server that enables AI models to perform stealth browser automation using Patchright, avoiding detection by anti-bot systems while providing essential web interaction capabilities.
      4
      26
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that provides browser automation capabilities for creating and testing Autoconsent rules, enabling LLMs to interact with web pages and test consent management platforms in a real browser environment.
      10
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      A complete Model Context Protocol server that implements Selenium WebDriver for browser automation with advanced detection evasion capabilities, multi-browser support, and comprehensive web interaction functionalities.
      -