kie-mcp

v4.0.1
io.github.elibarnett/kie-mcp Checked 10 hours ago Published 6 months ago

MCP for kie.ai: 45+ image, 70+ video, 20+ audio models with model intelligence

Values you need

VariableWhat it is
KIE_API_KEYrequired secret Your kie.ai API key from https://kie.ai/api-key
KIE_PROJECT_ROOToptional 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.1
Add 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

  1. Ask the user for: KIE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: generate_image, list_models, check_task, list_tasks, check_credits, download_result, list_raw_assets, generate_video, ….
  5. 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