Skip to content
MCP server

Kling

Kling AI video generation MCP server for Model Context Protocol hosts

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.6.0
Listing updated
5 days ago

About Kling

Kling is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server-kling --env KLING_ACCESS_KEY='<KLING_ACCESS_KEY>' --env KLING_SECRET_KEY='<KLING_SECRET_KEY>' -- npx -y @mindstone/mcp-server-kling

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-kling": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "<KLING_ACCESS_KEY>",
        "KLING_SECRET_KEY": "<KLING_SECRET_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-kling": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "<KLING_ACCESS_KEY>",
        "KLING_SECRET_KEY": "<KLING_SECRET_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-kling": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "<KLING_ACCESS_KEY>",
        "KLING_SECRET_KEY": "<KLING_SECRET_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp-server-kling": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "<KLING_ACCESS_KEY>",
        "KLING_SECRET_KEY": "<KLING_SECRET_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server-kling": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-kling"
      ],
      "env": {
        "KLING_ACCESS_KEY": "<KLING_ACCESS_KEY>",
        "KLING_SECRET_KEY": "<KLING_SECRET_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KLING_ACCESS_KEYKling API access keyRequired
  • KLING_SECRET_KEYKling API secret keyRequired
  • KLING_REQUEST_TIMEOUT_MSOutbound HTTP request timeout in milliseconds (max 1800000)
  • MCP_WORKSPACE_PATHWorkspace directory that local media inputs and downloads are constrained to. Defaults to the system temp directory when unset.
  • KLING_DOWNLOAD_ROOTSandbox root for download_kling_video outputs. Must resolve inside MCP_WORKSPACE_PATH. Defaults to <workspace>/kling-downloads.

Pricing

Open source

Kling FAQ

Is Kling free?

Yes. Kling is open source, so you can use and self-host it for free.

How do I add Kling to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-kling --env KLING_ACCESS_KEY='<KLING_ACCESS_KEY>' --env KLING_SECRET_KEY='<KLING_SECRET_KEY>' -- npx -y @mindstone/mcp-server-kling

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers