MCP directory
SM

Screencast MCP

by github.com/TMHSDigital · v0.54.0 · updated Nov 18, 2026

Let AI agents record the Windows screen, watch it as frames, and edit it with ffmpeg

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @tmhs/[email protected]

Environment variables

  • SCREENCAST_HOME

    Where recordings, frames, screenshots, and edits are written (default <homedir>/.screencast-mcp)

  • SCREENCAST_ALLOWED_DIRS

    Semicolon-separated folders tools may read from and write to besides SCREENCAST_HOME; when set (or when the client sends roots), files elsewhere are refused. Also allows overwriting files in these folders

  • FFMPEG_PATH

    Path to ffmpeg if it is not on PATH (ffmpeg and ffprobe are required)

  • FFPROBE_PATH

    Path to ffprobe if it is not on PATH

  • SCREENCAST_WHISPER_MODEL

    whisper.cpp model file (ggml-*.bin) used by transcribe when a call passes no model

  • SCREENCAST_MAX_RECORDING_SEC

    Default recording cap in seconds when a call sets no maxDurationSec (default 3600; 0 disables it)

  • SCREENCAST_JOB_TIMEOUT_MS

    Override the edit job timeout in milliseconds (default scales with the media length)

  • SCREENCAST_RETENTION_DAYS

    At startup, delete screenshots, frames, leftover raw event logs, and index_recording indexes older than this many days (never recordings or edits; off by default)

  • SCREENCAST_PS_TIMEOUT_MS

    Limit in milliseconds for the PowerShell helpers that list monitors and windows and run OCR (default 20000; OCR 60000)

  • SCREENCAST_CONFIRM_CAPTURE

    Confirm each live capture through MCP elicitation: auto (default) asks when the client supports it, 1/always also refuses captures in clients that cannot ask, 0/off never asks

  • SCREENCAST_TOOLSETS

    Comma-separated toolsets to load: capture, watch, edit, produce, audio (doctor and get_media_info are always on; default all)

  • SCREENCAST_DEBUG_JOBS

    1 traces each edit job on stderr (start, a heartbeat every 30 s, and the end) to diagnose a stuck edit; default off

More from github.com/TMHSDigital

More MCP servers