Kokon

v0.13.0
io.github.GabrieleLozupone/kokon Checked 9 hours ago Published 4 days ago

Generate and edit images offline with Qwen-Image 2.1 on your GPU.

Values you need

VariableWhat it is
QLS_MCP_ALLOWED_DIRSoptional Extra folders the server may read and write, separated by semicolons. The project folder and Kokon's output folder are always allowed.

npm (npx) discovery passed

Requires Node.js 18+

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

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: generate_image, edit_image, edit_images, outpaint_image, inpaint_image, upscale_image, get_image_info, get_generator_status.
  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