/comfyui-mcp:comfyui-workflowfrom ComfyUI MCP
Build, inspect, modify, validate, run, and troubleshoot ComfyUI workflows through MCP tools. Handles nodes, models, graph connections, queue execution, LoRA, ControlNet, inpainting, upscaling, image-to-image, video, audio, 3D, and custom nodes.
Ships in ComfyUI MCP. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Operate the user's live ComfyUI installation through the comfyui_* MCP tools. Treat the live node schema and model inventory as authoritative; installations differ because custom nodes, models, and ComfyUI versions differ.
comfyui_health before work that depends on a live ComfyUI instance.comfyui_list_workflows and comfyui_get_workflow before assuming a workflow is absent or current.If the host prefixes MCP names, select tools by their comfyui_* suffix.
Never invent node class names, input names, output indices, enum values, or model filenames.
comfyui_list_node_types using a functional term such as checkpoint, sampler, controlnet, or save image.comfyui_get_node_type for every class whose inputs or outputs affect the graph.comfyui_list_models before choosing checkpoints, VAEs, LoRAs, ControlNets, upscale models, or other installed assets.comfyui_list_templates when an installed node pack may already provide a suitable workflow.Read graph-contract.md before creating or modifying a graph.
comfyui_create_workflow, or import an API-format graph with comfyui_import_workflow.comfyui_add_node. Keep verify_node_type=true unless the user is deliberately preparing a graph for a node that is not installed locally.comfyui_set_input and links with comfyui_connect_nodes.expected_revision. If a revision conflict occurs, read the workflow again and reconcile instead of blindly retrying.comfyui_disconnect_input before replacing a connection when that makes the intent clearer. Use comfyui_remove_node with force=true only when dangling connections should also be removed._meta.title values so later edits and run overrides are unambiguous.For common graph shapes, read workflow-patterns.md. Adapt every pattern to schemas reported by the live installation.
comfyui_validate_workflow with live=true after graph construction and after material edits.comfyui_sync_canvas after validation. Explain that this requires the optional canvas bridge when it is unavailable.comfyui_run_workflow only when the user asked to generate, execute, render, queue, or otherwise run the workflow. Execution changes external state and may consume GPU time or paid-node credits.overrides for one-off seed, prompt, batch, or dimension changes. Persist changes only when the workflow itself should change.prompt_id with comfyui_get_run until the requested result or an actionable failure is available. Do not poll aggressively.Read execution-and-files.md for queue, upload, download, override, and canvas details.
comfyui_interrupt and comfyui_clear_queue as destructive to other active work. Use them only when the user requests them or when they are necessary to complete an explicitly requested recovery, and state the impact.On errors, identify the failing layer: MCP startup, ComfyUI connectivity, node discovery, graph structure, prompt validation, queue execution, output retrieval, or canvas bridge. Read troubleshooting.md, inspect the relevant live schema or run record, and make the smallest corrective edit.
Do not substitute a different node, model, sampler, scheduler, or workflow objective without telling the user. If the requested component is unavailable, list the verified alternatives and explain the tradeoff.
Keep the handoff compact and reproducible:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
comfyui, workflow-automation, ai-image-generation, node-graph, mcp-tools
Other plugins' skills for the same job
npx claudepluginhub yutianxiao6/comfyui-mcp --plugin comfyui-mcp