Korpi API

v0.1.0
io.github.Reksely/korpi-api-mcp Checked 4 days ago Published 1 month ago

MCP server for the Korpi API: every top AI video, image and text model behind one key and one bill.

Values you need

VariableWhat it is
KORPI_API_KEYrequired secret Korpi API key (korpi_api_...), created at https://korpi.ai/developers?section=keys

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add korpi-api-mcp -e 'KORPI_API_KEY=<KORPI_API_KEY>' -- npx -y --package=@korpiai/api-mcp@0.1.0 korpi-api-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "korpi-api-mcp": {
      "args": [
        "-y",
        "--package=@korpiai/api-mcp@0.1.0",
        "korpi-api-mcp"
      ],
      "command": "npx",
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "korpi-api-mcp": {
      "args": [
        "-y",
        "--package=@korpiai/api-mcp@0.1.0",
        "korpi-api-mcp"
      ],
      "command": "npx",
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "KORPI_API_KEY",
      "id": "korpi-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "korpi-api-mcp": {
      "args": [
        "-y",
        "--package=@korpiai/api-mcp@0.1.0",
        "korpi-api-mcp"
      ],
      "command": "npx",
      "env": {
        "KORPI_API_KEY": "${input:korpi-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.korpi-api-mcp]
command = "npx"
args = ["-y", "--package=@korpiai/api-mcp@0.1.0", "korpi-api-mcp"]
env = { "KORPI_API_KEY" = "<KORPI_API_KEY>" }

For AI agents

  1. Ask the user for: KORPI_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: list_models, generate_video, generate_image, generate_text, get_job_status.
  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