M Monosnap / MCP
V7.2 LOCAL UDS MCP SERVER • CLAUDE CODE • CURSOR • ANTIGRAVITY

Visual Ground Truth for AI Coding Agents. 100% Local UDS.

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.

Unix Domain Socket (0600, 0 TCP Ports)LOCAL_PEERTOKEN + SecCode VerifiedAuto-Redacts sk_live_/ghp_/AKIAOWASP B4 Untrusted XML Sandbox
~/.claude/mcp.json — Zero-Trust Monosnap UDS Bridge
{
  "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"
    }
  }
}
0 TCP Ports

No Localhost HTTP Exposure

Binds exclusively to App Group UDS (0700 dir / 0600 socket) with anti-TOCTOU symlink rejection and kernel peer UID + SecCode allowlist.

B4 Sandbox

Anti-Prompt-Injection OCR

Every OCR string extracted from web pages or terminals is XML-escaped inside <untrusted_external_data> so hostile pixels never hijack your agent.

3 Core Tools

Capture, OCR, Redact

capture_region (proportional scaling), ocr_extract (Apple Vision on-device), and redact_pii_and_save (burns sk_live_, ghp_, Bearer tokens).

Agent Visual MCP RequirementMonosnap v7.2 UDS MCPAd-hoc Screenshot Scripts
Network Attack SurfaceZero (0600 Unix Socket + SecCode)Often binds localhost:PORT (CSRF/DNS rebind)
Automatic Secret Redaction (DLP)Built-in before agent sees pixels/OCRLeaks .env / Stripe / AWS keys to LLM cloud
Prompt-Injection ContainmentDeterministic B4 XML wrapper + 64 KB capRaw unsanitized OCR directly into context
Native Speed & Canvas AnnotationsSwift/ObjC native + omasnap calloutsNo interactive editor or pinned stacks