{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.castaly-ai/mcp-server",
  "slug": "io.github.castaly-ai.mcp-server",
  "title": "Modelflare",
  "summary": "Image and video generation with one Modelflare Smart API Key.",
  "version": "0.1.2",
  "serverKey": "mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.castaly-ai.mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.castaly-ai.mcp-server/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:01:58.733723918Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@modelflare/mcp-server@0.1.2",
        "modelflare-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-server -e 'MODELFLARE_API_KEY=<MODELFLARE_API_KEY>' -- npx -y --package=@modelflare/mcp-server@0.1.2 modelflare-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@modelflare/mcp-server@0.1.2\",\n        \"modelflare-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MODELFLARE_API_KEY\": \"<MODELFLARE_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@modelflare/mcp-server@0.1.2\",\n        \"modelflare-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MODELFLARE_API_KEY\": \"<MODELFLARE_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"MODELFLARE_API_KEY\",\n      \"id\": \"modelflare-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@modelflare/mcp-server@0.1.2\",\n        \"modelflare-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MODELFLARE_API_KEY\": \"${input:modelflare-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@modelflare/mcp-server@0.1.2\", \"modelflare-mcp\"]\nenv = { \"MODELFLARE_API_KEY\" = \"<MODELFLARE_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "MODELFLARE_API_KEY",
      "required": true,
      "secret": true,
      "description": "Modelflare Smart API Key (create one at https://modelflare.dev/keys)",
      "help": "Modelflare Smart API Key (create one at https://modelflare.dev/keys)",
      "placeholder": "<MODELFLARE_API_KEY>"
    },
    {
      "name": "MODELFLARE_BASE_URL",
      "required": false,
      "secret": false,
      "description": "global (default), china, or a custom base URL",
      "help": "global (default), china, or a custom base URL",
      "placeholder": "<MODELFLARE_BASE_URL>"
    },
    {
      "name": "MODELFLARE_OUTPUT_DIR",
      "required": false,
      "secret": false,
      "description": "Directory for generated images and videos (default ./modelflare-output)",
      "help": "Directory for generated images and videos (default ./modelflare-output)",
      "placeholder": "<MODELFLARE_OUTPUT_DIR>"
    }
  ],
  "expectedTools": [
    "list_models",
    "generate_image",
    "create_video",
    "get_video_status",
    "download_video"
  ],
  "agentSteps": [
    "Ask the user for: MODELFLARE_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: list_models, generate_image, create_video, get_video_status, download_video.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:01:58.733723918Z"
}
