Skip to main content
Glama
UI Audit MCP
by wa008

UI Audit MCP

Let AI agents evaluate your iOS app's UI — screenshots, taps, swipes, and a 3-dimension scoring system, all from your MCP client.

Features

  • Device Control: Launch apps, take screenshots, tap, and swipe on iOS Simulators.

  • UI Evaluation: 3-dimension user-perspective evaluation (outcome, usability, aesthetics).

Related MCP server: Mobile Pilot MCP

Prerequisites

  • macOS (required for iOS Simulator)

  • Node.js 18+

  • Xcode CLI Tools: xcode-select --install

  • idb (required for tap/swipe):

    brew install idb-companion
    pip3 install fb-idb

Install

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "ui-audit": {
      "command": "npx",
      "args": ["-y", "@wa008/ui-audit-mcp"]
    }
  }
}

Tools

Tool

Purpose

launch_app

Launch app by Bundle ID

take_screenshot

Capture screen & track evaluation step

tap / swipe

Interact with UI (ratio coordinates), screenshot, and track step

input_text

Type text into the focused field, screenshot, and track step

evaluate

Get dimension prompt or submit score + get next

get_audit_status

View missing evaluations or final markdown report

Typical Workflow

  1. launch_app("com.example.app")

  2. take_screenshot("MyTestCase", 1, "Verify Initial Screen")

  3. evaluate("MyTestCase", 1) → Returns first dimension prompt

  4. Agent analyzes UI → submits score → repeats until all dimensions done

  5. get_audit_status(["MyTestCase"]) → Full markdown report

Evaluation Dimensions

Each step is scored on up to 3 dimensions (score ≥ 8 to pass):

  1. Outcome — Did the action produce the expected result? (action steps only)

  2. Usability — Is everything visible, understandable, and interactive?

  3. Aesthetics — Does it look professional and polished?

Data

  • Logs: ~/.ui-audit-mcp/logs/

  • Screenshots: ~/.ui-audit-mcp/screenshots/

License

MIT

Available Tools

7 tools
evaluateA

Unified evaluation tool. Two modes:

  1. INITIAL: Call with only caseName + stepIndex (omit score/reason/token) → returns the first pending dimension's prompt, scoring guide, and evaluationToken.

  2. SUBMIT: Call with caseName + stepIndex + evaluationToken + score + reason → records the score, advances to the next dimension, and returns its prompt + new token (or completion message). Dimensions (easy → hard): outcome → usability → aesthetics. For observation steps (no expectedOutcome), outcome is skipped automatically.

Inputs: caseName (required), stepIndex (required), score, reason, +1 more.

get_audit_statusA

Get the current dashboard or test case report. Use this to see which dimensions are missing (Pending) or to get the final markdown report if all steps are fully evaluated.

Inputs: caseNames.

input_textA

Type text into the currently focused field. Tap a text field first to focus it, then call this tool. Automatically captures a screenshot and registers a tracked step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.

Inputs: text (required), caseName (required), stepIndex (required), description (required), +1 more.

launch_appB

Launch an iOS app on the simulator by its bundle ID.

Inputs: appId (required).

swipeA

Swipe on screen (ratio 0-1). Automatically captures a screenshot and registers a tracked step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.

Inputs: endX (required), endY (required), startX (required), startY (required), +4 more.

take_screenshotA

Capture the current simulator screen and register it as a tracked evaluation step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.

Inputs: caseName (required), stepIndex (required), description (required), expectedOutcome.

tapA

Tap at a position on screen (ratio 0-1). Automatically captures a screenshot and registers a tracked step. After this call, evaluate the screenshot across all required dimensions before moving to the next action.

Inputs: x (required), y (required), caseName (required), stepIndex (required), +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers