ComfyUI MCP
Generate images and video through ComfyUI: workflows, models, graph edits
Runs as a server Claude Code connects to. It needs its own configuration, and some servers need an API key.
Install just this one
Run in your terminal — needs Node
npx archtmpl@latest --mcp comfyui-mcpFirst time? The whole install, step by step
- Open Claude Code — the terminal version or the desktop app, either one.
- In a terminal, paste the line above and press Enter. In the app, paste it into the chat and ask Claude to run it.
- Restart Claude Code. That's the whole install.
The same JSON shown on this page works in the Claude desktop app without Claude Code. Add it to the app's config file, then restart the app:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
What this mcp server does
shell
1{ 2 "name": "ComfyUI MCP", 3 "summary": "Generate images and video through ComfyUI: workflows, models, graph edits", 4 "repo": "https://github.com/artokun/comfyui-mcp", 5 "mcpServers": { 6 "comfyui": { 7 "command": "npx", 8 "args": ["-y", "comfyui-mcp"], 9 "env": {10 "CIVITAI_API_TOKEN": ""11 }12 }13 },14 "postInstallNotes": "Requires a running ComfyUI install (comfy.org/download) and Node 22+; the server auto-detects your ComfyUI location and port. The Civitai token is optional and only needed for model downloads from Civitai."15}16