| name | troubleshooting |
| description | Troubleshooting guide for ComfyUI MCP connection issues, model errors, workflow failures, and security warnings. Use when users encounter errors or unexpected behavior. |
ComfyUI Troubleshooting Guide
Each section below is independent. Find the section whose symptom matches the error you are seeing and work through only those checks.
Connection Failures
Symptoms: Tools return connection errors, timeouts, or "ComfyUI not reachable" messages.
Checks:
- Is ComfyUI running? Check the ComfyUI terminal/logs for errors.
- Is the URL correct? Verify
COMFYUI_URL environment variable or comfyui.url in ~/.comfyui-mcp/config.yaml. Default is http://localhost:8188.
- Firewall/network: If ComfyUI runs on a remote machine, ensure port 8188 is accessible.
- Use
comfyui_get_system_info to test basic connectivity.
Model Not Found
Symptoms: comfyui_generate_image or workflows fail with "model not found" errors.
Checks:
- Run
comfyui_list_models with the correct folder type (e.g., "checkpoints", "loras") to see what's available.
- Model filenames are case-sensitive and must include the extension (e.g.,
v1-5-pruned-emaonly.safetensors).
- If the model isn't listed, it needs to be placed in the correct ComfyUI models directory.
- If ComfyUI Model Manager is installed, use
comfyui_search_models and comfyui_download_model to fetch models directly.
- Run
comfyui_list_model_folders to see all valid folder types.
Workflow Execution Failures
Symptoms: comfyui_run_workflow or comfyui_generate_image fails after submission.
Checks:
- Run
comfyui_validate_workflow first to catch structural issues.
- Check for missing custom nodes —
comfyui_list_nodes shows what's installed. If a workflow uses nodes that aren't installed, it will fail.
- Check connections — a node output index must match what the node actually produces. Use
comfyui_get_node_info to verify.
- Check
comfyui_get_queue to see if the job is stuck or if there's a queue backlog.
- Check
comfyui_get_progress with the prompt_id to see which node failed.
Queue Stuck / Job Not Completing
Symptoms: Jobs stay in "running" state indefinitely, or the queue doesn't process.
Checks:
- Use
comfyui_get_queue to see the current state.
- Use
comfyui_interrupt to stop the currently running job.
- Use
comfyui_clear_queue to remove all pending jobs.
- Check ComfyUI logs for out-of-memory (OOM) errors — large images or complex workflows can exhaust VRAM.
Security Warnings
Symptoms: Tools return messages about "dangerous nodes" or security warnings.
What they mean:
- The MCP server inspects workflows for nodes known to execute arbitrary code, access the network, or read/write files.
- In audit mode (default): warnings are logged but execution proceeds.
- In enforce mode: workflows containing dangerous nodes are blocked.
What to do:
- Review the flagged nodes. The warning lists which node types were detected and why.
- If you have verified the node's functionality and source code to ensure it is safe to execute, you can proceed (audit mode) or add it to an allowlist in config.
- Use
comfyui_audit_dangerous_nodes to scan all installed nodes proactively.
- Change mode in
~/.comfyui-mcp/config.yaml: security.mode: "audit" or "enforce".
ComfyUI Manager Not Detected
Symptoms: comfyui_search_custom_nodes, comfyui_install_custom_node, and related tools fail or report Manager not available.
Fix: Install ComfyUI-Manager:
- Navigate to
ComfyUI/custom_nodes/
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
- Restart ComfyUI
- Use
comfyui_get_server_features to verify detection.
Model Manager Not Detected
Symptoms: comfyui_search_models, comfyui_download_model fail or report Model Manager not available.
Fix: Install ComfyUI-Model-Manager:
- Navigate to
ComfyUI/custom_nodes/
git clone https://github.com/hayden-fr/ComfyUI-Model-Manager.git
- Restart ComfyUI
- Use
comfyui_get_server_features to verify detection.