snapcn

v0.1.5
dev.snapcn/mcp Checked 4 days ago Published 1 month ago

Search hand-tuned Remotion components, read their props, and plan a video from a one-line brief.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

snapcn_search_components Search snapcn components

Find snapcn Remotion components for a scene by describing the beat in plain English. Returns ranked candidates with natural length, vibe and use/avoid notes. Use this instead of writing animation code.

ParameterTypeDescription
query *stringWhat the shot must DO, not a component name. e.g. 'swap one pricing number for another', 'show our CLI install command', 'burned-in captions over a talking head'. Pass an empty string with a category…
categorystring
limitinteger
max_framesintegerDrop candidates longer than this frame budget (30fps).
tierstringWhich half of the catalogue. Pro components install with the user's key and are the premium scenes; free ones install with no key at all.
vibestring

snapcn_component Get a snapcn component

Everything needed to use one snapcn component: install command, full prop table with defaults and ranges, a working example, when not to use it, and its frame budget.

ParameterTypeDescription
name *stringRegistry name, e.g. 'text-reveal'. Accepts a legacy name and tells you the replacement.

snapcn_plan_video Plan a video

Turn a one-line video brief into a beat-by-beat plan: archetype, duration, one registry component per beat with frame budgets, a single install command, and a ready TransitionSeries skeleton.

ParameterTypeDescription
brief *stringOne line: what the video is for, the product, and the surface to show. e.g. 'launch video for Acme, an AI CLI that fixes flaky tests'.
accent_colorstringOne hex accent, e.g. '#F2D200'. One accent only.
allow_placeholdersbooleanESCAPE HATCH. Only when the user is genuinely unreachable: emits the skeleton with honest English placeholders ("<the problem your users have today>") and a REPLACE list, instead of questions. Never l…
archetypestringForce a recipe. Omit to let the brief pick.
contentobjectThe user's REAL copy. Without the required fields this tool returns questions and no skeleton — a skeleton pre-filled with component defaults is how a video ends up saying "Scene A". Infer what you…
duration_secondsintegerTarget length; selects the short/standard variant. Default: the archetype's own.
modestringFrame background. "dark" sets mode="dark" on every component in the skeleton.
vibestringHow it should FEEL. Not decoration: several beats offer more than one component for the same job, and this is what chooses between them — premium opens on a swell and closes on the logo, tech opens…

snapcn_preview Preview a frame

Render a frame of the video you just wrote and LOOK at it. Shells the user's own Remotion CLI (`remotion still`) and returns the frame as an image. Call it after writing a composition and after every fix: a snapcn scene missing mode="dark" on a dark frame renders BLACK, and that is invisible from the code. Requires the user's Remotion project — snapcn does not bootstrap it.

ParameterTypeDescription
composition *stringThe <Composition id="..."> to render, exactly as registered in the Root file. Required: with no id the Remotion CLI opens an interactive picker and this call would hang.
entrystringRemotion entry point, e.g. 'src/index.ts'. Omit unless the render says it cannot find one: the CLI already resolves remotion.config.ts, src/index.ts(x), remotion/index.ts(x) and src/remotion/index.ts(…
framesarrayFrames to render, one image back per frame (max 4). Default [30] — 1s in, after the entrance. Pick the frame where each beat has LANDED; at frame 0 most snapcn components have not started and you wi…
project_dirstringRoot of the user's Remotion project — the folder with package.json and node_modules. Default: the directory this server was started in.
scalenumberRender scale. 0.5 of a 1280×720 composition is enough to judge layout, colour and a black frame. Raise to 1 only when you need to read small type.
timeout_secondsintegerBudget for the WHOLE call, all frames. The first render of a session also builds a webpack bundle and may download Chromium; later ones take seconds.

snapcn_analyze_recording Analyze a screen recording

MEASURE a screen recording so content.recording is filled from data, not guessed. Returns crop, beatFrames and focus already in snapcn_plan_video's shape, plus one frame per beat cropped and fitted exactly as the composition will show it. Call it BEFORE snapcn_plan_video whenever the user has a recording: these are the three fields the contract says not to guess, and omitting them is not neutral — the default beat walk (0/139/278) only reaches 9.3s into a take of any length, so a 37s demo ships with its payoff never on screen.

ParameterTypeDescription
file *stringPath to the recording (.mp4/.mov/.webm/.m4v). Absolute, or relative to project_dir. Paste the name exactly as the filesystem has it — macOS writes a NARROW NO-BREAK SPACE (U+202F) before "PM" in a s…
at_secondsarrayVERIFY MODE. Skip the analysis and just return these moments of the take, cropped exactly as the composition will show them. Use it after moving a beat: pass the new opening times and look, instead of…
beat_framesintegerFrames one screen beat runs. 139 is what screen-recording ships at and what the screen-demo recipe bills. It is load-bearing here: a beat opening later than duration - beat_frames/fps runs past the en…
beatsintegerScreen beats to propose, one source frame each. 3 for product-demo's screen-demo (reveal / the moment / interaction), 2 for cli-tool-demo. Drop to 1 if you only want the reveal.
composition_aspectnumberwidth/height of the composition the shot lands in (1280x720 = 1.7778). Everything x/y is normalized to. A source of a different aspect is centre-cropped to this before crop applies, and points outside…
fpsintegerThe COMPOSITION's fps, not the file's. trimBefore is a Sequence offset, so beatFrames are composition frames. At 30fps a 120fps source's own 1754 frames are not numbers you can pass.
project_dirstringRoot of the user's Remotion project — the folder with package.json and node_modules. Its @remotion/cli is where ffmpeg and ffprobe come from; there is nothing else to install. Default: the directory…

snapcn_rules snapcn motion rules

The snapcn motion, design and anti-slop rules. Read before writing any scene chrome of your own — backdrops, cards, lower-thirds, easing.

ParameterTypeDescription
topicstring