selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

comfyui-mcp logo

Self-host comfyui-mcp

v0.52.206

ComfyUI agent for natural language workflow graph editing

ReleaseOpen SourceMIT
Updatedlast week
LanguageTypescript
Setup difficultyEasy
MobileNative app
Stars
876
Port
9100 (HTTP transport port)
Agent panel driving ComfyUI end to end

What is comfyui-mcp?

comfyui-mcp is a local-first, agent-native control plane for ComfyUI that combines an MCP server with a Claude Code plugin to generate images, video and audio, author and run workflows, manage models and custom nodes through natural language interactions. It works with any LLM including Claude, ChatGPT, Gemini, or free local models via Ollama. The tools ship skills that provide model-specific expertise so agents know the right sampler, CFG, resolution, and model files for each architecture without trial and error. One config targets local installs, LAN, VPS, or Comfy Cloud. It runs on macOS, Linux, and Windows and auto-detects ComfyUI installations.

Should you self-host comfyui-mcp?

comfyui-mcp scores 26/100 on selfhost.directory (how scoring works) and ranks #125 of 125 in AI. It has 876 GitHub stars.

It shipped 3 stable releases in the past year. The latest, v0.52.206, came out on 14 October 2026. New versions land roughly every 6 days.

It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is ComfyUI (93/100, 143 752 stars). It scores higher overall, so compare the two before you pick. See comfyui-mcp vs ComfyUI side by side.

Features

  • Cross-Platform Support
  • Custom node management
  • Live graph editing
  • Model Management
  • Natural language workflow generation
  • VRAM management
  • Workflow visualization

comfyui-mcp README

How to configure comfyui-mcp

  • CIVITAI_API_TOKENCivitAI API token for model downloads

    CivitAI API token for model downloads

  • COMFYUI_API_KEYComfy Cloud API key. When set, cloud mode is active

    Comfy Cloud API key. When set, cloud mode is active

  • COMFYUI_HOST127.0.0.1ComfyUI server address

    ComfyUI server address

  • COMFYUI_PATHPath to the ComfyUI data/base directory used for models, input/output and user state

    Path to the ComfyUI data/base directory used for models, input/output and user state

  • COMFYUI_PORTComfyUI server port (tries 8188, then 8000)

    ComfyUI server port (tries 8188, then 8000)

  • COMFYUI_URLFull ComfyUI URL, e.g. https://my-comfy.example.com. Overrides COMFYUI_HOST/PORT/SSL and skips auto-detection.

    Full ComfyUI URL, e.g. https://my-comfy.example.com. Overrides COMFYUI_HOST/PORT/SSL and skips auto-detection.

  • HUGGINGFACE_TOKENHuggingFace token for higher API rate limits

    HuggingFace token for higher API rate limits

  • MCP_HOST127.0.0.1HTTP bind host (with --http)

    HTTP bind host (with --http)

  • MCP_PORT9100HTTP bind port (with --http)

    HTTP bind port (with --http)

  • MCP_TRANSPORTstdioTransport mode: stdio or http

    Transport mode: stdio or http

comfyui-mcp releases & version history

More in Image Generation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…