kie-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kie-mcp-serverGenerate a 5-second video of a cat jumping using this reference image"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kie-mcp-server
A remote MCP server that gives Claude three things: generate a frame, generate a video clip from that frame, and check on a job that's still rendering. Everything runs through your kie.ai account, so you pay kie.ai prices and use one credit wallet for all the models.
Models wired up
Friendly name | kie.ai model | Use it for |
|
| Default frame generator. Strong character consistency across a set of frames. |
|
| Cheap drafts. |
|
| Prompt adherence and text inside the image (titles, signage, posters). |
|
| Restyle or fix an existing frame. |
|
| Main video model. First+last frame control, reference images, native audio. |
|
| Faster/cheaper previews. |
|
| Longer clips (up to ~30s), 1080p. |
|
| Veo 3.1. Best motion and dialogue, capped at 8s per clip. |
Model IDs live in src/models.ts. If kie.ai renames one, edit that file — nothing else changes. There's also a kie_raw_task tool that takes any model ID and raw input object, so you're never blocked waiting on a code change.
Related MCP server: ViewMax Studio MCP
Tools exposed
list_models— what's available and what each is good atgenerate_image— prompt (+ optional reference images) → image URL, returned inline so Claude can look at itgenerate_video— prompt + optionalfirst_frame_url/last_frame_url/reference_image_urls→ MP4 URLget_task— poll a task ID that was still renderingkie_raw_task— any kie.ai model, raw inputcheck_credits— remaining balance
Setup
cp .env.example .env # put your key in KIE_API_KEY
npm install
npm run build
npm start # http://localhost:3000/mcpGet the API key at https://kie.ai/api-key and load credits at https://kie.ai/billing.
Deploy
The connection to your server comes from Anthropic's cloud, not from your laptop, so it has to be reachable on the public internet over HTTPS. Localhost and anything behind a VPN won't work.
A Dockerfile and a render.yaml are included. Push the repo to GitHub, create a Render web service from it, set KIE_API_KEY and MCP_PATH_SECRET in the dashboard, deploy. Railway, Fly.io, or a Docker host all work the same way — anything that gives you an HTTPS URL.
Set MCP_PATH_SECRET. The server has no login, so the URL is the password. With MCP_PATH_SECRET=8f2c1a9e4b your endpoint becomes https://your-host/mcp/8f2c1a9e4b. Anyone who has that URL can spend your kie.ai credits.
Connect it to Claude
In Claude, go to Customize → Connectors, click +, choose Add custom connector, and paste your full MCP URL including the secret path. Leave the OAuth fields blank. Custom connectors work on Free, Pro, Max, Team and Enterprise, though Free is limited to one, and on Team/Enterprise an Owner adds it first at the org level.
Notes that will save you time
Output URLs expire in about 24 hours. Download anything you want to keep.
Video takes 2–5 minutes. A tool call can't block that long comfortably, so
generate_videowaits up towait_seconds(default 180) and then hands back a task ID. Claude callsget_taskto collect it.Rate limit is roughly 20 new tasks per 10 seconds. Rejected creates don't queue; the server surfaces a clear message on 429.
Frames must be reachable by URL. Feed a
generate_imageoutput URL straight intofirst_frame_url. If you want to use your own local image, upload it somewhere public first (kie.ai has a file upload API if you'd rather keep it on their host).This server generates clips, it doesn't edit them. Stitching shots together, adding music, and cutting to length is a separate step — ffmpeg locally, or a second MCP server if you want Claude driving that too.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- lightgenOAuthapp.lightgen
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Create images and videos from prompts, with options for image mixing, reference images, and start/…
- MorphedOAuthapp.morphed
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables generation of AI videos and images using RunComfy APIs. Supports multiple models for text-to-video, image-to-video, text-to-image, and image-to-image workflows with customizable parameters like aspect ratio, duration, and seed.-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to generate AI videos using ViewMax Studio's video generation tools, including prompt and script creation, smart model selection, cost preview, and task status tracking.1-
- AlicenseAqualityBmaintenanceEnables AI agents to generate images and videos using 30+ models (Seedream, Sora, Veo, etc.) via the Gwanggo API. Provides tools for model listing, image/video generation, task checking, and credit balance.5MIT
- FlicenseAqualityCmaintenanceEnables image generation using KIE.ai models like google/nano-banana and GPT Image 2. Supports asynchronous single or parallel image generation and file uploading for image inputs.5-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/klaw2001/kie-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server