mit9 avatar

ComfyUI Builder

mit9/mcp-comfy-ui-builder

Hooks Claude directly into ComfyUI's node system and execution engine. You get 50+ tools spanning node discovery, a dynamic workflow builder, nine templates (txt2img, img2img, ControlNet, etc.), and real-time WebSocket execution with sub-second progress updates. Seeds a local knowledge base of ComfyUI nodes that syncs from running instances or ComfyUI-Manager packs. Handles model management, queue control, batch runs, and output downloads. The workflow builder lets you assemble pipelines programmatically instead of hand-editing JSON. Useful when you're prototyping image generation flows in Claude and want to execute them against a local ComfyUI server without context-switching to the web UI.

GitHub stars
2
tools
36
transport
STDIO
env vars
3
last updated
Feb 3, 2026

Tools

36 tools

Public tool metadata for what this MCP can expose to an agent.

list_node_typesNode Discovery tool listing ComfyUI node types.

Node Discovery tool listing ComfyUI node types.

No parameter schema in public metadata yet.

get_node_infoReturns information about a specific ComfyUI node.

Returns information about a specific ComfyUI node.

No parameter schema in public metadata yet.

check_compatibilityChecks compatibility between ComfyUI nodes.

Checks compatibility between ComfyUI nodes.

No parameter schema in public metadata yet.

suggest_nodesSuggests nodes for a workflow.

Suggests nodes for a workflow.

No parameter schema in public metadata yet.

discover_nodes_liveDiscovers nodes from a running ComfyUI instance.

Discovers nodes from a running ComfyUI instance.

No parameter schema in public metadata yet.

search_nodesSearches ComfyUI nodes.

Searches ComfyUI nodes.

No parameter schema in public metadata yet.

sync_nodes_to_knowledgeSyncs nodes into the knowledge base.

Syncs nodes into the knowledge base.

No parameter schema in public metadata yet.

create_workflowCreates a workflow programmatically.

Creates a workflow programmatically.

No parameter schema in public metadata yet.

add_nodeAdds a node to a workflow.

Adds a node to a workflow.

No parameter schema in public metadata yet.

connect_nodesConnects nodes in a workflow.

Connects nodes in a workflow.

No parameter schema in public metadata yet.

validate_workflowValidates a workflow.

Validates a workflow.

No parameter schema in public metadata yet.

list_templatesLists pre-built workflow templates.

Lists pre-built workflow templates.

No parameter schema in public metadata yet.

build_workflowBuilds a workflow from a template.

Builds a workflow from a template.

No parameter schema in public metadata yet.

create_templateCreates a parameterized template.

Creates a parameterized template.

No parameter schema in public metadata yet.

apply_templateApplies a parameterized template.

Applies a parameterized template.

No parameter schema in public metadata yet.

list_macrosLists reusable sub-workflows.

Lists reusable sub-workflows.

No parameter schema in public metadata yet.

insert_macroInserts a reusable sub-workflow.

Inserts a reusable sub-workflow.

No parameter schema in public metadata yet.

execute_workflow_syncExecutes a workflow with WebSocket progress streaming.

Executes a workflow with WebSocket progress streaming.

No parameter schema in public metadata yet.

execute_workflow_streamExecutes a workflow collecting full event history via WebSocket.

Executes a workflow collecting full event history via WebSocket.

No parameter schema in public metadata yet.

get_execution_progressReturns real-time progress with node-level granularity.

Returns real-time progress with node-level granularity.

No parameter schema in public metadata yet.

execute_batchExecutes workflows concurrently.

Executes workflows concurrently.

No parameter schema in public metadata yet.

execute_chainExecutes sequential workflows with data passing.

Executes sequential workflows with data passing.

No parameter schema in public metadata yet.

get_system_resourcesReturns GPU/VRAM/RAM info and recommendations.

Returns GPU/VRAM/RAM info and recommendations.

No parameter schema in public metadata yet.

list_modelsLists installed models.

Lists installed models.

No parameter schema in public metadata yet.

check_model_existsChecks whether a model exists.

Checks whether a model exists.

No parameter schema in public metadata yet.

get_workflow_modelsReturns models used by a workflow.

Returns models used by a workflow.

No parameter schema in public metadata yet.

list_outputsLists generated outputs.

Lists generated outputs.

No parameter schema in public metadata yet.

download_outputDownloads an output.

Downloads an output.

No parameter schema in public metadata yet.

download_all_outputsDownloads all outputs.

Downloads all outputs.

No parameter schema in public metadata yet.

list_queueLists the execution queue.

Lists the execution queue.

No parameter schema in public metadata yet.

interrupt_executionInterrupts the current execution.

Interrupts the current execution.

No parameter schema in public metadata yet.

clear_queueClears the execution queue.

Clears the execution queue.

No parameter schema in public metadata yet.

list_pluginsLists data-only plugins.

Lists data-only plugins.

No parameter schema in public metadata yet.

reload_pluginsReloads plugins.

Reloads plugins.

No parameter schema in public metadata yet.

install_custom_nodeInstalls a custom node via ComfyUI-Manager.

Installs a custom node via ComfyUI-Manager.

No parameter schema in public metadata yet.

install_modelInstalls a model via ComfyUI-Manager.

Installs a model via ComfyUI-Manager.

No parameter schema in public metadata yet.

Sponsors

Configuration

COMFYUI_HOST

ComfyUI API URL (e.g. http://127.0.0.1:8188). Required for execution, queue, outputs.

COMFYUI_PATH

Path to ComfyUI install. Required for install_custom_node, install_model.

COMFYUI_KNOWLEDGE_DIR

Path to knowledge directory (default: package knowledge/). Use when MCP runs from different cwd.

Readme

mcp-comfy-ui-builder

Control ComfyUI from Claude or Cursor — 50+ MCP tools for node discovery, dynamic workflow building, real-time WebSocket execution, and model management. No JSON editing required.

CI npm Docker License: MIT

Tell your AI assistant what image to generate — it builds and runs the ComfyUI workflow for you.
Works with Claude Desktop, Cursor, and any MCP-compatible client.

Demo

Publishable to the MCP Registry via server.json and mcpName.

What is this


View the full README on GitHub

Details

Repository
github.com/mit9/mcp-comfy-ui-builder
Categories
Documents & Knowledge, Automation & Workflows
Package
mcp-comfy-ui-builder
Transport
STDIO
Registry
MCP registry, active

Related Documents & Knowledge MCP servers

View all
1pintomatic avatarKernal Mcppintomatic/kernalGraph-native memory for AI agents: a knowledge graph built from conversation, via MCP.2stars
2sprintra-io avatarSprintrasprintra-io/sprintra-mcpThe project brain for AI coding agents — memory, decisions, sprints, knowledge base via MCP.2stars
3yawlabs avatarFetch MCP Serveryawlabs/fetch-mcpHTTP fetch MCP server: SSRF protection, HTML-to-markdown, reader mode, metadata extraction2stars
4pharaoh-so avatarPharaohpharaoh-so/pharaoh-mcpCodebase knowledge graph — architectural awareness for AI coding agents via MCP2stars
5sou0327 avatarKnowmintsou0327/knowmintAI agent knowledge marketplace. Discover, purchase, and retrieve human expertise via x402 on Solana.2stars
6tm42 avatarMnemographtm42/mnemographEvent-sourced knowledge graph memory for AI coding agents with semantic search2stars