kie-mcp-server
Click on "Deploy 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: topview-mcp-server
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
- lightgenOAuthapp.lightgen
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Generate and edit images, create videos, quote credit costs, and retrieve private results.
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.
Related MCP Servers
- 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.2-
- FlicenseNot gradedqualityBmaintenanceEnables Claude to generate videos and images via TopView.ai's API, including text-to-video, image-to-video, text-to-image, and image editing.-
- AlicenseNot gradedqualityCmaintenanceEnables Claude to generate stylized 2D animated vertical shorts by wrapping the xAI Imagine API. Provides tools for creating stills, approving them, animating to video, and checking job status via natural language.ISC
- AlicenseNot gradedqualityBmaintenanceEnables users to generate and edit images and videos through their own KIE account, with live model/parameter/price comparison, immutable request approval, and safe local saving of results. Budget reservations, spending limits, and guarded upload/download roots keep paid submissions controlled and never automatically retried.MIT