Skip to content
VS Code

LeClap for VS Code

dev.leclap/video

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

client:VS Code transport:stdio runtime:npm

Install LeClap in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "leclap-mcp-output-dir",
      "description": "LECLAP_MCP_OUTPUT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "leclap-mcp-media-dir",
      "description": "LECLAP_MCP_MEDIA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "leclap-mcp-render-timeout-ms",
      "description": "LECLAP_MCP_RENDER_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "leclap-mcp-allow-remotion",
      "description": "LECLAP_MCP_ALLOW_REMOTION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "leclap-mcp-remotion-entry",
      "description": "LECLAP_MCP_REMOTION_ENTRY",
      "password": true
    }
  ],
  "servers": {
    "video": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@leclap/mcp"
      ],
      "env": {
        "LECLAP_MCP_OUTPUT_DIR": "${input:leclap-mcp-output-dir}",
        "LECLAP_MCP_MEDIA_DIR": "${input:leclap-mcp-media-dir}",
        "LECLAP_MCP_RENDER_TIMEOUT_MS": "${input:leclap-mcp-render-timeout-ms}",
        "LECLAP_MCP_ALLOW_REMOTION": "${input:leclap-mcp-allow-remotion}",
        "LECLAP_MCP_REMOTION_ENTRY": "${input:leclap-mcp-remotion-entry}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

LeClap in other clients