VRO Camoufox MCP
A Python Model Context Protocol server for controlled marketplace research on Vinted, with read-only browser automation and evidence capture.
README
VRO Camoufox MCP
<p align="center"> <strong>Read-oriented browser automation and evidence capture for Vinted Resale Ops.</strong> </p>
<p align="center"> <img alt="Python 3.12+" src="https://img.shields.io/badge/Python-3.12%2B-3776AB?logo=python&logoColor=white"> <img alt="Model Context Protocol" src="https://img.shields.io/badge/MCP-Streamable_HTTP-6C47FF"> <img alt="Phase I read only" src="https://img.shields.io/badge/Phase_I-read--only-2EA44F"> <img alt="Tests" src="https://img.shields.io/badge/tests-15_passing-2EA44F"> </p>
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.
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
- Full development, deployment, and acceptance specification
- Example environment configuration
- Smoke-test harness
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。