Skip to content
VS Code

Kling for VS Code

io.github.mindstone/mcp-server-kling

Kling AI video generation MCP server for Model Context Protocol hosts

client:VS Code transport:stdio runtime:npm

Install Kling in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "kling-access-key",
      "description": "KLING_ACCESS_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kling-secret-key",
      "description": "KLING_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kling-request-timeout-ms",
      "description": "KLING_REQUEST_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-workspace-path",
      "description": "MCP_WORKSPACE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kling-download-root",
      "description": "KLING_DOWNLOAD_ROOT",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-kling": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "${input:kling-access-key}",
        "KLING_SECRET_KEY": "${input:kling-secret-key}",
        "KLING_REQUEST_TIMEOUT_MS": "${input:kling-request-timeout-ms}",
        "MCP_WORKSPACE_PATH": "${input:mcp-workspace-path}",
        "KLING_DOWNLOAD_ROOT": "${input:kling-download-root}"
      }
    }
  }
}

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

Kling in other clients