Skip to main content
Glama
demoreel-mcp
by rkapdi

demoreel-mcp

npm licence: MIT macOS

An MCP server that lets an AI agent record, annotate and polish product demo videos on macOS by driving CleanShot X.

An agent recording, zooming, blurring and captioning a product demo

That clip was made by demoreel itself, from one record_demo call and one polish_video call. The settings are in docs/demo.record.json and docs/demo.polish.json; the full-quality video is docs/demo.mp4.

One tool call can arrange the app window, start a CleanShot recording, move the pointer and type like a person, stop, and hand back a finished video with smooth zooms on every click, captions, a framed gradient background and title cards.

A raw CleanShot recording next to the same take after demoreel

Unofficial. Not affiliated with or endorsed by CleanShot X or MakeTheWeb. You need your own CleanShot X licence.

Why demoreel, and how it compares

CleanShot X has an official URL-scheme API, and an earlier open-source MCP, jdorfman/cleanshot-mcp, wraps it. That is a fine way to trigger a screenshot. It cannot produce a demo video, because the API itself has three gaps. demoreel closes each one.

Gap in the official API

How demoreel closes it

It can open the recorder but not press Record or Stop.

A small Swift helper presses CleanShot's own buttons through the macOS Accessibility API, answers its follow-up prompts, closes its editor window and returns the file.

Recorder options (mic, system audio, camera, click highlight, keystrokes) are not exposed.

The same helper reads each toggle's state in the recorder panel and flips only the ones that differ, and can pick a camera or microphone by name. Other preferences can be read and written with a backup taken first.

Annotation is a GUI — nothing can be drawn by command.

A declarative renderer: describe arrows, boxes, callouts, numbered steps, spotlights and blurs in JSON and get pixels back. The same marks work on video with start and end times.

Side by side

Compared with the other CleanShot MCP server, judged from its published README and tool list (TOOLS.md, API.md) on 2026-11-25:

cleanshot-mcp

demoreel-mcp

Take a screenshot (area, window, fullscreen)

Yes — opens the mode

Yes — captures and returns the saved file

Scrolling capture

Opens the mode; you scroll and finish it

Scrolls to the end, finishes, returns one stitched image

Start a screen recording

Opens the recorder

Opens it, sets the toggles, presses Record

Stop a recording and get the file

No tool for it

Yes, with the file path and video properties back

GIF and Studio Mode recording

No

Yes; Studio projects are exported to MP4

Mic / camera / click-highlight / keystroke toggles

No

Yes, including choosing the device

Draw annotations

Opens CleanShot's Annotate window for a person

Renders arrows, callouts, steps, spotlight, blur and pixelate from JSON

Annotate video

No

Yes, with timing

Drive the app being demoed (pointer, typing, scrolling)

No

Yes, with eased pointer motion

Auto-zoom on clicks, captions, framed background, intro/outro, trim, speed, GIF

No

Yes

Arrange the app window so every take looks the same

No

Yes

Keeps CleanShot's own overlay and system prompts out of captures

No

Yes

Change CleanShot's settings

Opens the settings window

Reads, writes (with backup) and restores them

Coordinates

CleanShot's bottom-left origin

Top-left, like window bounds, converted for you

One call for a whole recorded, edited demo

No

record_demo

Install

npx cleanshot-mcp

npx -y demoreel-mcp

Everything cleanshot-mcp exposes is also reachable here through cleanshot_command, which validates parameters against the official API.

What the other server does better: it is simpler, with fewer moving parts (no Swift helper, no ffmpeg). If you only want an assistant to open CleanShot's capture modes and you will click the rest yourself, it is the lighter choice.

What a general computer-control MCP does not give you: a generic "click and type on the Mac" tool can press CleanShot's buttons, but it does not know the recorder's layout, its audio prompts, its overlay windows or its editor, and it cannot edit the video afterwards. demoreel encodes all of that and tests it against a real CleanShot.

The result is a different kind of tool: not "trigger a screenshot", but "give an agent a script and get a finished demo back".

Related MCP server: screencast

Requirements

  • macOS 13+ and CleanShot X 4.7+ (developed against 5.0.4), running

  • CleanShot → Settings → Advanced → API → Allow applications to control CleanShot

  • Accessibility permission for the app that launches the server (Claude, your terminal, Cursor…): System Settings → Privacy & Security → Accessibility

  • Node.js 18+, ffmpeg (brew install ffmpeg), Xcode Command Line Tools (xcode-select --install) — the helper is compiled on first use

Install

No clone needed. Claude Code:

claude mcp add demoreel -- npx -y demoreel-mcp

Claude Desktop, Cursor or any MCP client:

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

Then ask the agent to run the doctor tool. It reports anything missing.

To work on it instead, clone the repo (git clone https://github.com/rkapdi/demoreel-mcp.git && cd demoreel-mcp && npm install) and point your client at node /absolute/path/to/demoreel-mcp/src/index.js.

Tools

Tool

What it does

doctor

Checks CleanShot (installed, running, answering), permissions, ffmpeg, displays, and any macOS prompt waiting on screen.

record_demo

Whole take in one call: arrange window → record → scripted steps → stop → optional polish. Returns the file and a click timeline. Works with video, GIF and Studio Mode.

record_start / record_stop / record_status / record_cancel

Manual control of a CleanShot recording. Video, GIF, or Studio Mode (exported to MP4 through CleanShot's own editor, project kept alongside).

perform_actions

Eased pointer glides, clicks, drags, smooth scrolling, typing, shortcuts, waits.

polish_video

Zooms, timed annotations, captions, framed background, intro/outro, trim, speed, MP4/GIF.

annotate_image

Arrow, line, rect, ellipse, highlight, text, callout, step, spotlight, blur, pixelate; crop; framed background. Can open the result in CleanShot's Annotate or pin it.

screenshot

CleanShot capture of an area, window or display. scrolling: true scrolls the content to the end and returns one tall stitched image.

clear_overlays

Dismiss CleanShot's Quick Access Overlay items and tip bubbles.

video_frames

Stills at given times, so the agent can look before placing marks.

list_windows / arrange_window

Find and frame the app being demoed.

cleanshot_settings

Read, change (with backup) and restore CleanShot preferences.

cleanshot_command

Any official cleanshot:// command, validated.

Recorder options: microphone and camera take true, false or part of a device name; cameraSize (small/medium/large/huge); cameraShape (circle/square/rectangle/vertical); systemAudio, highlightClicks, keystrokes.

Coordinates

  • Screen tools use points, origin at the top-left of the main display (the same space as window bounds). The server converts to CleanShot's bottom-left origin for you.

  • In record_demo, step coordinates are relative to the capture area.

  • annotate_image and polish_video use pixels of the image / source video. Times are seconds in the source video.

Example: a full take

This is the take behind the clip at the top. It has two calls: record, then polish. docs/demo.record.json and docs/demo.polish.json hold the exact files, and examples/acme-demo.html is the page being demoed (cd examples && python3 -m http.server 8765, then open http://127.0.0.1:8765/acme-demo.html).

record_demo — step coordinates are relative to the capture area:

{
  "area": { "x": 160, "y": 150, "width": 1280, "height": 790 },
  "options": { "highlightClicks": true, "systemAudio": false, "camera": false },
  "hideDesktopIcons": true,
  "steps": [
    { "do": "click", "x": 427, "y": 270, "ms": 900, "pause": 500 },
    { "do": "type", "text": "Spring launch", "ms": 85, "pause": 900 },
    { "do": "click", "x": 427, "y": 467, "ms": 900, "pause": 1800 }
  ],
  "output": "out/raw.mp4"
}

It returns the video and a timeline of clicks, in video seconds and pixels, so the agent knows when each thing happened.

polish_video — times are seconds in the raw video, coordinates are pixels in it:

{
  "input": "out/raw.mp4",
  "trim": { "start": 0.8, "end": 12.4 },
  "zooms": [{ "start": 6.3, "end": 8.9, "x": 427, "y": 467, "scale": 1.7 }],
  "annotations": [
    { "type": "pixelate", "x": 872, "y": 407, "width": 208, "height": 34, "start": 0.8, "end": 12.4 },
    { "type": "callout", "x": 430, "y": 612, "text": "One click to go live", "target": [560, 502], "background": "blue", "start": 5.6, "end": 8.6 }
  ],
  "captions": [{ "text": "2  Publish in one click", "start": 6.2, "end": 8.9 }],
  "background": { "gradient": "sunrise", "padding": 56 },
  "output": "out/demo.mp4"
}

Prefer not to place zooms by hand? Pass "autoZoom": true inside record_demo's polish and a smooth zoom is added on every click.

Example: annotate a screenshot

A screenshot annotated with numbered steps, callouts, a spotlight and a blurred secret

The image above came from this call (docs/annotate.spec.json), with no GUI involved:

{
  "input": "page.png",
  "annotations": [
    { "type": "pixelate", "x": 872, "y": 407, "width": 208, "height": 34, "block": 9 },
    { "type": "spotlight", "x": 186, "y": 110, "width": 484, "height": 396, "dim": 0.5 },
    { "type": "step", "x": 184, "y": 270 },
    { "type": "callout", "x": 710, "y": 238, "text": "Name the project", "target": [654, 270], "background": "blue" }
  ],
  "background": { "gradient": "ocean", "padding": 48 }
}

Gradient presets: sunrise ocean violet mint peach midnight sky ember slate forest, or pass your own list of colours.

How it works

  • helper/axhelper.swift — ~250 lines. Reads an app's accessibility tree as JSON, presses elements, moves/resizes windows, and posts mouse and keyboard events with easing. Compiled to ~/.demoreel/bin/axhelper on first use.

  • src/cleanshot.js — official URL commands, recorder control, file pickup, settings.

  • src/annotate.js — marks → SVG → pixels via sharp.

  • src/video.js — builds one ffmpeg filter graph from the spec.

  • src/actions.js — scripted input and the click timeline.

No private CleanShot APIs, no code injection, no patching: the server only opens documented URLs and presses buttons a person could press.

What is kept out of your captures

  • CleanShot's Quick Access Overlay. Every overlay item and tip bubble is dismissed before each capture and again afterwards, so thumbnails of earlier captures never appear in a screenshot or recording. Dismissed captures stay in CleanShot's Capture History. Pass keepOverlay: true to leave them alone.

  • CleanShot's editor and trimmer windows. They are closed after each recording.

  • macOS permission prompts. A capture is refused if a system prompt covers the area (it would be burned into the video); doctor reports any prompt that is waiting.

Limits and notes

  • UI-driven parts can break when CleanShot changes its recorder panel. Verified on 5.0.4. doctor and explicit error messages are the safety net; please open an issue with your version if something stops matching.

  • Camera needs CleanShot's own camera permission. The first time, macOS asks "Allow CleanShot X to access your camera?" — only you can answer that. Until you do, the recording has no camera bubble.

  • Microphone and camera are chosen from a device menu; the server clicks the menu item with the real pointer (selecting it through accessibility makes CleanShot 5.0.4 quit). It prefers the Mac's built-in device over an iPhone.

  • With the camera on and no microphone, CleanShot asks about audio; the server answers "Don't Record Audio". With microphone and system audio, it asks about merging tracks; the server answers "Don't Merge". record_demo turns the microphone off unless you ask for it.

  • Files passed to CleanShot (open-annotate, pin, …) are first copied to ~/.demoreel/handoff/, because CleanShot freezes behind a permission prompt when asked to read from Desktop, Documents or Downloads.

  • Recordings are copied to ~/Movies/demoreel/ (or your output), because CleanShot deletes its temporary copy when its overlay item is dismissed.

  • Scrolling capture follows the target's scrollbar to know when to finish. If the app exposes no scrollbar to accessibility, it scrolls for scrollSeconds (default 10) instead.

  • Studio Mode export uses the editor's default settings (original resolution). Zooms added by polish_video are rendered by ffmpeg, not by CleanShot's editor.

  • Text width for labels is estimated, so very long labels may need a size tweak.

  • cleanshot_settings only writes six keys that were verified by toggling the matching control and diffing; anything else needs allowUnverified: true.

  • The server moves your real pointer and types into the frontmost app while a script runs. Don't touch the Mac during a take.

Performance, and why this is not written in Rust, Go or assembly

Measured on an M-series MacBook Pro:

Step

Time

Reading CleanShot's interface (one helper call)

~30 ms

Sending a cleanshot:// command

~75 ms

Server start + handshake + one tool call

~230 ms

Polishing a 10 s 1200×800 take (zooms, captions, frame, cards)

~5 s, all inside ffmpeg

The take itself

as long as the demo runs

The server's own code accounts for well under 1% of a take. The time goes to CleanShot's animations, waiting for the demo to play, and ffmpeg encoding, which is already hand-optimised native code. The one part that must be native — talking to the Accessibility API and posting input events — is a compiled Swift binary. Rewriting the orchestration layer in another language would not make a take measurably faster and would cost the ecosystem pieces (MCP SDK, sharp) that keep it small.

Development

npm test                       # unit tests (no CleanShot needed)
node test/client.mjs           # list tools
node test/client.mjs doctor    # call a tool: node test/client.mjs <tool> '<json>'

Licence

MIT

Available Tools

16 tools
annotate_imageA

Annotate a screenshot from a JSON list of marks — no GUI: arrows, boxes, ellipses, highlights, text labels, callouts (label + arrow), numbered steps, spotlight (dim everything else), blur and pixelate; optional crop and framed gradient background. Coordinates are image pixels (top-left origin). Set openInCleanShot to open the result in CleanShot’s Annotate window for hand-tweaks.

Inputs: input (required), pin, crop, output, +4 more.

arrange_windowB

Move and resize an app window (and bring it to the front) so every take is framed identically.

Inputs: x (required), y (required), width (required), height (required), +2 more.

cleanshot_commandA

Send any official CleanShot X URL-scheme command. Commands: all-in-one, capture-area, capture-previous-area, capture-fullscreen, capture-window, self-timer, scrolling-capture, pin, record-screen, capture-text, open-annotate, open-from-clipboard, toggle-desktop-icons, hide-desktop-icons, show-desktop-icons, add-quick-access-overlay, open-history, restore-recently-closed, open-settings. Coordinates here are CleanShot-native (origin bottom-left of the chosen display); prefer screenshot/record_start, which take top-left coordinates.

Inputs: command (required), params.

cleanshot_settingsA

Read or change CleanShot X preferences. action "get" lists scalar settings; "set" writes values (a backup is taken first; verified keys: showKeystrokes, highlightClicks, recordComputerAudio, doNotDisturbWhileRecording, captureWithoutDesktopIcons, screenshotSound); "restore" re-imports a backup (the earliest one by default).

Inputs: action (required), file, values, allowUnverified.

clear_overlaysA

Dismiss every CleanShot Quick Access Overlay item and tip bubble currently on screen. Captures stay in CleanShot’s Capture History.

Inputs: no named parameters.

doctorA

Check that everything needed is in place: CleanShot X installed and running, its API reachable, Accessibility permission, ffmpeg. Run this first.

Inputs: no named parameters.

list_windowsA

List on-screen app windows with their bounds (top-left origin, points) and the displays. Use it to pick a capture target.

Inputs: no named parameters.

perform_actionsB

Drive the Mac like a person would, for the camera: eased pointer glides, clicks, drags, smooth scrolling, typed text, shortcuts, waits. Coordinates are screen points (top-left origin), or relative to origin if given. Returns a timeline of clicks.

Inputs: steps (required), origin.

polish_videoA

Post-produce a recording from a JSON spec: smooth zooms, timed annotations (same marks as annotate_image), captions, framed gradient background, intro/outro title cards, trim, speed, MP4 or GIF output. All times are seconds in the source video; all coordinates are source pixels.

Inputs: input (required), crf, fps, trim, +13 more.

record_cancelA

Discard the recording in progress, or close the recorder panel if recording has not started.

Inputs: no named parameters.

record_demoA

One call for a whole take: (optionally) arrange the window and hide desktop icons, start recording, perform the scripted steps, stop, and (optionally) polish. Step coordinates are RELATIVE TO THE CAPTURE AREA’s top-left, in points. Returns the raw file, a click timeline in video seconds/pixels, and the polished file when polish is given. polish.autoZoom adds a smooth zoom on every click.

Inputs: steps (required), area, mode, tail, +11 more.

record_startA

Start a CleanShot X screen recording of an area, window or display. Sets the recorder toggles, presses Record, and returns once recording is live. Tip: leave microphone off for silent demos — it avoids CleanShot’s audio-merge prompt.

Inputs: area, mode, window, display, +3 more.

record_statusA

Report whether CleanShot is idle, waiting with the recorder panel open, or recording (with elapsed time).

Inputs: no named parameters.

record_stopA

Stop the current recording, answer CleanShot’s follow-up prompts, close its editor window, and return the video file with its properties. Studio Mode recordings are exported to MP4 through CleanShot’s editor (cursor smoothing included) and the project is kept alongside.

Inputs: output, keepOverlay, exportStudio, keepEditorOpen.

screenshotA

Take a screenshot with CleanShot X and return the saved file. Target an area, an app window, or a whole display. scrolling: true does an auto-scrolling capture of the area.

Inputs: area, cursor, output, window, +6 more.

video_framesC

Extract still frames from a video at given times so you can look at them (e.g. to find coordinates for annotations or check the result).

Inputs: input (required), times (required), outputDir.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 16 tools

    Disambiguation3/5

    The record_* lifecycle and the post-production tools (polish_video, video_frames, annotate_image) are clearly distinct, but cleanshot_command is a catch-all gateway that overlaps with screenshot, record_start, list_windows and cleanshot_settings, and record_demo composites the same workflow as arrange_window + record_start + perform_actions + record_stop + polish_video. The descriptions do flag preferred alternatives ('prefer screenshot/record_start'), which keeps it workable, but an agent still has real choices to make between low-level and bundled paths.

    Naming Consistency4/5

    All names are snake_case and most follow a verb_noun form (arrange_window, record_start, polish_video, annotate_image), with a coherent record_* family for the recording lifecycle. Minor deviations are noun-only tools (doctor, screenshot, video_frames, cleanshot_command, cleanshot_settings), which are still predictable and readable.

    Tool Count4/5

    At 16 tools the surface is slightly above the ideal range but each entry maps to a real stage of the demo-reel pipeline: environment check, window framing, capture, recording lifecycle, animation, post-production, annotation, and settings. The only redundancy is the composite record_demo alongside the granular tools it wraps.

    Completeness4/5

    The domain (scripted screen-demo production with CleanShot X) is covered end to end: diagnostics, window/overlay management, screenshots, recording start/stop/status/cancel, synthetic input, video polishing, frame extraction and annotation. Minor gaps include no dedicated tool for listing or retrieving items from CleanShot's capture history or cleaning up produced files, forcing agents through cleanshot_command or the GUI.

    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
      B
      quality
      F
      maintenance
      Enables an agent to drive and record macOS apps with real clicks, typing and taps, then analyze the footage and edit it live in the screen recorder's editor with cuts, speed-ups, zooms, narration, captions and music, and export sized variants. Supports seven editing recipes, brand kits, privacy blurring, undo-safe checkpoints, and use from Claude Code or Codex.
      46
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to record product demos, changelog GIFs, help-center guides, and bug repros by driving a signed-in browser or Mac window, then rendering branded MP4 and GIF outputs with delivery checks.
      2
      MIT