What comfyui-mcp does
comfyui-mcp connects an AI assistant to a running ComfyUI instance through the Model Context Protocol. Instead of wiring nodes by hand, you ask in plain language ("generate a watercolor fox in a misty forest") and the agent picks a checkpoint, builds the workflow, queues it and returns the image. Its docs list tools to author and edit workflows, search and download models from Hugging Face and Civitai, install and bisect custom node packs through ComfyUI-Manager, and install, start or stop ComfyUI itself. It works on macOS, Linux and Windows and auto-detects a local install and its port.
Setup is one block of JSON: the package is on npm as comfyui-mcp and runs with npx -y comfyui-mcp (Node.js 22 or newer), added to Claude Code's mcpServers config. It speaks stdio by default and can serve streamable HTTP for remote clients such as Claude Desktop custom connectors. Point it at a remote box with --comfyui-url, or at Comfy Cloud with a COMFYUI_API_KEY. A separate Agent Panel (comfyui-agent-panel on the Comfy Registry) puts the same agent in ComfyUI's sidebar, and a mobile app is in closed beta on Android and iOS.
