LeClap
MCP server by heristop Verified · leclap.dev
Composes and renders video from editable JSON templates through MCP or the leclap CLI. Rendering runs locally with FFmpeg, so the same inputs, configuration and runtime give reproducible output. It is built for AI agents that make product demos, branded social clips and review videos.
Install LeClap
Built from the published package, never by AI.
claude mcp add leclap -- npx -y @leclap/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"leclap": {
"args": [
"-y",
"@leclap/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"leclap": {
"args": [
"-y",
"@leclap/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"leclap": {
"args": [
"-y",
"@leclap/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add leclap -- npx -y @leclap/mcp{
"mcpServers": {
"leclap": {
"args": [
"-y",
"@leclap/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add leclap npx -y @leclap/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the leclap block.
About
LeClap is a video engine for AI agents. It turns an editable JSON template into a video using footage, typography, motion and music that the user supplies. An agent can read the template schema, validate a template, preview frames and render the result through MCP or the CLI. Rendering happens locally with FFmpeg, and reproducible renders require the same inputs, configuration and runtime.
The engine is also published as a Node package, and the same core runs in browsers through WebAssembly and in React Native apps. Users can keep the JSON and open it in the visual builder. LeClap is aimed at product demos, branded social clips and before and after review videos made from existing assets. The code is MIT licensed, and the LeClap name and logo are trademarks.
Written from the project's README and checked against it.
Tools it gives your assistant
Read the schemaGives the assistant the template schema to write templates against.Validate a templateChecks a JSON template before it is rendered.Preview and inspect framesLets the assistant preview a template and inspect rendered frames.Render a templateRenders a JSON template to video locally with FFmpeg.Patch scenesLets the assistant revise only the scenes that need work.
What you need
- Node.js 24.11 or later
- FFmpeg, optional, since the CLI includes ffmpeg-static
| Setting | Needed | What it is |
|---|---|---|
LECLAP_Environment variable | Optional | Directory rendered videos are written to. Defaults to ~/.leclap/renders. |
LECLAP_Environment variable | Optional | Allowlisted directory the server may read source media from. Defaults to ~/.leclap/media. |
LECLAP_Environment variable | Optional | Optional read-only directory a template's global.fonts files may be read from, before the media dir. Fonts are never fetched. |
LECLAP_Environment variable | Optional | Separate queue and worker setup/render deadlines in milliseconds, not an end-to-end budget. Defaults to 600000. |
LECLAP_Environment variable | Optional | Enable extract_brand, which fetches a website over HTTPS (public hosts only, size and time caps) to read its brand. Off by default. |
LECLAP_Environment variable | Optional | JSONL log of get_motion_catalog queries that matched nothing, relative to and always under the output dir. Defaults to catalog-gaps.jsonl. |
LECLAP_Environment variable | Optional | Trust templates' raw FFmpeg filters instead of the file-free allow-list. For trusted local templates only. Off by default. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Make a 10 second branded product demo from my footage and logo
- Validate this template.json and tell me what is wrong with it
- Render the template and show me a frame from the middle
Good to know
- Reproducible renders need the same inputs, configuration and runtime.
- Output pixels differ between platforms because each uses different encoders.
- Title text needs an FFmpeg build that includes drawtext.
- The rest of the monorepo, including the web builder and Expo app, is private.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to LeClap
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
LeClap: common questions
Does LeClap use a generative AI model to make videos?
The declared description says it runs locally with no generative model. It composes existing assets from a JSON template, and the agent supplies the creative decisions.
Where does the rendering happen?
Rendering runs locally on your computer with FFmpeg through the CLI or MCP server. The same core can also run in browsers and native apps.
Can I edit the video after the agent creates it?
Yes. The output is an editable JSON template that can be revised, validated and rendered again, and it can be opened in the visual builder.
How do I install LeClap?
In Claude Code run claude mcp add leclap -- npx -y @leclap/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is LeClap the official server?
LeClap is published by leclap.dev from its verified domain in the official MCP Registry.
Is LeClap free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is LeClap safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to LeClap?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does LeClap work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
