kie-mcp
v4.0.1MCP for kie.ai: 45+ image, 70+ video, 20+ audio models with model intelligence
Values you need
| Variable | What it is | |
|---|---|---|
KIE_API_KEY | required secret | Your kie.ai API key from https://kie.ai/api-key |
KIE_PROJECT_ROOT | optional | Directory where generated files are saved (under kie/assets/raw/). Defaults to cwd. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add kie-mcp -e 'KIE_API_KEY=<KIE_API_KEY>' -- npx -y kie-mcp@4.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"kie-mcp": {
"args": [
"-y",
"kie-mcp@4.0.1"
],
"command": "npx",
"env": {
"KIE_API_KEY": "<KIE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kie-mcp": {
"args": [
"-y",
"kie-mcp@4.0.1"
],
"command": "npx",
"env": {
"KIE_API_KEY": "<KIE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KIE_API_KEY",
"id": "kie-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"kie-mcp": {
"args": [
"-y",
"kie-mcp@4.0.1"
],
"command": "npx",
"env": {
"KIE_API_KEY": "${input:kie-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kie-mcp]
command = "npx"
args = ["-y", "kie-mcp@4.0.1"]
env = { "KIE_API_KEY" = "<KIE_API_KEY>" }For AI agents
- Ask the user for: KIE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: generate_image, list_models, check_task, list_tasks, check_credits, download_result, list_raw_assets, generate_video, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json