Kling AI Video

v1.0.0APIsstable

An integration that enables Claude to generate AI videos from text prompts or images using Kling AI's video generation models.

ai-videoanthropicclaudeimage-to-videokling
Share:
27
Stars
0
Downloads
0
Weekly
0/5

What is Kling AI Video?

Kling AI Video is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to integration that enables claude to generate ai videos from text prompts or images using kling ai's video generation models.

An integration that enables Claude to generate AI videos from text prompts or images using Kling AI's video generation models.

This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An integration that enables Claude to generate AI videos fro

Use Cases

Generate AI videos
Image to video
Text-to-video creation
199-mcp

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-kling

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Kling AI Video

MCP Kling integrates Kling AI's video and image generation models into Claude and other MCP-compatible clients, exposing 13 tools for text-to-video, image-to-video, video extension, lip sync, visual effects, image generation, and AI virtual try-on. It uses Kling AI's official API with JWT authentication and supports Kling v1.0, v1.5, and v1.6 models. Creative professionals and developers can generate, extend, and transform video content directly from their AI client without switching to a separate web interface.

Prerequisites

  • Node.js 18+ and npx installed
  • A Kling AI account at klingai.com with API access enabled
  • KLING_ACCESS_KEY and KLING_SECRET_KEY from the Kling AI developer console
  • Sufficient Kling AI credits for generation tasks
  • Claude Desktop or another MCP-compatible client
1

Obtain Kling AI API credentials

Log in to klingai.com, navigate to the developer or API section, and generate an access key and secret key pair.

2

Add MCP Kling to Claude Desktop configuration

Edit claude_desktop_config.json to register the mcp-kling server with your API credentials as environment variables.

{
  "mcpServers": {
    "kling": {
      "command": "npx",
      "args": ["-y", "mcp-kling@latest"],
      "env": {
        "KLING_ACCESS_KEY": "your-access-key",
        "KLING_SECRET_KEY": "your-secret-key"
      }
    }
  }
}
3

Restart Claude Desktop

Save the config and restart Claude Desktop. The Kling tools (generate_video, generate_image, check_video_status, etc.) should now appear.

4

Check your account balance

Before generating videos, verify you have sufficient credits using the get_account_balance tool.

5

Generate your first video

Ask Claude to generate a video from a text prompt. Kling will queue the generation and the check_video_status tool will monitor progress.

6

Extend or add effects to the video

Use extend_video to add 4-5 more seconds with a new prompt, or apply_video_effect for speed changes, reverse, or loop effects.

Kling AI Video Examples

Client configuration

Claude Desktop configuration for MCP Kling using the latest published npm package and Kling API credentials.

{
  "mcpServers": {
    "kling": {
      "command": "npx",
      "args": ["-y", "mcp-kling@latest"],
      "env": {
        "KLING_ACCESS_KEY": "your-kling-access-key",
        "KLING_SECRET_KEY": "your-kling-secret-key"
      }
    }
  }
}

Prompts to try

Example prompts covering the 13 available Kling AI tools for video, image, and try-on generation.

- "Generate a video of a futuristic robot dancing in a neon-lit disco using Kling v1.6"
- "Extend that robot video by 5 seconds with the robot doing a backflip"
- "Convert this product image to a 5-second video showing it rotating 360 degrees"
- "Make the CEO say 'Welcome to our product launch' with synced lip movements"
- "Generate 4 images of a cyberpunk cat with neon glasses in different artistic styles"
- "Apply a slow-motion effect to my video clip"
- "Check my account balance and show available resource packages"

Troubleshooting Kling AI Video

Authentication fails with 401 or JWT errors

Verify KLING_ACCESS_KEY and KLING_SECRET_KEY are copied exactly from the Kling AI developer console with no extra spaces. The server generates JWT tokens from these credentials — if either key is wrong, all requests will fail.

Video generation task is stuck in pending status

Check your account balance with get_account_balance — insufficient credits will cause tasks to queue indefinitely. If credits are available, use list_tasks to find the task ID and check_video_status explicitly to get the latest status.

npx mcp-kling@latest fails to install

Ensure Node.js 18+ is installed ('node --version'). If npm registry access is slow, try installing globally first with 'npm install -g mcp-kling' and then change the command in your config from 'npx' to the installed binary path.

Frequently Asked Questions about Kling AI Video

What is Kling AI Video?

Kling AI Video is a Model Context Protocol (MCP) server that integration that enables claude to generate ai videos from text prompts or images using kling ai's video generation models. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Kling AI Video?

Follow the installation instructions on the Kling AI Video GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Kling AI Video?

Kling AI Video works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Kling AI Video free to use?

Yes, Kling AI Video is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-kling": { "command": "npx", "args": ["-y", "mcp-kling"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Kling AI Video?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides