ComfyUI MCP server: knowledge base, workflow builder, real-time execution, models, plugins.
Connect Runs on your machine
claude mcp add comfy-ui-builder -e COMFYUI_HOST=<COMFYUI_HOST> -e COMFYUI_PATH=<COMFYUI_PATH> -e COMFYUI_KNOWLEDGE_DIR=<COMFYUI_KNOWLEDGE_DIR> -- npx -y [email protected]
{
"mcpServers": {
"comfy-ui-builder": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"COMFYUI_HOST": "<COMFYUI_HOST>",
"COMFYUI_PATH": "<COMFYUI_PATH>",
"COMFYUI_KNOWLEDGE_DIR": "<COMFYUI_KNOWLEDGE_DIR>"
}
}
}
}
{
"mcpServers": {
"comfy-ui-builder": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"COMFYUI_HOST": "<COMFYUI_HOST>",
"COMFYUI_PATH": "<COMFYUI_PATH>",
"COMFYUI_KNOWLEDGE_DIR": "<COMFYUI_KNOWLEDGE_DIR>"
}
}
}
}
{
"servers": {
"comfy-ui-builder": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"COMFYUI_HOST": "<COMFYUI_HOST>",
"COMFYUI_PATH": "<COMFYUI_PATH>",
"COMFYUI_KNOWLEDGE_DIR": "<COMFYUI_KNOWLEDGE_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
COMFYUI_HOSTOptional | ComfyUI API URL (e.g. http://127.0.0.1:8188). Required for execution, queue, outputs. |
COMFYUI_PATHOptional | Path to ComfyUI install. Required for install_custom_node, install_model. |
COMFYUI_KNOWLEDGE_DIROptional | Path to knowledge directory (default: package knowledge/). Use when MCP runs from different cwd. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 3 Feb 2026 |
| Last updated | 3 Feb 2026 |
| Registry name | io.github.MIt9/comfy-ui-builder |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
