Skip to content
MCP server

Korpi API

MCP server giving AI clients one key to video, image and text models

Runs locally

Korpi API is a paid MCP server for design and media. It runs locally on your machine and is started by your AI client.

Pricing
Paid
Platforms
API, CLI
Runs
Locally
Access
Needs a secret key or token
Version
0.1.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add korpi-api-mcp --env KORPI_API_KEY='<KORPI_API_KEY>' -- npx -y @korpiai/api-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "korpi-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@korpiai/api-mcp"
      ],
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "korpi-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@korpiai/api-mcp"
      ],
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "korpi-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@korpiai/api-mcp"
      ],
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "korpi-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@korpiai/api-mcp"
      ],
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add korpi-api-mcp --env KORPI_API_KEY='<KORPI_API_KEY>' -- npx -y @korpiai/api-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.korpi-api-mcp]
command = "npx"
args = ["-y", "@korpiai/api-mcp"]
env = { KORPI_API_KEY = "<KORPI_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "korpi-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@korpiai/api-mcp"
      ],
      "env": {
        "KORPI_API_KEY": "<KORPI_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e KORPI_API_KEY='<KORPI_API_KEY>' korpi-api-mcp npx -- -y @korpiai/api-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "korpi-api-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@korpiai/api-mcp"
          ],
          "env": {
            "KORPI_API_KEY": "<KORPI_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KORPI_API_KEYKorpi API key (korpi_api_...), created at https://korpi.ai/developers?section=keysRequired

About Korpi API

Korpi API is an MCP server that connects Claude, Cursor and other MCP clients to a catalogue of video, image and text generation models through a single API key and one prepaid balance. Instead of signing up with each model provider, you list the available models and their prices, then start generation jobs directly from your assistant.

Video generation runs as a job: a request starts a Grok Imagine clip and a separate status call tells you when it is ready. Image generation via Nano Banana returns a URL, and text requests go to a chosen chat model with output capped at 4,096 tokens. Prices are billed per clip, per image or per token, and each request is charged when it starts or holds its maximum cost until it finishes.

It suits developers and creators who already work inside an MCP-capable editor or assistant and want to add generated media or model calls without managing several vendor accounts. The npm package runs locally over stdio and needs only the API key in its environment.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 5 tools read data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

list_modelsName suggests: reads
Model ids, options and prices
generate_video
Starts a Grok Imagine video job
generate_image
Nano Banana image, returns the URL
generate_text
Chat completion on any text model
get_job_statusName suggests: reads
Checks a video job until it is ready

What it does

Unified model access
Video, image and text models from several providers are reachable through one API key and one balance.
Model listing tool
A free list_models call returns model ids, options and current prices before any generation starts.
Video job workflow
Video generation starts a job that can be polled with a separate status check until the clip is ready.
Image generation
Nano Banana produces images from a prompt and returns a link to the result.
Chat completions
A generate_text tool sends chat requests to any supported text model.
Local stdio install
The npm package runs on your machine and reads the key from an environment variable.

Good for

  • Generating short video clips from a text prompt inside Claude or Cursor
  • Comparing model prices before choosing one for a project
  • Producing product or concept images from an assistant chat
  • Routing text requests to different chat models from one key
  • Tracking the status of pending video jobs without leaving the editor

Pricing

Paid

Prepaid API balance billed per clip, image or token; list_models is free.

Prices change. Check korpi.ai before you buy.

Korpi API FAQ

How is usage billed?

All models draw from one prepaid API balance. Video and image requests are charged when they start, and failed generations are refunded automatically.

Is the API balance shared with a Korpi subscription?

No. API funds are separate from subscription and MCP credits.

What is the cost of a video clip?

Prices listed include Grok Imagine at $0.108 per 6-second clip, with Seedance 2.5 at $3.78 and Wan 3.0 at $0.7002 per 6-second clip.

Are there output limits for text models?

Text requests are capped at 4,096 output tokens.

How do I add Korpi API to Claude Code?

Run this command in your terminal: claude mcp add korpi-api-mcp --env KORPI_API_KEY='<KORPI_API_KEY>' -- npx -y @korpiai/api-mcp

What are the best alternatives to Korpi API?

The closest alternatives to Korpi API are Photoproduct.io, apimodels, Corent, ModelsLab and Indian Pixels.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers