comfy-mcp server audit
23 Nov 2026 · Re-tested every Monday
io.github.Comfy-Org/comfy-mcp
comfy-mcp server audit: 0.11.0 is Audited (re-tested 23 Nov 2026). In our sandbox, with the network off, it completed the MCP handshake in 1.2 s and listed 41 tools, including server_info, auth_status and billing_status. All 8 checks passed: 0 known advisories, no install scripts, no credential patterns in the package. Context cost: about 16,200 tokens.
Drive the ComfyUI installed on your own machine: generate, monitor jobs, and build workflows.
Tools (41)
Context cost: ~16,200 tokens (41 tools) how measured
- server_info Report the local ComfyUI/comfy-cli environment and verify compatibility. Wraps ``comfy env``. Call this first to confirm a local ComfyUI is up before running a workflow. Returns: ``running``/``url``/``workspace``/``python`` — the LOCA
- auth_status Comfy Cloud credential status for partner-API nodes (read-only; never returns secrets). Wraps ``comfy cloud whoami``. Call before running a workflow whose nodes hit partner APIs (Seedream / Veo / Kling / Gemini / …) to self-diagnose. Retu
- billing_status Comfy Cloud credit balance, plan tier and job concurrency — READ-ONLY, spends nothing. Wraps ``comfy cloud status``. The tool for "how many credits do I have", "what plan am I on", "when does it renew" and "how many jobs can I run at once"
- auth_login Start Comfy Cloud sign-in; returns an OAuth URL for the USER to open. Wraps ``comfy cloud login --no-browser``; sign-in continues in the background, so this call returns fast, not a ten-minute block. Give the user ``login_url``, let them f
- run_workflow Run a ComfyUI workflow JSON on the ComfyUI this server targets. That is this machine unless ``COMFYUI_URL``/``COMFYUI_HOST`` points the run/job tools at another one. Wraps ``comfy run --workflow <path>``; accepts an API-format or UI-export
- generate_image Generate an image from a text prompt — the fast on-ramp. Runs the built-in text-to-image template via ``comfy run-template`` (override with ``COMFY_T2I_TEMPLATE`` + matching slot envs) — same path/target as ``run_workflow``: this machine u
- list_partner_models List the hosted PARTNER models ``partner_generate`` can run. Wraps ``comfy generate list`` — the ONLY source of the partner alias catalog (``nodes``/``search_templates`` read the local install). Args: style/partner/query: filters forw
- partner_model_schema Show one partner model's callable parameters — the input to ``partner_generate``. Wraps ``comfy generate schema <model>``. ``model`` is an alias from ``list_partner_models``. Reads the spec only — no partner API call, no spend. Returns: `
- partner_generate Run a hosted PARTNER model (Flux / Ideogram / DALL·E / Recraft / …) — SPENDS CREDITS. Wraps ``comfy generate <model> [--param=value]…``. Runs entirely on the PARTNER's infrastructure — the user's local ComfyUI never executes anything. For
- emit_partner_workflow Write a runnable workflow that drives a partner model's NODE on LOCAL ComfyUI. Wraps ``comfy generate <model> --emit-workflow <out_path>``. Writes an API-format graph containing the partner's API node and returns — calls no partner API, sp
- run_template Run a gallery template — fetch, fill params, execute. Wraps ``comfy run-template <name> [--param=KEY=VALUE]…`` (fetches the graph, fills its slots, runs via the same path as ``run_workflow``) — the one-command alternative to ``search_templ
- job Inspect, wait on, watch, or cancel a submitted job — one action per call. Wraps the `comfy jobs` family. `action`: - "status" (default) -> `comfy jobs status <prompt_id>`: status + outputs. - "error" -> same call, normalized: `error_code`
- system_stats Read the live local ComfyUI's VRAM per device and system RAM. Wraps ``comfy system-stats`` (ComfyUI's own ``GET /system_stats``). Forwarded near-verbatim: a ``devices`` list (per-device ``vram_free``/``vram_total`` bytes) plus a ``system``
- free_memory Ask the local ComfyUI to unload models / reset its executor cache. Wraps ``comfy free`` (ComfyUI's own ``POST /free``). Pair with ``system_stats`` for the before/after. Args: unload_models: True (default) unloads all models from VRAM.
- fetch_outputs Download a completed job's output files into ``out_dir``. Wraps ``comfy download <prompt_id> --where local -o <out_dir>``. ``url_only=True`` emits URLs without downloading. Remote jobs work although ``download`` is not in ``_TARGET_AWARE_
- preview_media Render local media as a PNG through ``comfy preview``. comfy-cli owns classification and creates a thumbnail, video contact sheet, or audio waveform. ``inline_image=True`` appends the bounded PNG to its metadata; false returns metadata onl
- launch_comfyui Start the LOCAL ComfyUI server, detached, and return once it is up. Wraps ``comfy launch --background``, recording its pid so ``stop_comfyui`` can shut it down. ``extra_args`` forward to ComfyUI after a ``--`` separator. Call ``server_info
- stop_comfyui Stop the LOCAL ComfyUI server that comfy-cli launched. Wraps ``comfy stop``. comfy-cli only kills the pid it recorded when IT launched the server (via ``launch_comfyui``) — it cannot stop a ComfyUI started by the desktop app or by hand, an
- restart_comfyui Restart the LOCAL ComfyUI server: stop the running one, then launch a fresh one. Composes ``stop_comfyui`` + ``launch_comfyui`` (no ``comfy restart`` verb); ``extra_args`` forward to the new server. Returns the new server's status. **LOCA
- update_comfyui Update the LOCAL install — ComfyUI core, the custom node packs (asks first), or comfy-cli. Wraps ``comfy update <target>``. Args: target: ``"comfy"`` (default) updates ComfyUI core (``git pull`` + reinstall). ``"all"`` updates
- switch_comfyui_version Move the LOCAL ComfyUI install to a specific version — DESTRUCTIVE, asks first. Wraps ``comfy update comfy --version <version>``: stashes uncommitted changes, moves the checkout, reinstalls dependencies. Use to roll BACK — ``update_comfyui
- install_node Install custom node packs into the LOCAL ComfyUI — runs third-party code, asks first. Wraps ``comfy node install <name...> --exit-on-fail``. Feed it registry pack ids (e.g. ``"comfyui-impact-pack"``) from ``nodes`` / ``workflow_deps`` — ne
- get_logs Return the tail of the LOCAL background ComfyUI's captured log file. Wraps ``comfy logs --tail <tail>`` — reads comfy-cli's persisted stdout/stderr file, the only way to see a detached server's output. Returns ``{lines, path, truncated}``.
- discover Return comfy-cli's self-describing command surface (its own contract). Wraps ``comfy discover`` so an agent can learn the CLI's contract at runtime instead of hard-coding it. Args: schemas_only: forwards ``--schemas-only`` to the CLI
- which Report which ComfyUI install/workspace comfy-cli currently targets. Wraps ``comfy which``. A lightweight "which one is selected?" answer; note that ``server_info`` (``comfy env``) already reports the same selected workspace alongside the r
- project Report or create the operator-anchored comfy-cli project (`project/1`). `action="status"` -> `comfy project status`; `"init"` -> `comfy project init` (creates `comfy.yaml` + dirs; `project_already_exists` if already governed — try `action=
- search_templates Search the built-in ComfyUI workflow-template gallery. Wraps ``comfy templates ls`` (~558 rows, narrows/pages it). Returns ``{"total", "shown", "offset", "rows"}`` — rows projected to ``name/title/description/output_type/tags/category_titl
- get_template Show one template's details/schema, and whether your install can run it. Wraps ``comfy templates show <name>``. Step 2 of the on-ramp: inspect before ``fetch_template(name, out_path)`` writes the runnable JSON. Args: check_local: True
- fetch_template Write a template's runnable workflow JSON to ``out_path``; report if it can run here. Wraps ``comfy templates fetch <name> --out <path>``. Returns ``{"path": ..., "local_check": {...}}`` — completing the on-ramp:: result = fetch_templ
- nodes Search, inspect, or graph-walk a node catalog. Wraps the `comfy nodes` family (`object_info`, incl. custom nodes). `action`: - "search" (default) -> `nodes search <query>`: find a class name by keyword. Case-insensitive, word-order-indep
- node_dependencies Report a custom node pack's Python dependency requirements vs the installed venv (read-only). Wraps ``comfy node deps``. Unlike ``nodes``, this reads the venv's ``pip list``, not ``object_info``. Nothing is installed or changed. Args:
- workflow_deps Map a workflow's node classes to the node PACKS that provide them (read-only). Wraps ``comfy node deps-in-workflow``. Closes the loop ``validate_workflow`` opens:: validate_workflow -> workflow_deps -> install_node -> restart_comfyui
- search_models Search / list model files available to the LOCAL ComfyUI install. Three modes: ``query`` -> ``comfy models search --text <query>`` (filename match, all folders on v1.14.0+, ``checkpoints`` only below the floor); else ``folder`` -> ``comfy
- download_model Download a model file into the LOCAL ComfyUI models dir, by URL. Wraps ``comfy model download --url <url> [--relative-path <path>] [--filename <name>] --background`` (the singular ``model`` verb, not the ``models`` catalog ``search_models`
- download Track a transfer already started by download_model; does NOT start one. Wraps `comfy model download-status`/`download-cancel`. `action`: - "status" (default) -> status, completed_bytes/total_bytes/percent, elapsed_seconds, dest, error. c
- upload_file Upload files from this machine into the target ComfyUI's ``input`` directory. Wraps ``comfy upload <files...> --overwrite/--no-overwrite``. Stages source images/masks a workflow references by filename — required for img2img/inpaint. Args:
- validate_workflow Pre-flight a workflow against a node catalog before running it. Wraps ``comfy validate --workflow <path> [--input <object_info.json>]``. Checks class_types, input shapes, enums and wiring against live ``object_info`` or the saved ``object_
- list_workflow_slots List the agent-tweakable slots a frontend-format workflow exposes. Wraps ``comfy workflow slots <path>``. A "slot" is a parameter comfy-cli surfaces as a stable ``ADDR`` (prompt text, seed, step count, model name) plus its current value, s
- list_workflow_notes List the documentation notes a frontend-format workflow carries. Wraps ``comfy workflow notes <path>``. Surfaces ``Note``/``MarkdownNote`` text (trigger words, model links, usage instructions) — not included in ``list_workflow_slots``. Nee
- set_workflow_slot Set one or more slot values on a frontend-format workflow. Wraps ``comfy workflow set-slot <path> ADDR=VALUE [ADDR=VALUE ...]`` — the parameterize step of the template on-ramp: change the prompt/seed/steps/ model without hand-editing the J
- vary_workflow Fan a frontend-format workflow out into variants over slot value lists. Wraps ``comfy workflow vary <path> --slot "ADDR=[v1,v2,...]" [--slot ...]``, one entry per address (from ``list_workflow_slots``). comfy-cli ZIPS the value lists — eve
Install
uvx comfy-mcp==0.11.0
Version history
- : first listed at version 0.11.0, Audited
Audit report
Automated checks, not a security guarantee or a certification by any client. Payment never changes a score or a tier. How listings are checked.
- Version
- 0.11.0
- Audited
- 23 Nov 2026 · Re-tested every Monday
- Package
- pypi comfy-mcp
- Advisories
- 0 critical, 0 high, 0 medium, 0 low
- Time to ready
- 1190 ms
- Network
- Disabled
- Context cost
- ~16,200 tokens (41 tools) how measured
- Pass Version. Pinned pypi comfy-mcp@0.11.0
- Pass Known vulnerabilities
- Pass License. AGPL-3.0-or-later OR LicenseRef-Comfy-Commercial
- Pass Install scripts
- Pass Credential patterns
- Pass Package size. 376.5 KB
- Pass Maintainer activity. Active 0 days ago.
- Pass Sandbox. MCP handshake completed. 41 tools listed.
Built for
Any MCP client.
Transports: stdio.
Links
Metadata checks
- Repository activity: Active in the last 180 days
- License: No recognized SPDX id
- Metadata quality: High
Audited by AddonAudit · 23 Nov 2026
Free to use; updates after each weekly re-test. Dark, HTML and self-hosted formats.
Badge
[](https://addonaudit.com/addon/io-github-comfy-org-comfy-mcp/)
Seal
[](https://addonaudit.com/addon/io-github-comfy-org-comfy-mcp/)