MCP Server Studio
Compose and render video from one JSON template. Deterministic, runs locally, no generative model.
Registry name: dev.leclap/video
Add to claude_desktop_config.json:
{
"mcpServers": {
"video": {
"command": "npx",
"args": [
"-y",
"@leclap/[email protected]"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "<LECLAP_MCP_OUTPUT_DIR>",
"LECLAP_MCP_MEDIA_DIR": "<LECLAP_MCP_MEDIA_DIR>",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "<LECLAP_MCP_RENDER_TIMEOUT_MS>",
"LECLAP_MCP_ALLOW_REMOTION": "<LECLAP_MCP_ALLOW_REMOTION>",
"LECLAP_MCP_REMOTION_ENTRY": "<LECLAP_MCP_REMOTION_ENTRY>"
}
}
}
}Run in your terminal:
claude mcp add video -e LECLAP_MCP_OUTPUT_DIR='<LECLAP_MCP_OUTPUT_DIR>' -e LECLAP_MCP_MEDIA_DIR='<LECLAP_MCP_MEDIA_DIR>' -e LECLAP_MCP_RENDER_TIMEOUT_MS='<LECLAP_MCP_RENDER_TIMEOUT_MS>' -e LECLAP_MCP_ALLOW_REMOTION='<LECLAP_MCP_ALLOW_REMOTION>' -e LECLAP_MCP_REMOTION_ENTRY='<LECLAP_MCP_REMOTION_ENTRY>' -- npx -y @leclap/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"video": {
"command": "npx",
"args": [
"-y",
"@leclap/[email protected]"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "<LECLAP_MCP_OUTPUT_DIR>",
"LECLAP_MCP_MEDIA_DIR": "<LECLAP_MCP_MEDIA_DIR>",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "<LECLAP_MCP_RENDER_TIMEOUT_MS>",
"LECLAP_MCP_ALLOW_REMOTION": "<LECLAP_MCP_ALLOW_REMOTION>",
"LECLAP_MCP_REMOTION_ENTRY": "<LECLAP_MCP_REMOTION_ENTRY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"video": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leclap/[email protected]"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "<LECLAP_MCP_OUTPUT_DIR>",
"LECLAP_MCP_MEDIA_DIR": "<LECLAP_MCP_MEDIA_DIR>",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "<LECLAP_MCP_RENDER_TIMEOUT_MS>",
"LECLAP_MCP_ALLOW_REMOTION": "<LECLAP_MCP_ALLOW_REMOTION>",
"LECLAP_MCP_REMOTION_ENTRY": "<LECLAP_MCP_REMOTION_ENTRY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"video": {
"command": "npx",
"args": [
"-y",
"@leclap/[email protected]"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "<LECLAP_MCP_OUTPUT_DIR>",
"LECLAP_MCP_MEDIA_DIR": "<LECLAP_MCP_MEDIA_DIR>",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "<LECLAP_MCP_RENDER_TIMEOUT_MS>",
"LECLAP_MCP_ALLOW_REMOTION": "<LECLAP_MCP_ALLOW_REMOTION>",
"LECLAP_MCP_REMOTION_ENTRY": "<LECLAP_MCP_REMOTION_ENTRY>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
LECLAP_MCP_OUTPUT_DIR | No | Directory rendered videos are written to. Defaults to ~/.leclap/renders. |
LECLAP_MCP_MEDIA_DIR | No | Allowlisted directory the server may read source media from. Defaults to ~/.leclap/media. |
LECLAP_MCP_RENDER_TIMEOUT_MS | No | Per-render timeout in milliseconds. Defaults to 600000. |
LECLAP_MCP_ALLOW_REMOTION | No | Opt in to the Remotion clip renderer, which executes local JavaScript. Off by default. |
LECLAP_MCP_REMOTION_ENTRY | No | Path to a Remotion entry point used by render_remotion_clip when it is enabled. |