Kokon
v0.13.0Generate and edit images offline with Qwen-Image 2.1 on your GPU.
Values you need
| Variable | What it is | |
|---|---|---|
QLS_MCP_ALLOWED_DIRS | optional | 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.0Add 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
- 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: generate_image, edit_image, edit_images, outpaint_image, inpaint_image, upscale_image, get_image_info, get_generator_status.
- 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