Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging levelINFO
KLING_DEFAULT_MODENoDefault generation modestd
KLING_DEFAULT_MODELNoDefault video modelkling-v2-master
KLING_REQUEST_TIMEOUTNoRequest timeout in seconds300
ACEDATACLOUD_API_TOKENYesAPI token from AceDataCloud
ACEDATACLOUD_API_BASE_URLNoAPI base URLhttps://api.acedata.cloud
KLING_DEFAULT_ASPECT_RATIONoDefault aspect ratio16:9

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
kling_list_modelsA

List all available Kling models for video generation.

Shows all available model options with their capabilities and use cases.
Use this to understand which model to choose for your video.

Returns:
    Table of all models with their descriptions and use cases.
kling_list_actionsA

List all available Kling API actions and corresponding tools.

Reference guide for what each action does and which tool to use.
Helpful for understanding the full capabilities of the Kling MCP.

Returns:
    Categorized list of all actions and their corresponding tools.
kling_generate_motionA

Transfer motion from a reference video to a character image.

This tool enables character animation by extracting motion from a video
and applying it to a static character image.

Use this when:
- You want to animate a character image using motion from a video
- You want to create a dance or movement video from a still photo
- You need to transfer specific movements to a character

Returns:
    Task ID and motion generation information.
kling_get_taskA

Query the status and result of a video generation task.

Use this to check if a generation is complete and retrieve the resulting
video URLs and other metadata.

Use this when:
- You want to check if a generation has completed
- You need to retrieve video URLs from a previous generation
- You want to get the full details of a generated video

Task states:
- 'pending': Generation is still in progress
- 'completed': Generation finished successfully
- 'failed': Generation failed (check error message)

Returns:
    Task status and generated video information including URLs and state.
kling_get_tasks_batchA

Query multiple video generation tasks at once.

Efficiently check the status of multiple tasks in a single request.
More efficient than calling kling_get_task multiple times.

Use this when:
- You have multiple pending generations to check
- You want to get status of several videos at once
- You're tracking a batch of generations

Returns:
    Status and video information for all queried tasks.
kling_generate_videoA

Generate AI video from a text prompt using Kling.

This is the simplest way to create video - just describe what you want and Kling
will generate a high-quality AI video.

Use this when:
- You want to create a video from a text description
- You don't have reference images
- You want quick video generation

For using reference images (start/end frames), use kling_generate_video_from_image instead.

Returns:
    Task ID and generated video information including URLs and state.
kling_generate_video_from_imageA

Generate AI video using reference images as start and/or end frames.

This allows you to control the video by specifying what the first frame
and/or last frame should look like. Kling will generate smooth motion between them.

Use this when:
- You have a specific image you want to animate
- You want to create a video transition between two images
- You need precise control over the video's visual content

At least one of start_image_url or end_image_url must be provided.

Returns:
    Task ID and generated video information including URLs and state.
kling_extend_videoA

Extend an existing video with additional content.

This allows you to continue a previously generated video, adding more motion
and content after the original video ends.

Use this when:
- A generated video is too short and you want to add more
- You want to continue the story or motion from a previous video
- You're building a longer video piece by piece

Returns:
    Task ID and the extended video information.

Prompts

Interactive templates invoked by user choice

NameDescription
kling_video_generation_guideGuide for choosing the right Kling tool for video generation.
kling_workflow_examplesCommon workflow examples for Kling video generation.
kling_prompt_suggestionsPrompt writing suggestions for Kling video generation.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/KlingMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server