Comfyui MCP
UnclaimedLocal-first, agent-native control plane for ComfyUI — MCP server + sidebar agent that generates images, video & audio, authors and runs workflows, and edits your live graph in natural language on ANY LLM (Claude, ChatGPT, Gemini, offline Ollama, or any hosted model). 178 tools, 36 AI skills, 55 installer packs. Local, LAN, VPS, or Comfy Cloud.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'comfyui-mcp' -- 'npx' '-y' 'comfyui-mcp@latest' '--tunnel'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
12 of 12 tools
Documented tools (12)
From project documentation. A server handshake does not verify each tool’s description or behavior.
clear_vram
Free GPU VRAM by unloading cached models — calls ComfyUI's /free endpoint, reports before/after stats
comfy_cli
Search actual loaded node classes through official comfy nodes search (action:"searchnodes")
create_workflow
One action-parameterized tool for authoring: create (from templates: txt2img, img2img, upscale, inpaint, controlnet, ipadapter, acestep15, stableaudio3), modify (operations: setinput, addnode, removenode, connect, insertbetween), validate (dry-run — missing nodes, broken connections, invalid output
download_model
Find and fetch model weights, and track the transfers. action: download (from a URL, into the correct ComfyUI subdirectory), status, cancel, search (HuggingFace), searchcivitai, searchcreators, downloadcivitai, resolvemissing
get_system_stats
Get system info — GPU, VRAM, Python version, OS
get_workflow
One action-parameterized tool for READING a saved workflow file: list (the user library, subfolders included), get (one workflow's JSON by filename), analyze (a structured summary instead of raw JSON), query (filter/traverse/aggregate a big graph without dumping it), strip (de-virtualize any workflo
list_local_models
What is installed, and where ComfyUI looks. action: list (installed models by type: checkpoints, loras, vae, upscalemodels, controlnet, embeddings, clip, unet, diffusionmodels, textencoders), remove (deletes a model file), embeddings, listpaths, addpath, removepath (the last three view/edit the extr
queue
One action-parameterized tool for the execution queue: list (running + pending), status (one job by prompt ID), getworkflow (a pending job's full payload), move/edit (requeue a pending job front/back, patched or replaced, with a new prompt ID), cancel (interrupt the running job — escalates interrupt
save_workflow
One action-parameterized tool for WRITING to the library: save (store a workflow — overwrites a same-filename file), lock (record a provenance lock: SHA-256 per model, git commit per node pack), verifylock (report drift against that lock)
search_custom_nodes
Search the ComfyUI Registry for node packs by keyword (action: "search"), or get one pack's full details (action: "details")
upload_image
Copy a local image into ComfyUI's input/ directory for img2img, inpaint, or ControlNet
visualize_workflow
One action-parameterized tool for rendering and converting a workflow you pass in: render (Mermaid flowchart, nodes grouped by category), renderhierarchical (the same graph sectioned — overview, one section in detail, a listing, or an AI-oriented summary), mermaid (a Mermaid diagram back to executab
Tool change history
FAQ
Questions about Comfyui MCP Server
- How do I connect Comfyui MCP Server to Claude?
- Run `claude mcp add comfyui-mcp -- npx -y comfyui-mcp@latest --tunnel` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Comfyui MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Comfyui MCP Server do?
- Comfyui MCP Server documents 12 tools to the agent, including clear_vram, comfy_cli, create_workflow. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.