Skip to main content
Glama

Video evidence for AI-assisted testing of desktop apps, websites, creative tools, and games. Record a selected source, see screenshots while tests run, inspect subtle changes, compare before/after clips, look at a model from every angle, zoom into details, and score the result against a structured QA checklist.

ClipQA runs locally through MCP. It never moves your mouse, types, or activates application windows. Saved videos are available for you to watch, not just for an AI to analyze.

v0.4 public preview. Windows Graphics Capture has been tested live on Windows. Linux X11 and macOS display backends have argument/parsing tests; native capture on those systems still needs validation. See platform setup.

Quick start

npx -y clipqa-mcp

MCP client configuration:

{
  "mcpServers": {
    "clipqa": {
      "command": "npx",
      "args": ["-y", "clipqa-mcp"]
    }
  }
}

Using an older github:WheresRace/clipqa-mcp config? Switch it now. That route made npx download, install and compile the whole repository on every launch. It could exceed the client's startup timeout, restart in a loop and flood the disk. On Windows that caused severe slowdowns. Replace it with "args": ["-y", "clipqa-mcp"], or install once with npm install -g clipqa-mcp and use "command": "clipqa-mcp" with no args (fastest startup, no network on launch). Installing from a GitHub link is no longer supported.

Node.js 20+ is required. FFmpeg and FFprobe are supplied through package dependencies. Override their locations with CLIPQA_FFMPEG_PATH and CLIPQA_FFPROBE_PATH. Change the session directory with CLIPQA_DATA_DIR (default ~/.clipqa/sessions).

Stronger Windows capture

The bundled FFmpeg may not include Windows Graphics Capture. This optional setup downloads a newer build from the Windows build provider linked by FFmpeg, verifies its published SHA-256, and installs it into ~/.clipqa/bin:

npx -y clipqa-mcp --setup-wgc

Restart your MCP client and call capture_status. Automatic selection prefers gfxcapture when available, falling back to gdigrab. An explicitly requested unavailable backend returns an error. Capture never silently switches from a window to an entire display.

Related MCP server: screencast

See what is happening

Ask your assistant:

Record this app at 15 FPS, keeping the last 30 seconds. Show me a progress screenshot. Include a short video preview when something changes. Stop and show me the saved video when the test finishes.

  • recording_progress returns a screenshot as an MCP image. With includeVideo: true, it also returns a short MP4 preview and its local path. Recording continues.

  • Live previews use completed segments and lag by roughly two seconds. Early requests return previewReady: false.

  • get_clip returns the completed video's absolute path and a video resource link.

  • Inline video playback depends on your MCP client. A client with local-media support can render the path in chat; otherwise open it in a media player. Images use standard MCP image responses.

Saved videos, previews, screenshots, and reports stay on disk until explicitly deleted. ClipQA does not automatically erase evidence once an AI inspects it.

Tools

Tool

Purpose

capture_status

Detect capture backends and explain requirements.

list_sources

List Windows/X11 windows or macOS displays.

list_windows

List Windows/X11 titles and native handles.

start_recording

Record a source (exact title, title fragment or handle), optionally cropped, retaining the last N seconds, and following log files.

recording_progress

Return status, time remaining, a screenshot, and optionally a live video preview.

wait_until_stable

Wait until the recording stops changing, then return a screenshot.

mark_event

Attach actions, assertions, errors, or application logs to timestamps.

attach_log

Turn new lines of a log file (or the newest log in a folder) into timed events.

stop_recording

Stop capture and finalize the saved video.

recover_session

Rebuild the video of an interrupted or failed recording from its segments.

get_clip

Access a completed session's video.

list_sessions

Browse recordings.

import_clip

Copy an existing local video into a session on any platform.

inspect_clip

Return an event-labelled contact sheet, perceptual-change index and quality warnings.

get_frames

Retrieve specific frames (optionally cropped) with configurable image size.

zoom_frame

Show a labelled grid, then zoom into a cell, point or region at native resolution.

inspect_between

See what happens between samples: every frame of a range, an onion skin of moving parts, or a map of everything that changed.

analyze_motion

Score fluidity (hitches, pops, uneven speed) and measure real FPS, frame pacing, easing, stillness, sharpness, exposure, flicker and settle time.

compare_clips

Auto-align two runs, say which qualities improved or regressed, compare every frame on a timeline, and save a side-by-side video.

orbit_plan

Generate a 360° camera script (Roblox, Blender or generic) covering every angle plus close-ups.

orbit_sheet

Find each view in the recorded orbit and return labelled every-angle sheets.

qa_review

Return the checklist for a profile (character, UI, VFX, camera, gameplay, general) with written standards, your must-pass requirements, measured auto-grades and a contact sheet.

record_finding

Grade a checkpoint 0-4 with a note and optional zoomed evidence.

qa_report

Score the review with bonus points and a letter grade, write an HTML/JSON report, and run the roundtable audit.

roundtable_review

Get (or start) the small-model audit of a finished review.

delete_session

Delete a stopped session and all its artifacts.

cleanup_sessions

Preview or delete old sessions; defaults to a dry run.

Rolling recording

{
  "hwnd": "123456",
  "backend": "auto",
  "fps": 15,
  "maxWidth": 1280,
  "maxSeconds": 300,
  "bufferSeconds": 30
}

Replace the handle with one from list_sources. Without bufferSeconds, the full recording is retained. Rolling mode removes old two-second disk segments while recording. A few extra seconds are temporarily retained for segment boundaries. Stopping saves only the last N seconds (or the available duration if shorter), removes working segments, drops older events, and shifts retained event timestamps to match the saved video.

This is a disk buffer, bounded by time rather than bytes. Preview exports and finalization need extra space. Saved previews remain until cleanup.

Quality review: standards, grades and bonus points

qa_review gives the assistant a checklist for the kind of work being checked, chosen with profile:

Profile

Checks

character (default)

Body proportions, twisted or broken meshes, clipping, pose vs request, contacts, the principles of animation (anticipation and follow-through, arcs, weight), every-angle coverage, materials

ui

Layout and alignment, text legibility (WCAG AA contrast), interactive states, transitions (150-400 ms, eased), response within 100 ms

vfx

Readability, anticipation/impact/dissipation, blending with the scene

camera

No unintended shake, smooth eased moves, framing

gameplay

Input response, action feedback, physics

general

Glitches, consistency, request match

Every profile also includes measured standards: smoothness, real frame rate while moving, even frame pacing, flicker and black frames, and exposure. Those are graded automatically from the video unless the assistant grades them itself. Pass your own requirements (for example ["waves with the LEFT hand", "loop is seamless"]) and each becomes a must-pass checkpoint.

The assistant grades each checkpoint 0-4 with record_finding: 0 broken, 1 poor, 2 acceptable, 3 good (meets the written standard), 4 excellent. Grade 3, or a plain pass, earns full points, 2 earns 70%, 1 earns 25%, and unclear earns half. qa_report then adds up to +10 bonus points for quality beyond the standard: smoothness 95+ with no hitches, full frame rate at 50+ FPS, even pacing, eased movement, rock-steady stillness, and checkpoints graded excellent. There's no bonus when a blocker is present. Reports show the score, the bonus and a letter grade (A+ at 100 and above).

Verdicts: any blocker → FAIL; unchecked items → INCOMPLETE; any other failure (including a missed requirement) or a score below 85 → NEEDS WORK; otherwise PASS. Apart from the measured checkpoints, the checklist directs the assistant's judgment; ClipQA does not detect those defects by itself.

Roundtable audit

Once the main model has graded every checkpoint, qa_report asks a panel of small models to audit the review: Claude Haiku through your local Claude Code CLI, and Codex through your local Codex CLI. Each gets one compact image (the review's contact sheet plus up to three evidence crops) and a short text summary of the request, measurements and grades. Each returns at most five possible misses and five disputed grades. Issues raised by both reviewers are listed first. The main model is told to verify each challenge itself before changing anything, because small models can be wrong.

Keeping cost low:

  • It runs only for a complete review, and once per distinct review: asking again with roundtable_review reuses the saved result and costs nothing.

  • Reviewers get no tools, no MCP servers (so ClipQA can never launch itself), no project settings and one turn, with a structured answer. Codex runs at low reasoning effort with its built-in tools switched off.

  • Measured on Windows: about 7,000 tokens and 12 seconds for one Codex review. A reviewer whose sign-in fails is skipped for the rest of the session, using 0 tokens.

  • A budget caps the estimated tokens per audit (default 24,000). Reviewers that do not fit are skipped.

Variable

Default

Effect

CLIPQA_ROUNDTABLE

auto

off disables the audit entirely.

CLIPQA_ROUNDTABLE_REVIEWERS

claude,codex

Which local CLIs may review. Missing CLIs are skipped.

CLIPQA_ROUNDTABLE_CLAUDE_MODEL

haiku

Claude model alias for the reviewer.

CLIPQA_ROUNDTABLE_CODEX_MODEL

your Codex default

Codex model, e.g. a small or mini model.

CLIPQA_ROUNDTABLE_MAX_TOKENS

24000

Token budget per audit across reviewers.

CLIPQA_ROUNDTABLE_TIMEOUT_SECONDS

120

Hard time limit per reviewer; the process tree is killed after it.

The audit uses your own CLI sign-ins and subscriptions, so its tokens count toward those plans. capture_status shows which reviewers are available.

Every angle (360° orbit)

ClipQA never moves the camera itself. orbit_plan returns a script for the app to run while ClipQA records: by default 8 azimuths × 5 heights (below, level, 30°, 60°, top-down) at normal distance plus a 2.5× close-up pass (80 views, about 49 seconds). The camera cuts between views and holds each one, so orbit_sheet finds every view from the cuts and returns labelled sheets plus a timestamp per view for zoom_frame.

  • Roblox Studio: run the Luau with Studio MCP execute_luau or the command bar. Target an instance path (workspace.Rig) or selection. The script clears the selection so selection boxes stay out of frame, runs in the background, and restores the camera.

  • Blender: run the Python with the Blender MCP. It orbits the 3D viewport on a timer and restores the view.

  • Generic: a list of views for any engine.

For Roblox, logs: [{"path": "<LOCALAPPDATA>\\Roblox\\logs", "pattern": "CLIPQA_ORBIT"}] on start_recording also turns each view into an event.

Zoom

zoom_frame with showGrid: true returns the frame with a labelled grid (A1, B2, ...). Zoom into a cell ("C2"), a range ("B2:C3"), a center + factor, or a normalized region. The crop is taken from the full-resolution frame, upscaled with Lanczos and sharpened. The response reports the magnification; above 1× the extra detail is interpolated. For real detail, use an orbit close-up pass or record with a larger maxWidth.

Logs and timing

Event timestamps are measured from the first captured frame. Before 0.3.0 they were measured from session creation, which put live events slightly ahead of the video. attach_log or start_recording.logs follows a file, or the newest .log/.txt in a folder, from its current end. Lines starting with an ISO-8601 time use that time; error and warning lines are tagged. For Roblox Studio output use the Roblox\\logs folder under LOCALAPPDATA with pattern FLog::Output|FLog::Error|FLog::Warning.

See between frames

Sampled frames can miss what happens between them. inspect_between shows it three ways:

  • mode: "strip" shows every frame of a range of up to 10 s (or every Nth frame when the range is long) in a numbered grid, with repeated frames and sudden jumps outlined.

  • mode: "onion" layers the moving parts of several frames into one image, blue (earliest) to red (latest). Arcs, pops and sliding feet show up in one picture.

  • mode: "changes" scans every frame of up to 60 s and maps everything that changed at any point, with the peak moment and hotspot regions. A one-frame flash between two samples still shows up.

Perceptual indexing and comparison

inspect_clip analyzes resized RGB frames using local structural similarity and color differences. Local scoring can find a small button flash that scene-cut detection misses. indexFps defaults to 15 and can be raised to 60. Analysis streams frames with bounded candidate storage and caches results. Contact sheets are capped at 24 images; exact-frame requests at 16.

compare_clips aligns the two runs automatically: first by a mark_event label present in both (actions preferred), otherwise by cross-correlating their motion. Low-confidence matches fall back to the clip starts with a warning. Passing beforeStart/afterStart aligns manually. sampling: "changes" (default) samples where either clip changes and around events; "even" spaces samples evenly. analysisWidth raises the comparison canvas up to 1280 px for small details. ignoreRegions uses normalized coordinates (0–1) to exclude expected changes. Reports include paired frames, difference maps, scores and timestamps. The highest-scoring pair is returned as an image in chat. Event labels appear under contact-sheet frames and beside report rows.

{
  "beforeSessionId": "<baseline-session-uuid>",
  "afterSessionId": "<new-session-uuid>",
  "align": "auto",
  "seconds": 10,
  "samples": 30,
  "threshold": 0.08,
  "ignoreRegions": [{"x": 0.9, "y": 0, "width": 0.1, "height": 0.1}]
}

compare_clips also measures both clips the same way and says which qualities improved, regressed or stayed the same: smoothness, hitches, pops, real FPS while moving, frame pacing, ease in/out, jitter while still, sharpness, crushed blacks, blown highlights, flicker, black frames, brightness and average colour. Small changes below each metric's threshold count as unchanged. It compares every aligned frame (not just the samples) on a timeline chart that marks where the runs diverge. It also saves a side-by-side MP4 (before | after on top, amplified difference below) that you can watch. When both clips were reviewed, it lists grade changes per checkpoint. Turn parts off with quality, timeline or sideBySideVideo set to false; region measures only part of the frame.

Reports identify visual differences, which can be intentional; they do not automatically establish a regression.

Privacy and resources

  • Windows/X11 capture targets one window. macOS captures an explicitly selected display, including other visible apps.

  • Recorder processes are hidden and do not control input or focus.

  • Recording excludes audio and webcams. Imported files are copied as supplied and may contain audio from their original recorder.

  • ClipQA opens no network listener and does not upload recordings itself. Images returned over MCP go to your client, which may send them to its AI provider.

  • The roundtable audit sends one review image and a text summary to the local Claude and/or Codex CLIs, which send them to their providers. Set CLIPQA_ROUNDTABLE=off to keep reviews to your main client only.

  • Run npm run leak-check to repeat every heavy tool through the MCP server with forced garbage collection. It fails if the heap keeps growing or anything is left running after shutdown.

  • One recording runs per MCP process. Configure FPS and maxWidth to manage overhead. Automatic encoder selection probes hardware first.

  • Startup waits for actual frames. Wall-clock limits stop stalled capture. Normal shutdown finalizes recordings; concurrent event updates are serialized.

  • Cleanup defaults to a preview and excludes active sessions.

Validation

npm install
npm run check
npm test
npm run benchmark
npm run build

Tests use real FFmpeg video for rolling retention, subtle changes, clean controls, ignore masks and reports. A real MCP client exercises import → annotation → inspection → comparison → progress → cleanup. The opt-in Windows test creates its own animated window without activation and verifies WGC, rolling output and live previews. See test instructions.

The original synthetic timestamp benchmark covers 8/8 defect intervals versus 2/8 with four periodic screenshots, using 144 versus 36 selected frames. That is temporal evidence coverage, not AI diagnosis accuracy, with unequal image budgets. Real-video tests separately verify the new analysis code. See the evaluation protocol for model evaluations.

Remaining constraints

  • Minimized apps may stop rendering; minimized Windows targets are rejected at startup. ClipQA does not restore or focus them. Protected content can remain black. Static/black-frame warnings flag suspicious evidence, not confirmed bugs.

  • WGC needs a suitable OS, driver and FFmpeg build. X11 can include occluding windows and stops when a target is unmapped. Native Wayland and macOS window-only capture are not implemented.

  • Fluidity analysis measures the recording, not the app's renderer. Record at 30–60 FPS; regularly repeated frames mean either a slow renderer or dropped capture frames.

  • Sampling can miss changes between frames or below analysis resolution. Comparisons require aligned runs. Internal failures still need logs and reproducible test steps.

  • Recording, analysis, disk writes and finalization consume resources. Zero slowdown is not guaranteed. Full recordings and saved previews grow until cleanup.

  • Forced termination may leave segments without a finalized MP4. Use orderly shutdown; preserve interrupted sessions if you want to recover their evidence.

  • Releases are published to npm. Installing straight from a GitHub link is not supported: the repository does not ship compiled files, so use the npm package.

The Roblox Studio plugin is deferred; Roblox support comes through the orbit script and log following. Core recording, progress, comparison and event tools work independently of any game engine.

License

MIT. FFmpeg binaries have separate licenses; consult the selected distributor or package's license and source information.

Available Tools

7 tools
get_framesB

Return full-size frames from exact timestamps in a completed recording.

Inputs: sessionId (required), timestamps (required).

inspect_clipB

Create and return a timestamped contact sheet for a completed recording.

Inputs: sessionId (required), samples, endSeconds, startSeconds.

list_sessionsB

List recorded QA sessions and their status.

Inputs: limit.

list_windowsA

List visible Windows application windows that can be recorded. Read-only.

Inputs: no named parameters.

mark_eventC

Add a timestamped action, assertion, error, or note to an active QA recording.

Inputs: label (required), sessionId (required), data, kind.

start_recordingC

Start quiet background recording of one Windows application window. This does not control input or capture audio.

Inputs: fps, hwnd, encoder, drawMouse, +2 more.

stop_recordingC

Stop a recording gracefully and finalize the clip.

Inputs: sessionId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool maps to a distinct stage of the recording workflow—discover, start/stop, annotate, list, inspect frames—so selection is generally clear. The only mild overlap is between inspect_clip and get_frames, which both retrieve visual data from a completed recording, but their descriptions clarify the different output forms.

    Naming Consistency5/5

    All tool names use a consistent snake_case verb_noun pattern (list_windows, start_recording, stop_recording, mark_event, list_sessions, inspect_clip, get_frames). There are no irregular verbs, abbreviations, or mixed casing to confuse an agent.

    Tool Count5/5

    Seven tools is right-sized for this server's purpose: a focused QA clip recording and inspection workflow. Each tool represents a necessary operation with no redundant helpers or bloat.

    Completeness4/5

    The core lifecycle is covered: discover windows, start/stop recording, mark events, list completed sessions, and inspect clips via contact sheets or exact frames. The main gaps are housekeeping and retrieval—there is no delete/cleanup session tool and no way to fetch the raw clip file itself, though these may be outside the server's designed scope.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI agent to operate Windows applications through vision-driven UI Automation and record polished demo videos with pre-click camera zoom, narration, and cinematic effects.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Gives MCP-capable AI tools running on Windows sight of the user's desktop: it captures the window being looked at, any monitor, window or region, and offers OCR, text finding, full-resolution zooming, snips, hotkey marks, visual baseline comparison and waiting for screen changes. Sensitive apps and windows are blacked out before any image reaches the AI client.
      MIT