artokun/comfyui-mcp

Local-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.

What it solves

comfyui-mcp provides a comprehensive control plane for ComfyUI, allowing users to drive the complex node-based interface using natural language via any Large Language Model (LLM). It eliminates the need for manual graph wiring and trial-and-error parameter tuning by enabling an AI agent to author, edit, and execute workflows directly.

How it works

The project implements a Model Context Protocol (MCP) server that acts as a bridge between an LLM (such as Claude, ChatGPT, Gemini, or local models via Ollama) and a ComfyUI installation. It can operate as a standalone server, a Claude Code plugin, or as a sidebar agent panel embedded directly within the ComfyUI interface. The system uses a set of specialized tools and "skills" (model-specific guides for samplers, CFG, and resolutions) to ensure the agent can correctly configure workflows for different model architectures without manual intervention.

Who it’s for

It is designed for ComfyUI users who want to automate image, video, and audio generation, as well as developers who want to integrate ComfyUI's powerful generative capabilities into AI agent workflows across local, remote, or cloud-hosted environments.

Highlights

  • Multi-LLM Support: Compatible with Claude, ChatGPT, Gemini, and local models via Ollama.
  • Live Graph Editing: Ability to edit the live ComfyUI graph and spatial layout using natural language.
  • Extensive Toolset: Includes 38 MCP tools and 42 AI skills covering a wide range of models (Flux, WAN, LTX 2.3, etc.).
  • Autonomous Agents: Features specialized agents for exploring custom node packs, debugging workflow failures, and optimizing performance.
  • Local-First Architecture: Primary target is self-hosted ComfyUI, but supports remote installs via tunnels.
  • Integrated Panel: An autonomous AI agent sidebar that can be installed via ComfyUI-Manager.

Related

  • Project
  • Project
  • Project
  • Project
  • Project