Stop manually dragging screenshots into Claude Code, Cursor, or Antigravity. Monosnap v7.2 exposes a Fail-Closed Unix Domain Socket MCP server (0600 + Apple SecCode audit token) that captures regions, runs Vision OCR, scrubs API keys on-device, and returns safe B4-wrapped context.
{
"mcpServers": {
"monosnap-visual": {
"transport": "unix-domain-socket",
"socket": "~/Library/Group Containers/group.com.monosnap.monosnap/mcp.sock",
"tools": ["capture_region", "ocr_extract", "redact_pii_and_save"],
"dlp_scrub": "strict_fail_closed", "rate_limit": "30 req/min"
}
}
}
Binds exclusively to App Group UDS (0700 dir / 0600 socket) with anti-TOCTOU symlink rejection and kernel peer UID + SecCode allowlist.
Every OCR string extracted from web pages or terminals is XML-escaped inside <untrusted_external_data> so hostile pixels never hijack your agent.
capture_region (proportional scaling), ocr_extract (Apple Vision on-device), and redact_pii_and_save (burns sk_live_, ghp_, Bearer tokens).
| Agent Visual MCP Requirement | Monosnap v7.2 UDS MCP | Ad-hoc Screenshot Scripts |
|---|---|---|
| Network Attack Surface | Zero (0600 Unix Socket + SecCode) | Often binds localhost:PORT (CSRF/DNS rebind) |
| Automatic Secret Redaction (DLP) | Built-in before agent sees pixels/OCR | Leaks .env / Stripe / AWS keys to LLM cloud |
| Prompt-Injection Containment | Deterministic B4 XML wrapper + 64 KB cap | Raw unsanitized OCR directly into context |
| Native Speed & Canvas Annotations | Swift/ObjC native + omasnap callouts | No interactive editor or pinned stacks |