Kling 5.0 MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Kling 5.0 MCP Server (Kling 5 API, works today with Kling 4.0) for Claude, Cursor and any MCP client
Status notice: Kling 5.0 is an unconfirmed watchlist item. Kuaishou has not announced a Kling 5.0 model, and Muapi has no Kling 5.0 endpoint. This repository does not claim any Kling 5 specs, pricing or availability. What it does today is expose the live Kling 4.0 video endpoints on Muapi as MCP tools, with the model slug prefix configurable so it can be pointed at a newer model if and when Muapi publishes one. Watch muapi.ai/kling-5 for status.
An MCP server that lets Claude Desktop, Cursor, and any MCP-compatible client generate Kling video through one Muapi API key. Get a key at muapi.ai/access-keys. Live model page: muapi.ai/kling-4.
Related Projects
Kling-5-API: Python client and examples for the same endpoints (Kling 5.0 watchlist).
Kling-4.0-Flash-API: Python SDK and examples for Kling 4.0 and Kling 4.0 Flash.
kling-5-comfyui and n8n-nodes-kling-5: sibling ComfyUI nodes and n8n nodes.
Open-Generative-AI: open-source studio and model hub for generative image and video.
Related MCP server: PixVerse MCP
Tools
Tool | What it does | Default Muapi endpoint |
| Text prompt to video |
|
| Animate a first frame; optional |
|
| Guide a video with reference images/videos |
|
| Check or wait for a request ( |
|
Parameters (current Kling 4.0 contract): aspect_ratio (16:9, 9:16, 1:1, 21:9; reference-to-video also accepts auto; not used by keyframe-to-video), resolution (720p, 1080p, 4k), dynamic_range (sdr, hdr), duration (3 to 30 seconds). Reference-to-video needs at least one images_list (max 10) or videos_list (max 5) entry and accepts keep_original_sound.
Generation tools return immediately with a request_id; call kling_get_result until status is completed.
Install
git clone https://github.com/Anil-matcha/kling-5-mcp.git
cd kling-5-mcp
pip install -r requirements.txt
export MUAPI_API_KEY=your_keyClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"kling": {
"command": "python",
"args": ["/absolute/path/to/kling-5-mcp/mcp_stdio.py"],
"env": { "MUAPI_API_KEY": "your_key" }
}
}
}Cursor
Add to ~/.cursor/mcp.json (or the project's .cursor/mcp.json):
{
"mcpServers": {
"kling": {
"command": "python",
"args": ["/absolute/path/to/kling-5-mcp/mcp_stdio.py"],
"env": { "MUAPI_API_KEY": "your_key" }
}
}
}HTTP bridge / Docker
python mcp_server.py starts a small FastAPI bridge on port 8000 (/mcp/tools, /mcp/tools/{name}/call, /mcp/predictions/{id}). A Dockerfile and smithery.yaml are included.
Configuration
Variable | Default | Purpose |
| none (required) | Your Muapi key |
|
| Slug prefix; endpoints become |
|
| API base |
|
| Polling seconds when waiting |
About Kling 5.0: if Muapi later publishes a Kling 5.0 model, setting KLING_MODEL=kling-5.0 is the expected way to use it. That slug naming is an unverified assumption, not a confirmed endpoint, and a Kling 5 model may take different parameters than the Kling 4.0 schema enforced here. Until Muapi lists it, leave the default.
Raw API equivalent
curl -X POST https://api.muapi.ai/api/v1/kling-4.0-text-to-video \
-H "x-api-key: $MUAPI_API_KEY" -H "Content-Type: application/json" \
-d '{"prompt":"A cinematic tracking shot at dusk","aspect_ratio":"16:9","resolution":"720p","duration":5}'
curl https://api.muapi.ai/api/v1/predictions/<request_id>/result -H "x-api-key: $MUAPI_API_KEY"Tests
pip install -r requirements.txt
python -m unittest discover -s tests -t . -vLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate images and video from Claude with one API key.
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Generate images, video and audio in Claude, Codex and any MCP-ready AI agent.
MCP server for Kling AI video generation
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to Vidu's video generation models for creating high-quality videos from text, images, and reference content. It enables users to generate creative video content directly within MCP-compatible applications like Claude and Cursor.55MIT

PixVerse MCPofficial
AlicenseNot gradedqualityDmaintenanceEnables video generation from text, images, and more through MCP-compatible apps like Claude and Cursor.55MIT- AlicenseAqualityBmaintenanceEnables any MCP client such as Claude, Cursor, Cline or Gemini CLI to generate Seedance 2.5, Seedance 2.0, MiniMax H3 and Veo 3.1 videos and still images from text or a reference image using your own account. It also exposes run-status polling and remaining-credit checks, with configurable duration, resolution, aspect ratio and audio.498 npmMIT

aicut MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables generating AI videos, images, audio, and staged story episodes directly from Claude, ChatGPT, Cursor, Grok, or any MCP client, with 61 tools covering model catalogs, generation jobs, and media transforms such as upscaling, lipsync, motion control, and video editing. Hosted over Streamable HTTP with OAuth sign-in, so no API key or local installation is required.MIT