Skip to main content
Glama
README.md
# VerdictUI — Universal UI Verification Plugin (30 MCP Tools)

<p align="center">
  <img src="assets/icon-400.png" width="128" height="128" alt="VerdictUI Icon" />
</p>

**VerdictUI** replaces slow, lossy `screenshot -> wait -> click -> confirm` loops with **in-process SwiftUI layout instrumentation, virtual-clock settling, headless AppKit/SwiftUI runners, live macOS Accessibility + Apple Vision OCR driving, and isolated CDP headless browsers**—all returning machine-readable `PASS`/`FAIL` verdicts with cited evidence.

- **Website & 15-Day Free Trial:** [https://vohux.com/verdictui](https://vohux.com/verdictui)
- **Platform:** macOS 13+ (Apple Silicon & Intel Universal, Apple-notarized Developer ID `P6R899T379`)
- **Zero-Friction Bootstrap:** On first MCP connection on macOS, `scripts/verdictui-mcp.sh` automatically downloads, SHA-256 verifies, and Apple-codesign-verifies the official notarized `verdictui` binary from `downloads.vohux.com` if not already installed.

---

## One-Step Installation Across Every AI App & IDE

### Claude Code
```bash
/plugin install verdictui --marketplace vohux-dev/verdictui-plugin
```
*(Or add the marketplace first: `/plugin marketplace add vohux-dev/verdictui-plugin`)*

### Claude Desktop (One-Click `.mcpb` Extension)
Download **[`verdictui-1.4.0.mcpb`](https://github.com/vohux-dev/verdictui-plugin/releases/download/v1.4.0/verdictui-1.4.0.mcpb)** and open it in **Claude Desktop -> Settings -> Extensions**.

### Cursor
Install **VerdictUI** from the Cursor Marketplace, or clone into `~/.cursor/plugins/verdictui` / run:
```bash
verdictui plugin install --target cursor
```

### Google Antigravity
Install from the Antigravity Plugin Manager (`https://github.com/vohux-dev/verdictui-plugin`), or run:
```bash
verdictui plugin install --target antigravity
```

### Gemini CLI
```bash
gemini extensions install https://github.com/vohux-dev/verdictui-plugin
```

### VS Code & GitHub Copilot
Install **`com.vohux/verdictui`** from the VS Code MCP Gallery (`vscode:mcp/by-name/com.vohux/verdictui`), or run:
```bash
verdictui plugin install --target vscode
```

### OpenAI Codex, Windsurf, Zed, Kimi CLI, Cline & Universal Agent Skills (`skills.sh`)
```bash
# Install the Agent Skill across 35+ coding agents (Codex, Cursor, Cline, Windsurf, Roo, Kimi, Devin):
npx skills add vohux-dev/verdictui-plugin

# Or configure every installed agent harness in one command with the VerdictUI CLI:
verdictui plugin install --all
```

### Standard MCP (`mcp.json` / `npx`)
```json
{
  "mcpServers": {
    "verdictui": {
      "command": "npx",
      "args": ["-y", "github:vohux-dev/verdictui-plugin"]
    }
  }
}
```

---

## Licence Activation (15-Day Free Trial)

Start a 15-day free trial or subscribe at **[https://vohux.com/verdictui](https://vohux.com/verdictui)**, then activate once per Mac:

```bash
verdictui licence activate <YOUR-LICENSE-KEY>
```

Or pass `VERDICTUI_LICENSE_KEY` in your MCP environment / CI secrets.

---

## Tools

VerdictUI serves **30 deterministic MCP tools** across four verification surfaces:

### 1. In-Process SwiftUI Scenarios (`VerdictUIProbe`)
- `list_scenarios` — List registered SwiftUI scenarios in the current project or runner.
- `render` — Render a SwiftUI scenario headlessly and return its settled semantic tree.
- `focus` — Return the semantic subtree rooted at a specific `node_path`.
- `actions` — List interactive probes and accepted action verbs (`tap`, `toggle`, `setText`, `setSlider`).
- `act` — Perform an in-process action, settle the virtual clock, and return `TreeDelta` + `Verdict`.
- `verify` — Judge a SwiftUI scenario against layout/accessibility rules (`sibling-overlap`, `content-overlap`, `clipped-content`, `offscreen`, `tap-target`, `truncation`, `low-contrast`, `zero-size`), optional baselines, and external AX cross-validation.
- `sweep` — Verify a scenario across Dynamic Type, Light/Dark color schemes, and locale matrices.
- `baseline_diff` — Report structural drift against committed scenario baselines.
- `visualize` — Render an SVG wireframe from any SwiftUI, AppKit, live-AX, or web semantic tree.

### 2. Headless AppKit & SwiftUI Runners (`VerdictUIAppKit`)
- `judge_appkit` — Render and judge AppKit/SwiftUI subjects headlessly, with optional `--witness` acting and `deny_system_access` sandboxing.

### 3. Live Running macOS Applications (`VerdictUIWitness` — Zero Code Changes)
- `live_inspect` — Read the live Accessibility tree (`window:0`, `toolbar:0`, `menubar`, `extras`) of any running macOS app by `pid` or `.app` bundle.
- `live_verify` — Lint live window geometry and assert expected visible text (`expect_text`).
- `live_query` — Navigate tabs/sidebars and extract structured rows from a live `NSTableView` / `NSOutlineView` / SwiftUI `List`.
- `live_act` — Deliver background-targeted clicks, presses, typing, keys, scrolling, and value writes without stealing focus or moving the user's cursor, asserting settled outcomes.
- `live_capture` — Capture a single application window to PNG (never full-screen) with optional `PixelDiff` baseline comparison.
- `live_vision_inspect` — Synthesize a semantic tree via Apple Vision OCR and rectangle detection for custom `<canvas>`, Metal, Electron, or Citrix/Epic VDI windows.
- `live_vision_act` — Coordinate-fenced click/type/scroll driving guided by live Apple Vision OCR text targets.
- `live_script` — Execute secret-scrubbed AppleScript or JXA with `NSMenu` tracking and macOS lock-screen safety guards.

### 4. Web & Browser Verification (`VerdictUIWeb` — Isolated Warm CDP Profiles)
- `judge_web` — Judge an observed DOM tree produced by a project web runner.
- `web_list` — List warm browser profiles owned by the current MCP session.
- `web_open` — Open an HTTP/HTTPS/file URL in an isolated headless Chromium profile.
- `web_render` — Extract the live rendered DOM and computed layout box model as a `SemanticNode` tree.
- `web_verify` — Lint web layout, tap targets, contrast, overflow, and required visible text.
- `web_act` — Send trusted CDP click/type/key/submit input (with vault-backed `action: "credential"` secret injection that never echoes secrets) and return the settled diff + verdict.
- `web_upload` — Attach local files to `<input type="file">` with path-traversal and credential-file guards.
- `web_download` — Trigger and verify browser downloads with byte-count and SHA-256 receipts.
- `web_eval` — Evaluate Promise-aware JavaScript (`Runtime.evaluate` or node-scoped `el`) with secret redaction.
- `web_capture` — Capture viewport or element PNG screenshots, inspect `<canvas>` blankness, and run `PixelDiff` comparisons.
- `web_handoff` — Hand off CAPTCHA, Turnstile, Passkey/WebAuthn, or SSO gates to a visible window (or loopback CDP port) and resume headless operation once met.
- `web_close` — Close an owned browser session and release its profile lock.

---

## License

Copyright (c) 2026 Vohux Inc. All rights reserved. See [LICENSE](LICENSE).