ModelFold

v0.1.0
io.github.AIModelFold/modelfold-mcp Checked 3 days ago Published 13 days ago

Discover ModelFold models, run chat and image generation, and check account balances.

Values you need

VariableWhat it is
MODELFOLD_API_KEYrequired secret ModelFold API key used for the local MCP server.

npm (npx) discovery passed

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: MODELFOLD_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, chat, generate_image, get_balance.
  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