MCP Server Studio

LeClap MCP server

Compose and render video from one JSON template. Deterministic, runs locally, no generative model.

Registry name: dev.leclap/video

Publisher
leclap.dev
Runs
Runs locally
Package
npm
Version
0.3.4
Category
Design & media
Updated
2026-08-24

Source code on GitHub

Set up LeClap (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "video": {
      "command": "npx",
      "args": [
        "-y",
        "@leclap/mcp@0.3.4"
      ],
      "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>"
      }
    }
  }
}

Claude Code

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/mcp@0.3.4

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "video": {
      "command": "npx",
      "args": [
        "-y",
        "@leclap/mcp@0.3.4"
      ],
      "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>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "video": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@leclap/mcp@0.3.4"
      ],
      "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>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "video": {
      "command": "npx",
      "args": [
        "-y",
        "@leclap/mcp@0.3.4"
      ],
      "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>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
LECLAP_MCP_OUTPUT_DIRNoDirectory rendered videos are written to. Defaults to ~/.leclap/renders.
LECLAP_MCP_MEDIA_DIRNoAllowlisted directory the server may read source media from. Defaults to ~/.leclap/media.
LECLAP_MCP_RENDER_TIMEOUT_MSNoPer-render timeout in milliseconds. Defaults to 600000.
LECLAP_MCP_ALLOW_REMOTIONNoOpt in to the Remotion clip renderer, which executes local JavaScript. Off by default.
LECLAP_MCP_REMOTION_ENTRYNoPath to a Remotion entry point used by render_remotion_clip when it is enabled.

More design & media MCP servers