runapi-mcp

v0.18.0
io.github.runapi-builder/runapi-mcp Checked 3 days ago Published 4 days ago

130+ AI models for image, video, music, and audio — 18 model families, one RunAPI account.

Values you need

VariableWhat it is
RUNAPI_API_KEYoptional secret Optional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add runapi-mcp -- npx -y --package=@runapi.ai/mcp@0.18.0 runapi-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "runapi-mcp": {
      "args": [
        "-y",
        "--package=@runapi.ai/mcp@0.18.0",
        "runapi-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "runapi-mcp": {
      "args": [
        "-y",
        "--package=@runapi.ai/mcp@0.18.0",
        "runapi-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "runapi-mcp": {
      "args": [
        "-y",
        "--package=@runapi.ai/mcp@0.18.0",
        "runapi-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.runapi-mcp]
command = "npx"
args = ["-y", "--package=@runapi.ai/mcp@0.18.0", "runapi-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http runapi-mcp https://mcp.runapi.ai/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "runapi-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.runapi.ai/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "runapi-mcp": {
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "runapi-mcp": {
      "type": "http",
      "url": "https://mcp.runapi.ai/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.runapi-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.runapi.ai/mcp"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_models, get_model_info, list_actions, check_pricing, search_prompts, check_balance, create_task, get_task, ….
  4. 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