@mindstone-engineering/mcp-server-kling
v0.3.0
Published
Kling AI video generation MCP server for Model Context Protocol hosts
Readme
@mindstone-engineering/mcp-server-kling
Kling AI video generation MCP server for Model Context Protocol hosts. Generate AI videos from text descriptions or images, and manage video generation tasks through a standardised MCP interface.
Requirements
- Node.js 20+
- npm
Quick Start
Install & build
cd <path-to-repo>/connectors/kling
npm install
npm run buildnpx (once published)
npx -y @mindstone-engineering/mcp-server-klingLocal
node dist/index.jsConfiguration
Environment variables
KLING_ACCESS_KEY— Kling API access keyKLING_SECRET_KEY— Kling API secret keyMCP_HOST_BRIDGE_STATE— optional path to a host bridge state file used for credential managementMINDSTONE_REBEL_BRIDGE_STATE— backwards-compatible alias forMCP_HOST_BRIDGE_STATEKLING_REQUEST_TIMEOUT_MS— optional override (positive integer ms, max 30 min) for the outbound HTTP request timeout applied to both Kling API and host-bridge calls. Default:60000(60s). Raise this if you seeTIMEOUTerrors on slow submits; lower it if you want tighter bounds.
Host configuration examples
Claude Desktop / Cursor
{
"mcpServers": {
"Kling": {
"command": "npx",
"args": ["-y", "@mindstone-engineering/mcp-server-kling"],
"env": {
"KLING_ACCESS_KEY": "your-access-key",
"KLING_SECRET_KEY": "your-secret-key"
}
}
}
}Local development (no npm publish needed)
{
"mcpServers": {
"Kling": {
"command": "node",
"args": ["<path-to-repo>/connectors/kling/dist/index.js"],
"env": {
"KLING_ACCESS_KEY": "your-access-key",
"KLING_SECRET_KEY": "your-secret-key"
}
}
}
}Tools (4)
Configuration
configure_kling_api_keys— Save Kling API credentials
Video generation
generate_kling_video— Create an AI-generated video from a text descriptiongenerate_kling_image_to_video— Animate a still image into a video
Task management
check_kling_task— Check if a video generation task is complete
Licence
FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
