frame-grab-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FFMPEG_PATH | No | Path to the ffmpeg binary. Binaries are found via FFMPEG_PATH / FFPROBE_PATH, then PATH, then common folders like /opt/homebrew/bin. | |
| FFPROBE_PATH | No | Path to the ffprobe binary. Binaries are found via FFMPEG_PATH / FFPROBE_PATH, then PATH, then common folders like /opt/homebrew/bin. | |
| FRAME_GRAB_FONT | No | Path to a font file (e.g. /path/to/font.ttf) used for timestamp labels on sheets. Defaults to a system font (Arial/Helvetica on macOS, DejaVu on Linux, Arial on Windows). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools that let you see inside local video files. grab_frame and sample_frames return frames as images you can look at; contact_sheet returns one grid image of the whole clip (cheapest way to 'watch' a video); detect_scenes finds cuts; make_thumbnail picks the sharpest, best-exposed frame (or a given time) and exports it at a platform's thumbnail size; extract_frames saves stills to a folder; make_preview makes a GIF/MP4/WebP loop. Timestamps accept seconds, MM:SS, HH:MM:SS.mmm or a percentage like 50%.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_setupA | Confirm ffmpeg/ffprobe are installed, that scene and blur detection filters exist, and which font is used for timestamp labels. |
| grab_frameA | Return the frame at a timestamp as an image you can look at (e.g. 'what's on screen at 1:23?', 'is the logo legible here?'). Optionally also save it at full resolution as JPG, PNG or WebP. |
| sample_framesA | Return several frames as separate images — evenly spaced across the clip (or a range), or at the exact times you list. Use it to review pacing, check continuity, read on-screen text, or describe what happens in a video. For a single overview image, contact_sheet is cheaper. |
| contact_sheetB | One grid image of evenly spaced frames with timestamp labels and a title bar — the quickest way to see a whole video at a glance (review an edit, log b-roll, find a moment, describe a clip). Optionally saved as a JPG. |
| detect_scenesA | Find hard cuts and big visual changes, and list every scene with start, end and length — for logging an edit, counting cuts (pacing), pulling a shot list from a reference video, or splitting a montage. Optionally returns a contact sheet of the first frame of each scene and writes CSV. |
| make_thumbnailA | Export a thumbnail sized for a platform (YouTube 1280x720, Reels/TikTok/Shorts cover 1080x1920, Instagram grid 3:4, feed 4:5, square, X, LinkedIn). Give |
| extract_framesA | Save stills to a folder: every N seconds, N evenly spaced frames, one per detected scene, or at exact timestamps. Files are named with their timecode. Good for b-roll stills, storyboards, social carousels or feeding frames to other tools. |
| make_previewA | Turn a section of a video into a looping preview: an optimized GIF (custom palette, small file), a silent MP4 loop, or animated WebP. For X/Slack/Notion/GitHub READMEs, client previews, or reaction clips. Returns the first frame so you can confirm the section. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a distinct output form: a single returned frame (grab_frame), several returned frames (sample_frames), files on disk (extract_frames), one grid image (contact_sheet), scene list (detect_scenes), platform thumbnail (make_thumbnail), and looping preview (make_preview). The boundaries between grab_frame, sample_frames, extract_frames, and contact_sheet are all frame-oriented and could be momentarily confused, but the descriptions explicitly differentiate their outputs and costs.
Almost all names follow a snake_case verb_noun pattern (grab_frame, sample_frames, extract_frames, detect_scenes, make_thumbnail, make_preview, check_setup). The only deviation is contact_sheet, which is a bare noun with no verb, but it remains readable and unambiguous.
Eight tools is well-scoped for a video frame extraction/inspection server. Each tool covers a genuinely different workflow (setup check, single frame, sampling, bulk export, overview grid, scene detection, thumbnail, preview) with no filler.
The lifecycle from environment check through inspection, extraction, scene analysis, and social/preview export is well covered. The notable gap is a video metadata/probe tool (duration, resolution, fps) — check_setup confirms ffprobe exists but nothing exposes clip info, which agents would want before choosing timestamps.