About Kling
Kling is an MCP server published by 199-mcp in the AI category: 🎬 The FIRST MCP server for Kling AI video generation! Generate stunning AI videos directly from Claude. Conduid read 12 tools from its source: apply_video_effect, check_image_status, check_video_status, create_lipsync, extend_video, generate_image and 6 more. It is published to npm as mcp-kling and starts with npx.
The repository has 49 stars and 21 forks, is licensed MIT, and its last commit was on 14 Jun 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include kling, image-to-video and ai-video.
Install
claude mcp add kling -- npx -y mcp-kling@latestnpx -y mcp-kling@latestgit clone https://github.com/199-mcp/mcp-klingTools (12)
apply_video_effectApply pre-defined animation effects to static images using Kling AI. Create emotionally expressive videos from portraits with effects like hugging, kissing, or playful animations. Dual-character effects (hug, kiss, heart_gesture) require exactly 2 images. Single-image effects (squish, expansion, fuzzyfuzzy, bloombloom, dizzydizzy) require 1 image. Perfect for social media content and creative storytelling.| Parameter | Type | Description |
|---|---|---|
| duration | string | Video duration in seconds (default: 5) |
| effect_scene * | string | The animation effect to apply. Dual-character: hug, kiss, heart_gesture. Single-image: squish, expansion, fuzzyfuzzy, bloombloom, dizzydizzy |
| image_urls * | array | Array of image URLs. Use 2 images for hug/kiss/heart_gesture effects, 1 image for squish/expansion/fuzzyfuzzy/bloombloom/dizzydizzy effects |
| model_name | string | Model version to use (default: kling-v2-master) |
check_image_statusCheck the status of an image generation task| Parameter | Type | Description |
|---|---|---|
| task_id * | string | The task ID returned from generate_image |
check_video_statusCheck the status of a video generation task| Parameter | Type | Description |
|---|---|---|
| task_id * | string | The task ID returned from generate_video or generate_image_to_video |
create_lipsyncCreate a lip-sync video by synchronizing mouth movements with audio. Supports both text-to-speech (TTS) with various voice options or custom audio upload. The original video must contain a clear, steady human face with visible mouth. Works with real, 3D, or 2D human characters (not animals). Video length limited to 10 seconds.| Parameter | Type | Description |
|---|---|---|
| audio_url | string | URL of custom audio file (mp3, wav, flac, ogg; max 20MB, 60s). If provided, TTS parameters are ignored |
| model_name | string | Model version to use (default: kling-v2-master) |
| tts_speed | number | Speech speed for TTS (0.5-2.0, default: 1.0) |
| tts_text | string | Text for text-to-speech synthesis (used only if audio_url is not provided) |
| tts_voice | string | Voice style for TTS (default: male-warm). Includes Chinese and English voice options |
| video_url * | string | URL of the video to apply lip-sync to (must contain clear human face) |
extend_videoExtend a video by 4-5 seconds using Kling AI. This feature allows you to continue a video beyond its original ending, generating new content that seamlessly follows from the last frame. Perfect for creating longer sequences or adding additional scenes to existing videos.| Parameter | Type | Description |
|---|---|---|
| duration | string | Extension duration (fixed at 5 seconds) |
| mode | string | Video generation mode (default: standard) |
| model_name | string | Model version to use for extension (default: kling-v2-master) |
| prompt * | string | Text prompt describing how to extend the video (what should happen next) |
| task_id * | string | The task ID of the original video to extend (from a previous generation) |
generate_imageGenerate images from text prompts using Kling AI. Create high-quality images with multiple aspect ratios and optional character reference support. Supports models v1, v1.5, and v2 with customizable parameters for creative control.| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Image aspect ratio (default: 1:1) |
| model_name | string | Model version to use (default: kling-v2-master) |
| negative_prompt | string | Text describing what to avoid in the image (optional) |
| num_images | number | Number of images to generate (default: 1) |
| prompt * | string | Text prompt describing the image to generate |
| ref_image_url | string | Optional reference image URL for character consistency |
| ref_image_weight | number | Weight of reference image influence (0-1, default: 0.5) |
generate_image_to_videoGenerate a video from an image using Kling AI| Parameter | Type | Description |
|---|---|---|
| cfg_scale | number | Creative freedom scale 0-1 (default: 0.5) |
| duration | string | Video duration in seconds (default: 5) |
| image_tail_url | string | URL of the ending image (optional) |
| image_url * | string | URL of the starting image |
| mode | string | Video generation mode (default: standard) |
| model_name | string | Model version to use (default: kling-v2-master) |
| negative_prompt | string | Text describing what to avoid in the video (optional) |
| prompt * | string | Text prompt describing the motion and transformation |
generate_videoGenerate a video from text prompt using Kling AI| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Video aspect ratio (default: 16:9) |
| camera_control | object | Camera movement settings for V2 models |
| cfg_scale | number | Creative freedom scale 0-1 (0=more creative, 1=more adherent to prompt, default: 0.5) |
| duration | string | Video duration in seconds (default: 5) |
| mode | string | Video generation mode (default: standard) |
| model_name | string | Model version to use (default: kling-v2-master) |
| negative_prompt | string | Text describing what to avoid in the video (optional, max 2500 characters) |
| prompt * | string | Text prompt describing the video to generate (max 2500 characters) |
get_account_balanceCheck your Kling AI account balance and total available credits. Provides a comprehensive overview of your account status including total balance and breakdown by resource packages.get_resource_packagesGet detailed information about your Kling AI resource packages including remaining credits, expiration dates, and package types. Useful for monitoring API usage and planning resource allocation.list_tasksList all your Kling AI generation tasks with filtering options. View task history, check statuses, and filter by date range or status. Supports pagination for browsing through large task lists.| Parameter | Type | Description |
|---|---|---|
| end_time | string | Filter tasks created before this time (ISO 8601 format) |
| page | number | Page number for pagination (default: 1) |
| page_size | number | Number of tasks per page (default: 10, max: 100) |
| start_time | string | Filter tasks created after this time (ISO 8601 format) |
| status | string | Filter tasks by status |
virtual_try_onApply virtual clothing try-on to a person image using AI. Upload a person image and up to 5 clothing items to see how they would look wearing those clothes. Supports both single and multiple clothing combinations for complete outfit visualization.| Parameter | Type | Description |
|---|---|---|
| cloth_image_urls * | array | Array of clothing image URLs (1-5 items). Multiple items will be combined into a complete outfit |
| model_name | string | Model version to use (default: kolors-virtual-try-on-v1.5) |
| person_image_url * | string | URL of the person image to try clothes on |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 6 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:3
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 10 callssrc/file-uploader.ts:62, src/file-uploader.ts:68, src/kling-client.ts:125
- Writes or deletes files
- 1 callsrc/kling-client.ts:313
- Lockfile
- package-lock.json
Pattern matches on the source text of 6 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README