Comfyui MCP — AI skill for Claude Code
ComfyUI MCP server + Claude Code plugin — workflow execution, visualization, composition, model management, and skill generation.
How to install Comfyui MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open artokun/comfyui-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Comfyui MCP does
ComfyUI MCP server + Claude Code plugin — workflow execution, visualization, composition, model management, and skill generation.
Alternatives in AI
- Zen MCP Server — The power of Claude Code + Gemini / OpenAI / Grok / OpenRouter / Ollama / Custom Model working as one 11.3k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Codex Skill — by klaudworks - Enables users to prompt codex from claude code 914 ★
README
comfyui-mcp
**MCP server + Claude Code plugin for [ComfyUI](https://github.com/comfyanonymous/ComfyUI)** — execute workflows, generate images, visualize pipelines, manage models, control VRAM, and explore custom nodes, all from your AI coding assistant.
[](https://www.npmjs.com/package/comfyui-mcp) [](https://nodejs.org) [](./LICENSE)
Works on **macOS**, **Linux**, and **Windows**. Auto-detects your ComfyUI installation and port.
**31 MCP tools** | **10 slash commands** | **4 knowledge skills** | **3 autonomous agents** | **3 hooks**
Quick Start
**1. Install ComfyUI** (if you haven't already): [ComfyUI Desktop](https://www.comfy.org/download) or [from source](https://github.com/comfyanonymous/ComfyUI)
**2. Add the MCP server** to your Claude Code config (`~/.claude/settings.json`):
{
"mcpServers": {
"comfyui": {
"command": "npx",
"args": ["-y", "comfyui-mcp"],
"env": {
"CIVITAI_API_TOKEN": ""
}
}
}
}
**3. Start using it.** With ComfyUI running, ask Claude to generate an image:
> Generate an image of a sunset over mountains
Claude will find (or download) a checkpoint, build a workflow, execute it, and return the image.
**Note**: This runs as a standalone MCP server — no need to clone this repo. `npx` will download and run it automatically.
Claude Code Plugin
This package also ships as a **Claude Code plugin**, providing slash commands, skills, agents, and hooks on top of the MCP tools.
Install as a plugin
claude plugin install comfyui-mcp
Slash commands
| Command | Description |
|---|---|
/comfy:gen |
Generate an image from a text description — auto-selects checkpoint, builds workflow, returns image |
/comfy:viz |
Visualize a wor |
Related Skills
Remote Agent Server
自托管的远程 AI 智能体执行与管理服务,支持 Codex、Claude Code、ACP、MCP 和隔离工作区|Self-hosted remote AI agent execution and management
Comfyui Workflow Skill
Natural language → ComfyUI workflow JSON. 34 built-in templates, 360+ node definitions, auto model download. S
Comfy MCP
Local MCP server for ComfyUI — run your local ComfyUI from AI agents
MeMex Zero RAG
The Karpathy LLM Wiki, production-ready. Zero-RAG personal knowledge base with MCP server, multi-agent support
Image Generation MCP Server
This MCP server provides image generation capabilities using the Replicate Flux model.
Midjourney MCP
RunAPI Midjourney MCP server for image and video generation: create tasks, poll results, and check pricing acr
Related Agents
Gsd Dom Verifier
Verifies live-DOM acceptance criteria for a completed execution wave using a browser MCP server. Writes DOM-VE
Agent
AI video production orchestrator. Routes requests to specialized ComfyUI skills for character generation, vide
Continuous Claude V2
Context management for Claude Code. Hooks maintain state via ledgers and handoffs. MCP execution without conte