{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.stimQQ/apimodels-mcp",
  "slug": "apimodels-mcp",
  "title": "apimodels",
  "summary": "Chat, image, video, speech, music and media models with one account — local (npx) or hosted.",
  "version": "0.11.0",
  "serverKey": "apimodels-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/apimodels-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/apimodels-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T14:47:24.987368393Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apimodels-mcp@0.11.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add apimodels-mcp -e 'APIMODELS_API_KEY=<APIMODELS_API_KEY>' -- npx -y apimodels-mcp@0.11.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"apimodels-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"apimodels-mcp@0.11.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIMODELS_API_KEY\": \"<APIMODELS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"apimodels-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"apimodels-mcp@0.11.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIMODELS_API_KEY\": \"<APIMODELS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"APIMODELS_API_KEY\",\n      \"id\": \"apimodels-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"apimodels-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"apimodels-mcp@0.11.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIMODELS_API_KEY\": \"${input:apimodels-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.apimodels-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"apimodels-mcp@0.11.0\"]\nenv = { \"APIMODELS_API_KEY\" = \"<APIMODELS_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://api.apimodels.app/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http apimodels-mcp https://api.apimodels.app/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"apimodels-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://api.apimodels.app/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"apimodels-mcp\": {\n      \"url\": \"https://api.apimodels.app/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"apimodels-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://api.apimodels.app/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.apimodels-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://api.apimodels.app/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "APIMODELS_API_KEY",
      "required": true,
      "secret": true,
      "description": "Your sk_… API key from https://apimodels.app/console/api-keys",
      "help": "Your sk_… API key from https://apimodels.app/console/api-keys",
      "placeholder": "<APIMODELS_API_KEY>"
    },
    {
      "name": "APIMODELS_BASE_URL",
      "required": false,
      "secret": false,
      "description": "API base URL. Default https://api.apimodels.app/v1",
      "help": "API base URL. Default https://api.apimodels.app/v1",
      "placeholder": "<APIMODELS_BASE_URL>"
    },
    {
      "name": "APIMODELS_WAIT_SECONDS",
      "required": false,
      "secret": false,
      "description": "Default wait_seconds for generate_image / generate_video / text_to_speech / transcribe_audio / get_task before they hand back a task id. Default 50 (Codex aborts tool calls at 60 s).",
      "help": "Default wait_seconds for generate_image / generate_video / text_to_speech / transcribe_audio / get_task before they hand back a task id. Default 50 (Codex aborts tool calls at 60 s).",
      "placeholder": "<APIMODELS_WAIT_SECONDS>"
    },
    {
      "name": "APIMODELS_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Deprecated: same wait in milliseconds, honoured for old configs.",
      "help": "Deprecated: same wait in milliseconds, honoured for old configs.",
      "placeholder": "<APIMODELS_TIMEOUT_MS>"
    }
  ],
  "expectedTools": [
    "get_balance",
    "list_models",
    "chat",
    "generate_image",
    "review_image",
    "generate_video",
    "get_task",
    "text_to_speech",
    "list_voices",
    "clone_voice",
    "delete_voice",
    "generate_audio",
    "transcribe_audio",
    "write_lyrics",
    "embed",
    "extract_media",
    "jev_decide",
    "upload_asset",
    "list_assets",
    "get_asset",
    "delete_asset"
  ],
  "agentSteps": [
    "Ask the user for: APIMODELS_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: get_balance, list_models, chat, generate_image, review_image, generate_video, get_task, text_to_speech, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:47:24.987368393Z"
}
