Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI โ†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
  • Remote MCP โ†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) โ†— (opens in a new tab)
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Comfyui Mcp
C
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:28:32 AM

Comfyui Mcp

Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository

MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "comfyui-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "comfyui-mcp-2"
      ]
    }
  }
}

๐Ÿ’ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

comfyui-mcp โ€” drive ComfyUI with ANY LLM

The local-first, agent-native control plane for ComfyUI โ€” an MCP server + live sidebar agent that generates images, video and audio, authors and runs workflows, manages models and custom nodes, and edits your live ComfyUI graph in natural language. Bring whatever model you have: Claude or ChatGPT on your subscription, Gemini on your Google login, a free local model via Ollama (fully offline), or any hosted model over one API key (DeepSeek, GLM, MiMo, Kimi, GPT, Claude via OpenRouter). Same tools, same panel, every tier โ€” and the built-in LLM Arena scores them all on real ComfyUI tasks so you know exactly what your model can do. One config targets local installs, LAN, VPS, or Comfy Cloud.

npm version Node.js License Documentation

comfyui-mcp MCP server comfyui-mcp MCP server

Deploy on RunPod Join the Discord ย One-click GPU pod โ€” a ready-to-run ComfyUI with this project + Agent Panel + ComfyUI-Manager v2 preinstalled, on your own GPU. No setup.

Works on macOS, Linux, and Windows. Auto-detects your ComfyUI installation and port.

Stuck or have a question? Join the Discord โ€” help, model tips, and release announcements.

37 MCP tools | 38 AI skills (Flux ยท WAN ยท LTX 2.3 video ยท Qwen ยท Z-Image ยท Ideogram 4 ยท ERNIE ยท ANIMA ยท model registry ยท Civitai ยท node authoring ยท launch/perf flags) | 56 installer packs | 11 slash commands | 4 autonomous agents | 3 hooks

The plugin ships expert skills that grow with every release โ€” model-specific generation guides with curated download URLs, workflow recipes, troubleshooting, and custom-node authoring โ€” so Claude knows the right sampler, CFG, resolution, and model files for each architecture without trial and error.

โœ… Now available: the ComfyUI Agent Panel on ComfyUI-Manager & the Comfy Registry

An autonomous AI agent in your ComfyUI sidebar โ€” on Claude, ChatGPT, Gemini, or ANY local/hosted LLM (Ollama and every OpenAI-compatible endpoint). Subscriptions work with no API key; local models work with no account at all. Pick a provider and it drives your live graph: edits, spatial layout, one-shot workflow/pack loads, rewind/rollback, a pending-message tray, activity cards, multi-tab โ€” and it asks before spending paid API credits. Search comfyui-agent-panel in ComfyUI-Manager to install. Read more โ†’

๐Ÿ“– Full documentation: comfyui-mcp.artokun.io/docs


Quick Start

1. Install ComfyUI (if you haven't already): ComfyUI Desktop or from source

2. Add the MCP server to your Claude Code config (~/.claude/settings.json):

config.json
{
  "mcpServers": {
    "comfyui": {
      "command": "npx",
      "args": ["-y", "comfyui-mcp"],
      "env": {
        "CIVITAI_API_TOKEN": ""
      }
    }
  }
}

3. Start using it. With ComfyUI running, ask Claude to generate an image:

Code
> Generate an image of a sunset over mountains

Claude will find (or download) a checkpoint, build a workflow, execute it, and return the image.

Note: This runs as a standalone MCP server โ€” no need to clone this repo. npx will download and run it automatically.

Scope: local, remote, or Comfy Cloud

comfyui-mcp is local-first: a self-hosted ComfyUI on Mac/Linux/Windows is the primary target, with the same agent reaching remote installs (RunPod, VPS, LAN, reverse-proxied) from one config. Local-first, not local-only.

More than a bridge. Most ComfyUI MCP servers are thin connectors โ€” they forward a prompt and hand back an image. comfyui-mcp is a full control plane: it authors and edits the graph node-by-node, runs and iterates on workflows, manages models and custom nodes, and ships model-specific expertise (samplers, CFG, resolutions, curated model URLs) so the agent gets it right without trial and error. If you want a minimal local relay, a lightweight server is fine; if you want an agent that actually operates ComfyUI, that's this project.

For Comfy Cloud users, Comfy-Org ships its own agent tooling: Comfy Cloud MCP (public beta, hosted on Comfy Cloud GPUs), the Comfy In-App Agent (private alpha, inside Comfy Cloud), and a first-party Comfy Local MCP (private test, not publicly available yet) โ€” all maintained by the Comfy team. If you don't have a GPU or you want zero setup, that's the better path; go use it.

Where this project differs is that it runs on your install and your choice of model โ€” including a free local one via Ollama with no account and no network at all. comfyui-mcp also includes a community cloud-mode (set COMFYUI_API_KEY โ€” see Deployment modes) so a single MCP can target all three deployment shapes from one config.

๐Ÿ“Š Local vs. Comfy Cloud agent โ€” an honest side-by-side, including when Comfy Cloud is the right answer. (Statuses above are as of July 2026; Comfy-Org ships fast โ€” check their docs for the current state.)

Remote / hosted connector (one command)

Want to use comfyui-mcp from Claude Desktop's Custom Connectors or any remote client โ€” like Comfy's own cloud.comfy.org/mcp connector? Run it as an authenticated, publicly-reachable Streamable-HTTP server with one flag:

Terminal
npx -y comfyui-mcp@latest --tunnel

This forces the HTTP transport, generates an auth token, opens a cloudflared quick tunnel, and prints a ready-to-paste https://โ€ฆ/mcp URL + token + Claude Desktop connector snippet. Auth accepts Authorization: Bearer <token> or X-API-Key: <token> (matching Comfy Cloud's convention). See the Remote / hosted connector guide for the full walkthrough and headless usage.

Auth is opt-in: with no COMFYUI_MCP_HTTP_TOKEN set and no --tunnel, the default stdio (and plain --http on loopback) behavior is unchanged โ€” open and local. OAuth (Comfy's browser sign-in flow) is a planned follow-up.


Claude Code Plugin

This package also ships as a Claude Code plugin, providing slash commands, skills, agents, and hooks on top of the MCP tools.

Install as a plugin

bash
# In Claude Code
/plugin marketplace add artokun/comfyui-mcp
/plugin install comfy

Slash commands

CommandDescription
/comfy:gen <prompt>Generate an image from a text description โ€” auto-selects checkpoint, builds workflow, returns image
/comfy:viz <workflow>Visualize a workflow as a Mermaid diagram with nodes grouped by category
/comfy:node-skill <pack>Generate a Claude skill for a custom node pack from Registry ID or GitHub URL
/comfy:debug [prompt_id]Diagnose why a workflow failed โ€” reads history, logs, traces root cause, suggests fixes
/comfy:batch <prompt, params>Parameter sweep generation across cfg, sampler, steps, seed, etc.
/comfy:convert <file>Convert between UI format and API format workflows
/comfy:install <pack>Install a custom node pack โ€” git clone, pip install, optional restart
/comfy:gallery [filter]Browse generated outputs with metadata โ€” filter by date, count, or filename
/comfy:compare <a vs b>Diff two workflows side by side โ€” shows added/removed nodes and changed parameters
/comfy:recipe <name> <prompt>Multi-step recipes: portrait, hires-fix, style-transfer, product-shot

Built-in skills

35 skills total โ€” model-family guides (Flux, WAN, LTX 2.3, Qwen, Z-Image, Ideogram 4, ERNIE, ANIMA + anime / WAN / Z-Image LoRA training), the model-registry (curated download URLs), the civitai pairing skill, node authoring, the launch/performance-flags matrix, and the core four below. Full list on the plugin docs page.

Installer packs. packs/ bundles 13 one-command ComfyUI setups โ€” ANIMA, Ideogram 4, LTX-2.3, ERNIE, WAN (animate / longer-videos / transparent), Qwen (image / image-edit), Z-Image (turbo / base / xy-plot) and artokun-flow (WAN Animate โ€” replace / animate). Each is a manifest of custom nodes + model URLs + workflow that drives both apply_manifest and generated install-windows.bat / install-runpod.sh, with CI that validates every model link + payload size. See packs/README.md.

SkillDescription
comfyui-coreWorkflow format, node types, data flow patterns, pipeline architecture, MCP tool usage guide
prompt-engineeringCLIP weight syntax (word:1.3), BREAK tokens, embeddings, model-specific prompting for SD1.5/SDXL/Flux/SD3
troubleshootingCommon error catalog โ€” OOM, dtype mismatches, missing nodes, NaN tensors, black images, CUDA errors, with VRAM estimates per model
model-compatibilityCompatibility matrix โ€” loaders, resolutions, CFG, samplers, ControlNets, LoRAs, and VAEs per model family (SD1.5/SDXL/Turbo/Lightning/Flux/SD3/LTXV)

Agents

AgentModelDescription
comfy-explorerSonnetResearches custom node packs โ€” reads docs, queries /object_info, generates comprehensive skill files
comfy-debuggerSonnetAutonomously diagnoses workflow failures โ€” gathers logs + history, identifies failing node, checks models + custom nodes, proposes and optionally applies fixes
comfy-optimizerSonnetAnalyzes workflows for performance โ€” detects redundant nodes, VRAM waste, wrong CFG/steps for model family, precision issues, suggests optimizations

Hooks

EventTriggerAction
PreToolUseenqueue_workflowVRAM watchdog โ€” checks GPU memory via /system_stats and warns if < 1GB free before execution
PreToolUserestart_comfyui (actions stop/restart)Save warning โ€” prompts user to save unsaved workflow changes before stopping ComfyUI
PostToolUseAny comfyui toolJob completion notify โ€” checks for completed jobs and injects completion summaries into the conversation

Background Scripts

ScriptDescription
monitor-progress.mjsProgress monitor โ€” connects to ComfyUI's WebSocket for real-time step progress (e.g., step 5/14 (36%)). Run as a background Bash task after enqueuing workflows. Reports completion with output filenames, errors with node details. Replaces polling queue (action:"status") in a loop.

Panel agent (Claude ยท ChatGPT ยท Gemini ยท any local/hosted LLM)

Beyond the headless MCP server, this package ships the panel orchestrator that powers the ComfyUI Agent Panel โ€” an autonomous agent embedded in ComfyUI's sidebar that drives the live canvas. It runs in the background on your own subscription (Claude or ChatGPT), started on demand by the panel's Connect button:

Terminal
npx -y comfyui-mcp@latest connect

Drive a REMOTE ComfyUI from your own machine (connect)

When ComfyUI runs somewhere with no Node/agent (a RunPod pod, a cloud box) you can still run the agent on your machine and drive that remote ComfyUI โ€” no agent login on the box, nothing to install or configure remotely:

Terminal
npx -y comfyui-mcp@latest connect https://abcd1234-8188.proxy.runpod.net

This is sugar for --panel-orchestrator with COMFYUI_URL set from the URL: the orchestrator runs locally on your Claude/ChatGPT login and reaches the remote ComfyUI over its public proxy URL. For a remote HTTPS pod, connect automatically opens a secure, token-gated wss:// tunnel (via Cloudflare) to the local agent bridge and hands the pod's panel that URL โ€” so the pod's HTTPS page reaches your machine with no browser prompt, in any browser (a secure page can't open a plain ws:// socket to your box โ€” mixed content / Private Network Access). A local ComfyUI uses the plain ws://127.0.0.1:9180 loopback bridge; add --insecure-bridge to force that loopback for a remote pod (then arrange your own path to it, e.g. an SSH port-forward). Either way the panel JS runs in your local browser and the agent โ€” and your login โ€” run only on your machine, so nothing is installed remotely.

To finish: open the remote ComfyUI in your browser, turn on Settings โ†’ General โ†’ "Use external/local orchestrator (advanced)" in the Agent panel, then click Connect. (In that mode the panel connects straight to the local bridge instead of asking the ComfyUI host to spawn an orchestrator it can't run.)

Multi-provider, full parity. The orchestrator depends on a provider-neutral AgentBackend port (dependency injection), with two adapters:

  • ClaudeBackend โ€” the Claude Agent SDK (@anthropic-ai/claude-agent-sdk), a persistent streaming session over the claude.ai subscription (OAuth, no key).
  • CodexBackend โ€” OpenAI Codex over the codex app-server JSON-RPC protocol (@openai/codex), on the ChatGPT subscription (codex login, no key).

Further adapters follow the same port โ€” Gemini CLI (ACP), Antigravity (agy, the Google AI Pro/Ultra subscription path โ€” install from antigravity.google and run agy once to sign in), Grok, Kimi, GLM, Ollama/LM Studio/llama.cpp (local), OpenRouter, and any OpenAI-compatible endpoint. See docs/backends for the full matrix.

Both are optional dependencies, and the panel picks a provider, not a port โ€” each backend runs its own orchestrator on its own loopback bridge port. A capability matrix lets the panel degrade gracefully (e.g. conversation-rollback is Claude-only today, since the Codex app-server resumes whole threads only).

The live-canvas tools and model knowledge are identical across providers. The panel_* tool definitions live in one shared list, registered onto both the in-process Claude SDK MCP server and a @modelcontextprotocol/sdk server over a loopback streamable-HTTP MCP that the orchestrator hosts for Codex (which can only host config-declared MCP servers). The headless comfyui MCP is likewise injected into both โ€” in-process for Claude, declared via codex app-server -c mcp_servers for ChatGPT โ€” so generation, models, and workflow tools are the same everywhere.

New tools that give every backend the same expertise and a cost guardrail:

ToolDescription
list_packs (action: "skill_list" / "skill_read")Discover and read bundled model-family + workflow skills โ€” the knowledge Claude loads natively, exposed to any MCP client (e.g. the Codex backend)
list_packs (action: "list" / "read_workflow")List one-command installer packs (custom nodes + weights + ready workflow; all local-GPU / free) and read a pack's graph
list_packs (action: "list_templates")List the connected ComfyUI's custom-node-contributed workflow templates
list_packs (action: "check_runtime")Classify a workflow as local (your GPU, free) or api / mixed / unknown (hosted API nodes = paid credits) so the agent asks before spending paid API credits
list_packs (action: "extract_deps" / "install_deps")Work out which custom node packs a workflow needs, and install the missing ones through ComfyUI-Manager
panel_load_workflow(panel tool) Load a full workflow onto the live canvas in one shot โ€” by bundled pack name (read server-side, never shuttled through chat) or by graph JSON
panel_strip_workflow / panel_slice_workflow(panel tools) De-virtualize a tangled graph (Get/Set buses, Reroutes, subgraphs, bypass โ†’ real connections) or carve one rgthree-toggled pipeline out of a monolith โ€” by pack, server-side path, or inline graph; for understanding/rebuilding expert workflows without hand-tracing

See the design doc โ€” docs/design/agent-backend-injection.md โ€” for the port, the capability matrix, and the per-provider "clink" points, and the panel docs for the full sidebar UX.


MCP Tools

37 tools across workflow execution, generation, iteration, composition, models, and more:

Image Generation (high-level)

ToolDescription
generate_image action: "image"Generate from a text prompt โ€” builds a txt2img workflow, fills unspecified params from your defaults, auto-selects a checkpoint
generate_image action: "controlnet"Generate conditioned by a ControlNet image (pose/depth/canny/normal) + prompt
generate_image action: "ip_adapter"Generate guided by a reference image's style/subject via IP-Adapter (needs ComfyUI_IPAdapter_plus)
generate_image action: "video" / "3d"Generate a short video clip (LTX-2.3, local GPU) or a 3D model (hosted partner API nodes) from the same one-line entry point
generate_image action: "upscale"Post-process an uploaded or staged image with ESRGAN super-resolution
generate_image (action:"remove_background")Post-process an uploaded or staged image into a transparent BiRefNet cutout

Audio Generation (high-level)

ToolDescription
generate_image action: "audio"Generate audio from a text prompt โ€” supports ACE Step 1.5 (music with lyrics/structure) and Stable Audio 3 (music, instruments, SFX); auto-selects local models

Assets & Iteration

ToolDescription
get_image (action:"view")Return a generated asset's bytes as an inline image so the agent can see the result
get_image (action:"analyze_color")Palette / contrast / color statistics for a generated image (dominant colors, average + luminance stats, contrast checks) so the agent can reason about color without a vision round-trip
generate_image (action:"regenerate")Re-run the workflow that produced an asset_id, with optional parameter overrides
get_image (action:"list_assets")Browse recently generated assets (newest-first) by asset_id
get_image (action:"asset_metadata")Full provenance for an asset, including the originating workflow

Defaults

ToolDescription
get_defaults action:"get"Show merged generation defaults with per-source attribution
get_defaults action:"set"Update runtime defaults; persist: true writes the config file
get_defaults action:"get_ui" / action:"set_ui"Read/write ComfyUI's OWN frontend UI settings (the Comfy.* ids) โ€” a separate store from the generation defaults above

Workflow Execution

ToolDescription
enqueue_workflow action: "enqueue"Submit a workflow (API format JSON) โ€” returns prompt_id immediately, non-blocking
enqueue_workflow action: "rerun" / "run_url" / "template_schema"Re-run a past generation, or read/run a shared workflow from a URL, or inspect a bundled template's overridable slots
enqueue_workflow (action:"run_template")One-shot: resolve a bundled pack's expert graph, apply <nodeId>.<widget> overrides, and enqueue it
queueOne action-parameterized tool for the execution queue: list (running + pending), status (one job by prompt ID), get_workflow (a pending job's full payload), move/edit (requeue a pending job front/back, patched or replaced, with a new prompt ID), cancel (interrupt the running job โ€” escalates interrupt โ†’ verify โ†’ /free, reports WEDGED if it won't die; clear_pending: true also drops all pending), cancel_queued, clear
get_system_statsGet system info โ€” GPU, VRAM, Python version, OS

Workflow Visualization

ToolDescription
visualize_workflowOne action-parameterized tool for rendering and converting a workflow you pass in: render (Mermaid flowchart, nodes grouped by category), render_hierarchical (the same graph sectioned โ€” overview, one section in detail, a listing, or an AI-oriented summary), mermaid (a Mermaid diagram back to executable workflow JSON), to_dsl/from_dsl (the compact, losslessly round-tripping authoring DSL)

Workflow Composition

ToolDescription
create_workflowOne action-parameterized tool for authoring: create (from templates: txt2img, img2img, upscale, inpaint, controlnet, ip_adapter, ace_step_15, stable_audio_3), modify (operations: set_input, add_node, remove_node, connect, insert_between), validate (dry-run โ€” missing nodes, broken connections, invalid output indices, missing model files), node_info (query available node types from ComfyUI's /object_info endpoint)

Workflow Library

ToolDescription
get_workflowOne action-parameterized tool for READING a saved workflow file: list (the user library, subfolders included), get (one workflow's JSON by filename), analyze (a structured summary instead of raw JSON), query (filter/traverse/aggregate a big graph without dumping it), strip (de-virtualize any workflow from an absolute path, library filename, or inline graph โ€” resolve GetNode/SetNode buses, Reroutes, subgraph defs, and bypassed nodes into real connections and return the flat graph; reads ANY path server-side, so it loads ad-hoc/expert workflows the cached library can't), slice (un-chunk a toggle-template monolith โ€” one rgthree Fast-Groups-Bypass-toggled pipeline out into a standalone activated graph; pair with strip to then flatten the buses), from_image (the workflow ComfyUI embedded in a PNG), prompt_director (Prompt Director's sanitized runtime state)
save_workflowOne action-parameterized tool for WRITING to the library: save (store a workflow โ€” overwrites a same-filename file), lock (record a provenance lock: SHA-256 per model, git commit per node pack), verify_lock (report drift against that lock)

Image Management

ToolDescription
upload_imageCopy a local image into ComfyUI's input/ directory for img2img, inpaint, or ControlNet
get_image (action:"list_outputs")Browse recently generated images and videos from the output directory, sorted newest-first โ€” recurses into subfolders (e.g. SaveVideo's output/video/โ€ฆ) and returns each result's subfolder

Model Management

ToolDescription
download_modelFind and fetch model weights, and track the transfers. action: download (from a URL, into the correct ComfyUI subdirectory), status, cancel, search (HuggingFace), search_civitai, search_creators, download_civitai, resolve_missing
list_local_modelsWhat is installed, and where ComfyUI looks. action: list (installed models by type: checkpoints, loras, vae, upscale_models, controlnet, embeddings, clip, unet, diffusion_models, text_encoders), remove (deletes a model file), embeddings, list_paths, add_path, remove_path (the last three view/edit the extra search-path YAML)

Memory Management

ToolDescription
clear_vramFree GPU VRAM by unloading cached models โ€” calls ComfyUI's /free endpoint, reports before/after stats

Registry & Discovery

ToolDescription
search_custom_nodesSearch the ComfyUI Registry for node packs by keyword (action: "search"), or get one pack's full details (action: "details")
list_packs (action: "generate_skill")Generate a Claude skill .md file from a Registry ID or GitHub URL
comfy_cliSearch actual loaded node classes through official comfy nodes search (action:"search_nodes")

Official comfy-cli

Install comfy-cli 1.11.1 or newer to enable the official JSON-backed tools. The MCP resolves comfy from COMFY_CLI_PATH, PATH, or the selected workspace's .venv/venv. Local custom-node operations prefer comfy node when a supported CLI is available and otherwise fall back to Manager HTTP; remote targets retain Manager HTTP.

ToolDescription
comfy_cliOne action-parameterized tool for the whole official CLI: status, server_start/server_stop/server_restart, jobs_list/jobs_status/jobs_wait/jobs_watch/jobs_cancel, search_nodes, workflow_validate/workflow_run, transfer_upload/transfer_download, models_* (list/search/show/download/remove), skills_* (list/show/validate/install/status/uninstall)

Diagnostics

ToolDescription
get_system_stats (action:"logs")Get ComfyUI server logs with optional keyword filter (e.g., error, warning, a node name)
get_history action: "list"Get execution history with full error details, Python tracebacks, timing, and cached node info
get_history action: "diagnose"Explain a FAILED run in one call โ€” the failed node and traceback PLUS the missing models (file + widget) and missing node types

Process Control

ToolDescription
restart_comfyui action:"restart"Stop and restart ComfyUI, preserving all launch arguments
restart_comfyui action:"stop"Stop the running ComfyUI process (saves PID and launch args for restart)
restart_comfyui action:"start"Start ComfyUI using info saved from a previous stop

Generation Tracker

ToolDescription
get_history action: "suggest"Suggest proven sampler/scheduler/steps/CFG settings from local generation history โ€” query by model family, LoRA hash, or text search
get_history action: "stats"Show local generation tracking statistics โ€” total runs, unique combos, breakdown by model family

Every enqueue_workflow call automatically logs settings to a local SQLite database (generations.db). Same settings combos get a reuse_count bump instead of duplicates, creating a natural popularity signal. Models and LoRAs are identified by content hash (AutoV2 / SHA256), not filenames โ€” so renamed files still group together.

bash
# View local stats from the CLI
npm run generations:stats

Model Settings

Community-maintained preset library (model-settings.json) with research-backed sampler, scheduler, steps, and CFG values for 10+ model families. User overrides in model-settings.user.jsonc (auto-created from template on install, gitignored).


Examples

Generate an image

Code
> /comfy:gen a cyberpunk city at night with neon lights

Claude will:

  1. Check installed checkpoints (download one if needed)
  2. Build a txt2img workflow with your prompt
  3. Execute it on ComfyUI
  4. Return the generated image

Visualize a workflow

Code
> /comfy:viz ~/workflows/my-workflow.json

Produces a Mermaid diagram with nodes grouped by category:

mermaid
flowchart LR
  subgraph Loaders
    1["CheckpointLoaderSimple"]
  end
  subgraph Conditioning
    2(["Positive Prompt"])
    3(["Negative Prompt"])
  end
  subgraph Sampling
    5{{"KSampler<br/>steps:20 cfg:8"}}
  end
  1 -->|MODEL| 5
  2 -->|CONDITIONING| 5
  3 -->|CONDITIONING| 5

Debug a failed workflow

Code
> /comfy:debug

Automatically reads the last execution history and logs, identifies the failing node, checks for missing models or node packs, and suggests a fix.

Code
> /comfy:debug abc123-def456

Diagnose a specific execution by prompt ID.

Parameter sweep

Code
> /comfy:batch a cat in a field, cfg:5-10:2, sampler:euler,dpmpp_2m

Generates a grid of images across all parameter combinations and presents a summary table with results.

Supported sweep parameters: cfg, steps, sampler, scheduler, seed, denoise, width, height.

Multi-step recipes

Code
> /comfy:recipe hires-fix a dramatic fantasy landscape with castles

Runs a two-pass pipeline: txt2img at 512x768, then img2img upscale to 1024x1536 with detail enhancement.

Available recipes:

RecipeDescription
portraitGenerate at 1024x1024, then 2x upscale to 2048x2048
hires-fixLow-res generation โ†’ img2img upscale with denoise 0.4-0.5
style-transferApply a style prompt to an existing image via img2img
product-shotProduct image with clean white background

Convert workflow format

Code
> /comfy:convert ~/workflows/my-ui-workflow.json

Converts between ComfyUI's UI format (nodes + links arrays) and API format (node IDs โ†’ {class_type, inputs}).

Install a custom node pack

Code
> /comfy:install comfyui-impact-pack

Searches the registry, shows details, clones the repo to custom_nodes/, installs dependencies, and offers to restart ComfyUI.

Browse output gallery

Code
> /comfy:gallery last 5
> /comfy:gallery today

Lists recent outputs with embedded metadata โ€” shows checkpoint, prompt, seed, steps, CFG, sampler for each image.

Compare workflows

Code
> /comfy:compare workflow-a.json vs workflow-b.json

Shows added/removed nodes, changed parameters (old โ†’ new values), and optional Mermaid diagrams for visual comparison.

Validate before running

Code
> Validate this workflow before I run it

Checks for missing node types, broken connections, invalid output indices, and missing model files โ€” without executing.

Manage models

Code
> What checkpoints do I have installed?
> Search HuggingFace for SDXL turbo models
> Download this model to my checkpoints folder

Manage VRAM

Code
> Free my VRAM
> What embeddings do I have?

Extract workflow from an image

Code
> Extract the workflow from this image: ~/outputs/ComfyUI_00042_.png

Reads the PNG metadata chunks to recover the exact workflow and prompt used to generate the image.

Explore custom nodes

Code
> /comfy:node-skill comfyui-impact-pack

Generates a comprehensive skill file documenting every node, its inputs/outputs, and usage patterns.

Process control

Code
> Restart ComfyUI
> Stop ComfyUI
> Start ComfyUI back up

Configuration

The server auto-detects your ComfyUI installation and port. Override with environment variables if needed.

Where to put keys and overrides:

  • Panel users: the API Keys card (โ–พ menu next to "connected") โ€” stored in ~/.comfyui-mcp/panel-secrets.json, applied immediately, no restart.
  • MCP-only setups (Claude Desktop, Claude Code, etc.): the env block of your MCP client config, as shown in the setup examples above.
  • Real environment variables always take precedence over stored keys. (For development, ~/.comfyui-mcp/.env is also loaded as an override file โ€” regular installs shouldn't need it.)

Deployment modes

comfyui-mcp operates in one of three modes, auto-selected from the environment:

ModeTriggerLocal FS / process tools?
Localdefaultyes
Remote--comfyui-url / COMFYUI_URL points at a non-loopback host, or --force-remote is setno โ€” server skips COMFYUI_PATH auto-detection so stale local installs can't silently absorb uploads
CloudCOMFYUI_API_KEY is set (targets Comfy Cloud)no โ€” HTTP primitives route via cloud.comfy.org over X-API-Key; WebSocket and local-only tools throw CLOUD_UNSUPPORTED

Some setups (e.g. dstack driving ComfyUI on RunPod) port-forward a remote ComfyUI back to localhost:8188, so the loopback check above gets it wrong โ€” the install isn't actually local. Pass --force-remote (or set COMFYUI_MCP_FORCE_REMOTE=1) alongside --comfyui-url/COMFYUI_URL to force remote mode regardless of hostname:

Terminal
npx -y comfyui-mcp@latest --comfyui-url http://localhost:8188 --force-remote
VariableDefaultDescription
COMFYUI_URLFull ComfyUI URL, e.g. https://comfy.example.com:8443 โ€” overrides COMFYUI_HOST/PORT/SSL and skips auto-detection. A path prefix is preserved (e.g. https://host/comfyapi) for reverse-proxied instances. Non-loopback hosts opt into remote mode.
COMFYUI_MCP_FORCE_REMOTESet to 1/true (or pass --force-remote) to force remote mode even when COMFYUI_URL/--comfyui-url resolves to a loopback host โ€” for port-forwarded remote installs (e.g. dstack/RunPod) that are reachable at localhost. No effect without a COMFYUI_URL/--comfyui-url.
COMFYUI_HOST127.0.0.1ComfyUI server address
COMFYUI_PORT(auto-detect)ComfyUI server port (tries 8188, then 8000)
COMFYUI_PATH(auto-detect)Path to ComfyUI data directory. Auto-detection suppressed in remote/cloud modes.
COMFY_CLI_PATH(auto-detect)Path to the official comfy executable (comfy-cli >=1.11.1). Resolution also checks PATH and the selected workspace's .venv/venv.
COMFYUI_PYTHONpythonPython interpreter used by legacy git-clone dependency fallbacks. Point it at your ComfyUI venv's Python when needed.
COMFYUI_MCP_BRIDGE_HOST127.0.0.1Panel-bridge bind host. Set 0.0.0.0 (or a LAN IP) to run the orchestrator on a 24/7 server and connect panels from other machines โ€” requires a token (below); the orchestrator prints a ready-to-paste ws://โ€ฆ/?token=โ€ฆ Bridge URL.
COMFYUI_MCP_BRIDGE_TOKEN(generated when needed)Shared secret gating every bridge connection (checked constant-time on the WS upgrade). Mandatory for a non-loopback COMFYUI_MCP_BRIDGE_HOST; pin it so the Bridge URL survives restarts. Never logged beyond the startup banner.
COMFYUI_MCP_DATA_DIR~/.comfyui-mcpBase dir for per-instance data (the generations.db behind get_history action: "suggest") when there's no local COMFYUI_PATH (remote/cloud/undetected). Scoped per target under instances/<host_port>/.
COMFYUI_API_KEYComfy Cloud API key. When set, cloud mode is active and the server talks to cloud.comfy.org. Never logged.
COMFYUI_CLOUD_URLhttps://cloud.comfy.orgOverride the Comfy Cloud endpoint (testing/staging).
COMFYUI_AUTH_TOKENGeneric auth token for a self-hosted ComfyUI behind a reverse proxy / API gateway (distinct from Comfy Cloud). When set, attached to every ComfyUI request. Never logged.
COMFYUI_AUTH_HEADERAuthorizationHeader name for COMFYUI_AUTH_TOKEN (e.g. X-API-Key).
COMFYUI_AUTH_SCHEMEBearer for Authorization, else noneScheme prefix on the token value (e.g. Bearer, Token).
CIVITAI_API_TOKENCivitAI API token for model downloads
HUGGINGFACE_TOKENHuggingFace token for higher API rate limits
GITHUB_TOKENGitHub token for skill generation (avoids rate limits)
REGISTRY_ACCESS_TOKENComfy Registry API key for node_pack (action: "publish") (env-only, never logged)
COMFYUI_DOWNLOAD_CACHE_DIR~/.comfyui-mcp/cacheContent-addressed model-download cache (dedup + concurrent coalescing)
COMFYUI_LRU_CACHE_SIZE_GB0Cap the download cache in GB; 0 disables LRU eviction
COMFYUI_STARTUP_CHECK_INTERVAL_S / โ€ฆ_MAX_TRIES1 / 20Readiness-probe interval + max tries when starting a local ComfyUI
COMFYUI_ALWAYS_RESTARTfalseAuto-restart a crashed local ComfyUI (bounded by COMFYUI_RESTART_MAX_ATTEMPTS / COMFYUI_RESTART_WINDOW_S)
COMFYUI_MCP_STALL_S180Render-wedge watchdog: seconds a sampler step can re-emit the same progress before a STALL/BACKLOG note is prepended to the agent's next turn (clamped 15โ€“3600s; live-tunable from the panel)
COMFYUI_MCP_INTERRUPT_S30Seconds queue (action:"cancel") waits for an interrupt to actually stop a job before escalating to /free and reporting it wedged
LOG_LEVELinfoLogging verbosity: debug, info, warn, error

Transports

The server speaks stdio by default (what Claude Code, Claude Desktop, and the MCP Inspector expect โ€” no flags needed). For MCP gateways, remote/hosted setups, or fetch-based clients, opt into streamable-HTTP:

bash
# stdio (default)
npx -y comfyui-mcp@latest

# streamable-HTTP on http://127.0.0.1:9100/mcp
npx -y comfyui-mcp@latest --http
npx -y comfyui-mcp@latest --http --host 0.0.0.0 --port 9100   # bind/port overrides
FlagEnvDefaultDescription
--http / --transport httpMCP_TRANSPORT=httpstdioServe streamable-HTTP at /mcp instead of stdio
--host <h>MCP_HOST127.0.0.1HTTP bind host (use 0.0.0.0 to expose)
--port <n>MCP_PORT9100HTTP port
--comfyui-url <url>COMFYUI_URL(auto-detect)Target a specific (incl. remote) ComfyUI
--force-remoteCOMFYUI_MCP_FORCE_REMOTEfalseForce remote mode for a loopback --comfyui-url (e.g. dstack/RunPod port-forwards to localhost)

Other agents & local LLMs (Hermes, OpenClaw, Copilot CLI, Ollama)

comfyui-mcp has first-class support for non-Claude harnesses. One command writes the server entry into the harness's own config (merging, not clobbering):

Terminal
npx -y comfyui-mcp setup hermes     # โ†’ ~/.hermes/config.yaml      (compact by default)
npx -y comfyui-mcp setup openclaw   # โ†’ ~/.openclaw/openclaw.json  (compact by default)
npx -y comfyui-mcp setup copilot    # โ†’ ~/.copilot/mcp-config.json (full by default)
# flags: --compact | --full, --comfyui-url <url>, --dry-run

Model requirements: tool calling is a hard requirement (no tool calling = doesn't work). Thinking and vision are strongly recommended โ€” without thinking, multi-step tool chains degrade; without vision the agent can generate but can't see its own outputs.

Compact tool mode is the default: the server registers 3 meta-tools (list_tools โ†’ describe_tool โ†’ call_tool) instead of the full ~200-schema surface (~200 KB / ~50k tokens per tools/list), pulling schemas into context one tool at a time. Frontier-model harnesses opt back into the full surface with --full / COMFYUI_MCP_TOOL_MODE=full. Run it locally for free with our fine-tuned models: ollama pull artokun/gemma4-comfyui-mcp:e4b (also :e2b for ~2 GB VRAM, :12b for ~8 GB) โ€” Gemma 4 QLoRA-trained on 1,055 server-verified trajectories over the full comfyui-mcp tool surface, and the panel's Ollama default. Stock gemma4:*/qwen3:4b also validated end-to-end (npm run test:local-llm); gemma3 has no native tool calling and is unsupported. Full guide โ€” hosted-model guidance (DeepSeek/MiMo/GLM class), per-harness setup, troubleshooting: Local LLMs & other agents.

FlagEnvDefaultDescription
setup <agent>Write the comfyui entry into hermes / openclaw / copilot config, then exit
--compact / --tool-mode compactCOMFYUI_MCP_TOOL_MODE=compactfullOpt into the 3 meta-tools (list_tools / describe_tool / call_tool) instead of the direct surface โ€” recommended for small local models. --full is still accepted and is now a no-op

Remote ComfyUI

Point the server at a ComfyUI running anywhere โ€” no local install required:

Terminal
npx -y comfyui-mcp@latest --comfyui-url http://192.168.1.50:8188
npx -y comfyui-mcp@latest --http --comfyui-url https://comfy.example.com:8443

Behind a reverse proxy / API gateway (path prefix + auth header) โ€” for a self-hosted ComfyUI exposed under a prefixed route with its own auth layer (this is not Comfy Cloud, which is COMFYUI_API_KEY):

bash
COMFYUI_URL=https://gateway.example.com/comfyapi \
COMFYUI_AUTH_TOKEN=your-token \
  npx -y comfyui-mcp@latest --http        # โ†’ Authorization: Bearer your-token, requests under /comfyapi

# custom header / scheme:
COMFYUI_URL=https://gateway.example.com/comfyapi \
COMFYUI_AUTH_HEADER=X-API-Key COMFYUI_AUTH_TOKEN=your-token \
  npx -y comfyui-mcp@latest --http        # โ†’ X-API-Key: your-token

Auto-detection

Port: Probes 8188 (CLI default) then 8000 (Desktop app default) via /system_stats.

Path: Checks common locations in order:

  • ~/Documents/ComfyUI (macOS/Windows Desktop app data directory)
  • ~/Library/Application Support/ComfyUI (macOS)
  • ~/AppData/Local/Programs/ComfyUI/resources/ComfyUI (Windows Desktop app install)
  • ~/AppData/Local/ComfyUI (Windows)
  • ~/ComfyUI, ~/code/ComfyUI, ~/projects/ComfyUI, ~/src/ComfyUI
  • /opt/ComfyUI, ~/.local/share/ComfyUI (Linux)
  • Scans ~/Documents and ~/My Documents for any directory containing "ComfyUI"

Set COMFYUI_PATH to skip detection and use an explicit path.


How It Works

The server communicates with ComfyUI through its REST API and WebSocket interface:

  • WebSocket โ€” enqueue workflows, receive real-time progress updates (step-by-step via background monitor script), get execution results
  • REST API โ€” system stats, node definitions (/object_info), logs, history, queue management, workflow library, VRAM control (/free), embeddings
  • File system โ€” read/write models directory, detect installation paths, upload images, extract PNG metadata, browse outputs
  • External APIs โ€” HuggingFace (model search), ComfyUI Registry (custom node discovery), GitHub (skill generation), CivitAI (model downloads)

All communication with the MCP client (Claude Code) happens over stdio using the Model Context Protocol. Logs go to stderr to avoid polluting the protocol stream.


Development

Prerequisites

  • Node.js >= 22.0.0
  • ComfyUI running locally

Setup

bash
git clone https://github.com/artokun/comfyui-mcp.git
cd comfyui-mcp
npm install

Scripts

ScriptDescription
npm run devRun from source with tsx (hot reload)
npm run buildCompile TypeScript to dist/
npm startRun compiled output
npm testRun unit tests (vitest)
npm run test:integrationRun integration tests (requires running ComfyUI)
npm run lintType-check without emitting
npm run generations:statsShow local generation tracking statistics
npm run sync-agentsSync Claude skills/commands/hooks to Google Antigravity, OpenCode, and other AI IDE formats that supports .agents files

Local testing with Claude Code

Point Claude Code at your local build instead of the npm package:

config.json
{
  "mcpServers": {
    "comfyui": {
      "command": "node",
      "args": ["/path/to/comfyui-mcp/dist/index.js"],
      "env": {}
    }
  }
}

Or test the plugin directly:

Terminal
claude --plugin-dir ./plugin

Project structure

Code
model-settings.json            # Community-maintained model presets (shipped)
model-settings.user.jsonc.example  # User override template (copied on install)
scripts/
  postinstall.mjs              # Auto-creates user config from template
  generation-stats.mjs         # CLI: npm run generations:stats
src/
  index.ts                 # MCP server entry point (stdio transport)
  config.ts                # Auto-detection & environment config
  comfyui/
    client.ts              # ComfyUI WebSocket/HTTP client wrapper
    types.ts               # TypeScript interfaces
  services/
    workflow-executor.ts   # Execute workflows, handle images & errors
    workflow-composer.ts   # Templates (txt2img, img2img, upscale, inpaint)
    workflow-validator.ts  # Dry-run validation (missing nodes, models, connections)
    image-management.ts    # Upload images, extract PNG metadata, list outputs
    mermaid-converter.ts   # Workflow โ†’ Mermaid diagram
    workflow-converter.ts  # UI โ†’ API: de-virtualize Get/Set buses + Reroutes, expand subgraphs, resolve bypass (powers get_workflow's strip action)
    workflow-slicer.ts     # sliceWorkflow() โ€” rgthree Fast-Groups-Bypass pipeline un-chunker (shared by the CLI + get_workflow's slice action)
    mermaid-parser.ts      # Mermaid diagram โ†’ Workflow
    model-resolver.ts      # HuggingFace search, local models, downloads
    generation-tracker.ts  # SQLite generation log, settings dedup, stats
    file-hasher.ts         # SHA256 hashing of .safetensors with cache
    workflow-settings-extractor.ts  # Extract settings from workflow JSON
    process-control.ts     # Stop, start, restart ComfyUI process
    registry-client.ts     # ComfyUI Registry API
    skill-generator.ts     # Generate node pack skill docs
  tools/                   # MCP tool registration (one file per group)
    workflow-execute.ts    # enqueue_workflow, get_system_stats
    workflow-visualize.ts  # visualize_workflow (render/render_hierarchical/mermaid/to_dsl/from_dsl)
    workflow-compose.ts    # create_workflow (create/modify/validate/node_info)
    workflow-validate.ts   # the validate action's body
    workflow-library.ts    # get_workflow (8 read actions), save_workflow (save/lock/verify_lock)
    image-management.ts    # get_image (7 read actions), upload_image (5 write actions)
    model-management.ts    # download_model, list_local_models (the two consolidated model tools)
    memory-management.ts   # clear_vram
    registry-search.ts     # search_custom_nodes (search/details)
    node-management.ts     # install_custom_node (install/update/fix/uninstall/enable/disable/list/โ€ฆ)
    node-pack.ts           # node_pack (scaffold/verify/publish/read/write/patch/git/โ€ฆ)
    generation-tracker.ts  # the get_history suggest/stats jobs
    diagnostics.ts         # get_system_stats (action:"logs"), get_history
    process-control.ts     # restart_comfyui (restart/start/stop)
    index.ts               # Registers all tool groups
  utils/
    errors.ts              # Custom error hierarchy with MCP integration
    logger.ts              # stderr-only logging (safe for stdio transport)
    image.ts               # Base64 encoding utilities
plugin/
  .claude-plugin/          # Plugin manifest
  .mcp.json                # MCP server config for plugin
  commands/                # Slash commands
    gen.md                 # /comfy:gen โ€” image generation
    viz.md                 # /comfy:viz โ€” workflow visualization
    node-skill.md          # /comfy:node-skill โ€” skill generation
    debug.md               # /comfy:debug โ€” failure diagnosis
    batch.md               # /comfy:batch โ€” parameter sweeps
    convert.md             # /comfy:convert โ€” format conversion
    install.md             # /comfy:install โ€” node pack installation
    gallery.md             # /comfy:gallery โ€” output browser
    compare.md             # /comfy:compare โ€” workflow diff
    recipe.md              # /comfy:recipe โ€” multi-step pipelines
  skills/                  # Knowledge bases
    comfyui-core/          # Workflow format, node types, pipeline patterns
    prompt-engineering/    # CLIP syntax, model-specific prompting
    troubleshooting/       # Error catalog with patterns and fixes
    model-compatibility/   # Compatibility matrix per model family
  agents/                  # Autonomous agents
    explorer.md            # Research custom node packs, generate skills
    debugger.md            # Diagnose workflow failures
    optimizer.md           # Analyze and optimize workflows
  hooks/                   # Pre/post tool-use hooks
    hooks.json             # Hook configuration
    vram-check.mjs         # VRAM watchdog before execution
    save-warning.mjs       # Save prompt before stop/restart
    job-complete-notify.mjs # Job completion notification via temp files
  scripts/                 # Background scripts
    monitor-progress.mjs   # Real-time WebSocket progress monitor

Troubleshooting

"ComfyUI not detected on ports 8188, 8000" Make sure ComfyUI is running. The Desktop app uses port 8000 by default; the CLI uses 8188. Set COMFYUI_PORT if you're using a custom port.

"COMFYUI_PATH is not configured" The auto-detection couldn't find your ComfyUI data directory. Set COMFYUI_PATH to the directory containing your models/ folder (e.g., ~/Documents/ComfyUI).

"Multiple ComfyUI installations detected" This is informational โ€” the server uses the first one found. Set COMFYUI_PATH to pick a specific installation.

Model downloads fail For HuggingFace gated models, set HUGGINGFACE_TOKEN. For CivitAI, set CIVITAI_API_TOKEN.

Workflow execution errors Use /comfy:debug to automatically diagnose failures. Or use get_history (action: "diagnose") / get_system_stats (action:"logs") directly to see detailed error messages including Python tracebacks from ComfyUI.

Out of memory (OOM) Use clear_vram to free GPU memory before running large workflows. The VRAM watchdog hook will warn you automatically if memory is critically low. See the troubleshooting skill for model-specific VRAM estimates.

Missing custom nodes Use /comfy:install <pack> to install missing node packs from the registry. The debug command will detect and suggest missing packs automatically.


Contributing

Contributions are welcome! See CONTRIBUTING.md for the dev setup, project conventions, how to add an MCP tool, and the release process.

Quick version: fork โ†’ branch (feat/my-feature) โ†’ make changes (ensure npm run build and npm test pass; run npm run docs:gen if you touched tools) โ†’ open a PR.


Maintainer

Built and maintained by @artokun โ€” a regular contributor across the Comfy-Org ecosystem:

  • Comfy-Org/ComfyUI_frontend โ€” 10 merged PRs, mostly on the v2 graph renderer: subgraph rendering, promoted-widget plumbing, viewport persistence, with backports across cloud/1.41, cloud/1.42, core/1.41, and core/1.42.
  • Comfy-Org/ComfyUI (core) โ€” crash fixes in the Python backend's video/audio save path (#12683, #12550).

Comfy-Org folks (or anyone hiring around the ComfyUI ecosystem): I'd genuinely love to chat โ€” art.longbottom.jr@gmail.com.


License

MIT โ€” see LICENSE for details.


Changelog

See CHANGELOG.md for the full, structured release history.

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    ๐Ÿ’ป Developer Tools7 views
    Compare vs Claude Task Master โ†’
  • C
    Chinese Text Tools

    Claude Code ไธญๆ–‡ๅ†™ไฝœๅ››ๅˆไธ€ๅทฅๅ…ท็ฎฑ๏ผšๆ–‡ๆœฌๅˆ†ๆž๏ผˆๅญ—ๆ•ฐ/ๆฎต่ฝ/้˜…่ฏปๆ—ถ้—ด๏ผ‰ใ€็ป“ๆž„ๅŒ–ๅคง็บฒ็”Ÿๆˆ๏ผˆ่ฎบๆ–‡/ๅฐ่ฏด/ๅ•†ไธš่ฎกๅˆ’ไนฆ๏ผ‰ใ€GB/T 7714 ๅ‚่€ƒๆ–‡็Œฎๆ ผๅผๅŒ–ใ€ไธญๆ–‡ๅญ—้ข‘็ปŸ่ฎกใ€‚็บฏๆœฌๅœฐ่ฟ่กŒใ€‚

    ๐Ÿ’ป Developer Tools1 views
    Compare vs Chinese Text Tools โ†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Ai Netcafe โ†’
  • Shadcn Ui Mcp Server logoShadcn Ui Mcp Server

    MCP server that gives AI assistants seamless access to shadcn/ui v4 components, blocks, demos, and metadata.

    ๐Ÿ’ป Developer Tools2 views
    Compare vs Shadcn Ui Mcp Server โ†’

Frequently Asked Questions about Comfyui Mcp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "comfyui-mcp": { "command": "npx", "args": ["-y", "comfyui-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewComfyui Mcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/comfyui-mcp-2?style=directory)](https://allmcps.com/mcp/comfyui-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/comfyui-mcp-2"><img src="https://allmcps.com/api/badge/comfyui-mcp-2?style=directory" alt="Comfyui Mcp on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging ยท 27/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge โ€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Comfyui Mcp โ†’Install in Claude DesktopInstall in CursorInstall in VS Code