{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"dev.leclap/video","description":"Compose and render video from one JSON template. Deterministic, runs locally, no generative model.","title":"LeClap","repository":{"url":"https://github.com/heristop/leclap","source":"github","subfolder":"packages/leclap-mcp"},"version":"0.8.0","websiteUrl":"https://leclap.dev","packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@leclap/mcp","version":"0.8.0","runtimeHint":"npx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Directory rendered videos are written to. Defaults to ~/.leclap/renders.","format":"filepath","name":"LECLAP_MCP_OUTPUT_DIR"},{"description":"Allowlisted directory the server may read source media from. Defaults to ~/.leclap/media.","format":"filepath","name":"LECLAP_MCP_MEDIA_DIR"},{"description":"Optional read-only directory a template's global.fonts files may be read from, before the media dir. Fonts are never fetched.","format":"filepath","name":"LECLAP_MCP_FONTS_DIR"},{"description":"Separate queue and worker setup/render deadlines in milliseconds, not an end-to-end budget. Defaults to 600000.","format":"number","name":"LECLAP_MCP_RENDER_TIMEOUT_MS"},{"description":"Enable extract_brand, which fetches a website over HTTPS (public hosts only, size and time caps) to read its brand. Off by default.","format":"boolean","name":"LECLAP_MCP_ALLOW_NETWORK"},{"description":"JSONL log of get_motion_catalog queries that matched nothing, relative to and always under the output dir. Defaults to catalog-gaps.jsonl.","format":"filepath","name":"LECLAP_MCP_CATALOG_GAP_LOG"},{"description":"Trust templates' raw FFmpeg filters instead of the file-free allow-list. For trusted local templates only. Off by default.","format":"boolean","name":"LECLAP_MCP_ALLOW_RAW_FILTERS"}]}],"_meta":{"io.modelcontextprotocol.registry/publisher-provided":{"dev.leclap.video":{"notes":"Fifteen tools are always registered. extract_brand fetches websites and requires the network opt-in (--allow-network). The server ships no effect renderer: a template with an \"effect\" section is refused with effect_backend_unavailable; animate the look with an HTML layer (inputs[].type \"html\" with a motion map) instead.","prompts":["compose-video"],"tools":[{"description":"List packaged showcase samples with creative direction, required inputs, or retrieve one with its template and embedded partials, without downloading media or rendering.","name":"get_samples"},{"description":"Return the authoritative template descriptor JSON Schema plus the authoring guide.","name":"get_template_schema"},{"description":"Return the motion catalog: kinetic presets, camera moves, graphics, designed transitions, easing grammar, motion tokens, themes, delivery platforms and art-direction rules, or ranked matches for a query.","name":"get_motion_catalog"},{"description":"Validate a template without rendering and report the clips and fields compose_video will require; optionally return the resolved descriptor for given fields and the timeline (sections, motion events, beats, cues).","name":"validate_template"},{"description":"Render a template to an MP4 with FFmpeg and return the output path.","name":"compose_video"},{"description":"Render a native template and return still frames as PNG images: chosen moments, cuts, contact sheets, safe zones, comparisons.","name":"render_frames"},{"description":"Inspect a local media file and report stream codecs, duration, audio sample rate and size.","name":"probe_media"},{"description":"Derive a global.theme and a style guide from a reference image or clip: palette roles with WCAG contrast, texture, pacing and motion energy.","name":"extract_style"},{"description":"Read a reference clip's format: shots, transitions, grounds, layout and rhythm as binding rules for a template.","name":"extract_structure"},{"description":"Measure a local music file: tempo, beat grid, confidence and drop/build/end cues for global.beats.","name":"analyze_music"},{"description":"Render a composed or preset sfx sound with the engine synth: length, levels, centroid, attack, advisories, spectrogram and waveform PNGs.","name":"analyze_sound"},{"description":"Transcribe the speech of a local audio/video file with whisper.cpp on this machine: word timings, SRT, language and confidence to pin into subtitles.words.","name":"transcribe_media"},{"description":"Report what the local FFmpeg really renders (drawtext, LUTs, transitions, loudness, encoders), each with a fix.","name":"get_capabilities"},{"description":"Return a link that opens the template in the LeClap web builder; the template travels in the URL fragment, never uploaded.","name":"open_in_builder"},{"description":"Read a website (https only) into a brand kit: name, colours, fonts and logo as a theme and binding rules. Gated — see notes.","name":"extract_brand"},{"description":"Apply a JSON Patch (RFC 6902) to inline template JSON atomically using an expected revision; the result must validate.","name":"edit_template"}]}}}},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-12-03T00:20:58.243034Z","publishedAt":"2026-12-03T00:20:58.243034Z","updatedAt":"2026-12-03T00:20:58.243034Z","isLatest":true}}}
