{
  "slug": "io-github-comfy-org-comfy-mcp",
  "name": "comfy-mcp",
  "auditedAt": "2026-11-23T13:23:59Z",
  "version": "0.11.0",
  "ecosystem": "pypi",
  "package": "comfy-mcp",
  "disclaimer": "Automated smoke test, not a security guarantee.",
  "complete": true,
  "checks": {
    "versionPin": {
      "status": "pass",
      "detail": "Pinned pypi comfy-mcp@0.11.0",
      "version": "0.11.0"
    },
    "vulnerabilities": {
      "status": "pass",
      "detail": "No critical, high, or medium advisories were returned.",
      "critical": 0,
      "high": 0,
      "medium": 0,
      "low": 0,
      "packagesScanned": 1
    },
    "license": {
      "status": "pass",
      "detail": "AGPL-3.0-or-later OR LicenseRef-Comfy-Commercial",
      "spdx": "AGPL-3.0-or-later OR LicenseRef-Comfy-Commercial"
    },
    "installScripts": {
      "status": "pass",
      "detail": "No preinstall, install, postinstall, or prepare script.",
      "scripts": []
    },
    "secrets": {
      "status": "pass",
      "detail": "No credential patterns in the published artifact.",
      "findings": []
    },
    "packageSize": {
      "status": "pass",
      "detail": "385534 bytes",
      "bytes": 385534
    },
    "activity": {
      "status": "pass",
      "detail": "Active 0 days ago.",
      "ageDays": 0
    },
    "sandbox": {
      "status": "pass",
      "detail": "MCP handshake completed. 41 tools listed.",
      "starts": true,
      "handshake": true,
      "timeToReadyMs": 1190,
      "tools": [
        {
          "name": "server_info",
          "description": "Report the local ComfyUI/comfy-cli environment and verify compatibility.\n\nWraps ``comfy env``. Call this first to confirm a local ComfyUI is up before\nrunning a workflow.\n\nReturns:\n    ``running``/``url``/``workspace``/``python`` \u2014 the LOCA"
        },
        {
          "name": "auth_status",
          "description": "Comfy Cloud credential status for partner-API nodes (read-only; never returns secrets).\n\nWraps ``comfy cloud whoami``. Call before running a workflow whose nodes hit\npartner APIs (Seedream / Veo / Kling / Gemini / \u2026) to self-diagnose.\n\nRetu"
        },
        {
          "name": "billing_status",
          "description": "Comfy Cloud credit balance, plan tier and job concurrency \u2014 READ-ONLY, spends nothing.\n\nWraps ``comfy cloud status``. The tool for \"how many credits do I have\",\n\"what plan am I on\", \"when does it renew\" and \"how many jobs can I run at\nonce\""
        },
        {
          "name": "auth_login",
          "description": "Start Comfy Cloud sign-in; returns an OAuth URL for the USER to open.\n\nWraps ``comfy cloud login --no-browser``; sign-in continues in the\nbackground, so this call returns fast, not a ten-minute block. Give the\nuser ``login_url``, let them f"
        },
        {
          "name": "run_workflow",
          "description": "Run a ComfyUI workflow JSON on the ComfyUI this server targets.\n\nThat is this machine unless ``COMFYUI_URL``/``COMFYUI_HOST`` points the\nrun/job tools at another one. Wraps ``comfy run --workflow <path>``;\naccepts an API-format or UI-export"
        },
        {
          "name": "generate_image",
          "description": "Generate an image from a text prompt \u2014 the fast on-ramp.\n\nRuns the built-in text-to-image template via ``comfy run-template``\n(override with ``COMFY_T2I_TEMPLATE`` + matching slot envs) \u2014 same path/target\nas ``run_workflow``: this machine u"
        },
        {
          "name": "list_partner_models",
          "description": "List the hosted PARTNER models ``partner_generate`` can run.\n\nWraps ``comfy generate list`` \u2014 the ONLY source of the partner alias\ncatalog (``nodes``/``search_templates`` read the local install).\n\nArgs:\n    style/partner/query: filters forw"
        },
        {
          "name": "partner_model_schema",
          "description": "Show one partner model's callable parameters \u2014 the input to ``partner_generate``.\n\nWraps ``comfy generate schema <model>``. ``model`` is an alias from\n``list_partner_models``. Reads the spec only \u2014 no partner API call, no spend.\n\nReturns: `"
        },
        {
          "name": "partner_generate",
          "description": "Run a hosted PARTNER model (Flux / Ideogram / DALL\u00b7E / Recraft / \u2026) \u2014 SPENDS CREDITS.\n\nWraps ``comfy generate <model> [--param=value]\u2026``. Runs entirely on the\nPARTNER's infrastructure \u2014 the user's local ComfyUI never executes anything.\nFor "
        },
        {
          "name": "emit_partner_workflow",
          "description": "Write a runnable workflow that drives a partner model's NODE on LOCAL ComfyUI.\n\nWraps ``comfy generate <model> --emit-workflow <out_path>``. Writes an\nAPI-format graph containing the partner's API node and returns \u2014 calls no\npartner API, sp"
        },
        {
          "name": "run_template",
          "description": "Run a gallery template \u2014 fetch, fill params, execute.\n\nWraps ``comfy run-template <name> [--param=KEY=VALUE]\u2026`` (fetches the\ngraph, fills its slots, runs via the same path as ``run_workflow``) \u2014 the\none-command alternative to ``search_templ"
        },
        {
          "name": "job",
          "description": "Inspect, wait on, watch, or cancel a submitted job \u2014 one action per call.\n\nWraps the `comfy jobs` family. `action`:\n- \"status\" (default) -> `comfy jobs status <prompt_id>`: status + outputs.\n- \"error\" -> same call, normalized: `error_code` "
        },
        {
          "name": "system_stats",
          "description": "Read the live local ComfyUI's VRAM per device and system RAM.\n\nWraps ``comfy system-stats`` (ComfyUI's own ``GET /system_stats``).\nForwarded near-verbatim: a ``devices`` list (per-device\n``vram_free``/``vram_total`` bytes) plus a ``system``"
        },
        {
          "name": "free_memory",
          "description": "Ask the local ComfyUI to unload models / reset its executor cache.\n\nWraps ``comfy free`` (ComfyUI's own ``POST /free``). Pair with\n``system_stats`` for the before/after.\n\nArgs:\n    unload_models: True (default) unloads all models from VRAM."
        },
        {
          "name": "fetch_outputs",
          "description": "Download a completed job's output files into ``out_dir``.\n\nWraps ``comfy download <prompt_id> --where local -o <out_dir>``.\n``url_only=True`` emits URLs without downloading.\n\nRemote jobs work although ``download`` is not in\n``_TARGET_AWARE_"
        },
        {
          "name": "preview_media",
          "description": "Render local media as a PNG through ``comfy preview``.\n\ncomfy-cli owns classification and creates a thumbnail, video contact sheet,\nor audio waveform. ``inline_image=True`` appends the bounded PNG to its\nmetadata; false returns metadata onl"
        },
        {
          "name": "launch_comfyui",
          "description": "Start the LOCAL ComfyUI server, detached, and return once it is up.\n\nWraps ``comfy launch --background``, recording its pid so ``stop_comfyui``\ncan shut it down. ``extra_args`` forward to ComfyUI after a ``--``\nseparator. Call ``server_info"
        },
        {
          "name": "stop_comfyui",
          "description": "Stop the LOCAL ComfyUI server that comfy-cli launched.\n\nWraps ``comfy stop``. comfy-cli only kills the pid it recorded when IT\nlaunched the server (via ``launch_comfyui``) \u2014 it cannot stop a ComfyUI\nstarted by the desktop app or by hand, an"
        },
        {
          "name": "restart_comfyui",
          "description": "Restart the LOCAL ComfyUI server: stop the running one, then launch a fresh one.\n\nComposes ``stop_comfyui`` + ``launch_comfyui`` (no ``comfy restart`` verb);\n``extra_args`` forward to the new server. Returns the new server's status.\n\n**LOCA"
        },
        {
          "name": "update_comfyui",
          "description": "Update the LOCAL install \u2014 ComfyUI core, the custom node packs (asks\nfirst), or comfy-cli.\n\nWraps ``comfy update <target>``.\n\nArgs:\n    target: ``\"comfy\"`` (default) updates ComfyUI core (``git pull`` +\n        reinstall). ``\"all\"`` updates"
        },
        {
          "name": "switch_comfyui_version",
          "description": "Move the LOCAL ComfyUI install to a specific version \u2014 DESTRUCTIVE, asks first.\n\nWraps ``comfy update comfy --version <version>``: stashes uncommitted\nchanges, moves the checkout, reinstalls dependencies. Use to roll BACK \u2014\n``update_comfyui"
        },
        {
          "name": "install_node",
          "description": "Install custom node packs into the LOCAL ComfyUI \u2014 runs third-party code, asks first.\n\nWraps ``comfy node install <name...> --exit-on-fail``. Feed it registry pack\nids (e.g. ``\"comfyui-impact-pack\"``) from ``nodes`` /\n``workflow_deps`` \u2014 ne"
        },
        {
          "name": "get_logs",
          "description": "Return the tail of the LOCAL background ComfyUI's captured log file.\n\nWraps ``comfy logs --tail <tail>`` \u2014 reads comfy-cli's persisted\nstdout/stderr file, the only way to see a detached server's output.\nReturns ``{lines, path, truncated}``."
        },
        {
          "name": "discover",
          "description": "Return comfy-cli's self-describing command surface (its own contract).\n\nWraps ``comfy discover`` so an agent can learn the CLI's contract at\nruntime instead of hard-coding it.\n\nArgs:\n    schemas_only: forwards ``--schemas-only`` to the CLI "
        },
        {
          "name": "which",
          "description": "Report which ComfyUI install/workspace comfy-cli currently targets.\n\nWraps ``comfy which``. A lightweight \"which one is selected?\" answer; note\nthat ``server_info`` (``comfy env``) already reports the same selected\nworkspace alongside the r"
        },
        {
          "name": "project",
          "description": "Report or create the operator-anchored comfy-cli project (`project/1`).\n\n`action=\"status\"` -> `comfy project status`; `\"init\"` -> `comfy project\ninit` (creates `comfy.yaml` + dirs; `project_already_exists` if already\ngoverned \u2014 try `action="
        },
        {
          "name": "search_templates",
          "description": "Search the built-in ComfyUI workflow-template gallery.\n\nWraps ``comfy templates ls`` (~558 rows, narrows/pages it). Returns\n``{\"total\", \"shown\", \"offset\", \"rows\"}`` \u2014 rows projected to\n``name/title/description/output_type/tags/category_titl"
        },
        {
          "name": "get_template",
          "description": "Show one template's details/schema, and whether your install can run it.\n\nWraps ``comfy templates show <name>``. Step 2 of the on-ramp: inspect\nbefore ``fetch_template(name, out_path)`` writes the runnable JSON.\n\nArgs:\n    check_local: True"
        },
        {
          "name": "fetch_template",
          "description": "Write a template's runnable workflow JSON to ``out_path``; report if it can run here.\n\nWraps ``comfy templates fetch <name> --out <path>``. Returns ``{\"path\": ...,\n\"local_check\": {...}}`` \u2014 completing the on-ramp::\n\n    result = fetch_templ"
        },
        {
          "name": "nodes",
          "description": "Search, inspect, or graph-walk a node catalog.\n\nWraps the `comfy nodes` family (`object_info`, incl. custom nodes).\n`action`:\n- \"search\" (default) -> `nodes search <query>`: find a class name by\n  keyword. Case-insensitive, word-order-indep"
        },
        {
          "name": "node_dependencies",
          "description": "Report a custom node pack's Python dependency requirements vs the installed venv (read-only).\n\nWraps ``comfy node deps``. Unlike ``nodes``, this reads the venv's\n``pip list``, not ``object_info``. Nothing is installed or changed.\n\nArgs:\n   "
        },
        {
          "name": "workflow_deps",
          "description": "Map a workflow's node classes to the node PACKS that provide them (read-only).\n\nWraps ``comfy node deps-in-workflow``. Closes the loop\n``validate_workflow`` opens::\n\n    validate_workflow -> workflow_deps -> install_node -> restart_comfyui\n"
        },
        {
          "name": "search_models",
          "description": "Search / list model files available to the LOCAL ComfyUI install.\n\nThree modes: ``query`` -> ``comfy models search --text <query>``\n(filename match, all folders on v1.14.0+, ``checkpoints`` only below the\nfloor); else ``folder`` -> ``comfy "
        },
        {
          "name": "download_model",
          "description": "Download a model file into the LOCAL ComfyUI models dir, by URL.\n\nWraps ``comfy model download --url <url> [--relative-path <path>]\n[--filename <name>] --background`` (the singular ``model`` verb, not the\n``models`` catalog ``search_models`"
        },
        {
          "name": "download",
          "description": "Track a transfer already started by download_model; does NOT start one.\n\nWraps `comfy model download-status`/`download-cancel`. `action`:\n- \"status\" (default) -> status, completed_bytes/total_bytes/percent,\n  elapsed_seconds, dest, error. c"
        },
        {
          "name": "upload_file",
          "description": "Upload files from this machine into the target ComfyUI's ``input`` directory.\n\nWraps ``comfy upload <files...> --overwrite/--no-overwrite``. Stages\nsource images/masks a workflow references by filename \u2014 required for\nimg2img/inpaint.\n\nArgs:"
        },
        {
          "name": "validate_workflow",
          "description": "Pre-flight a workflow against a node catalog before running it.\n\nWraps ``comfy validate --workflow <path> [--input <object_info.json>]``.\nChecks class_types, input shapes, enums and wiring against live\n``object_info`` or the saved ``object_"
        },
        {
          "name": "list_workflow_slots",
          "description": "List the agent-tweakable slots a frontend-format workflow exposes.\n\nWraps ``comfy workflow slots <path>``. A \"slot\" is a parameter comfy-cli\nsurfaces as a stable ``ADDR`` (prompt text, seed, step count, model name)\nplus its current value, s"
        },
        {
          "name": "list_workflow_notes",
          "description": "List the documentation notes a frontend-format workflow carries.\n\nWraps ``comfy workflow notes <path>``. Surfaces ``Note``/``MarkdownNote``\ntext (trigger words, model links, usage instructions) \u2014 not included in\n``list_workflow_slots``. Nee"
        },
        {
          "name": "set_workflow_slot",
          "description": "Set one or more slot values on a frontend-format workflow.\n\nWraps ``comfy workflow set-slot <path> ADDR=VALUE [ADDR=VALUE ...]`` \u2014 the\nparameterize step of the template on-ramp: change the prompt/seed/steps/\nmodel without hand-editing the J"
        },
        {
          "name": "vary_workflow",
          "description": "Fan a frontend-format workflow out into variants over slot value lists.\n\nWraps ``comfy workflow vary <path> --slot \"ADDR=[v1,v2,...]\" [--slot ...]``,\none entry per address (from ``list_workflow_slots``). comfy-cli ZIPS the\nvalue lists \u2014 eve"
        }
      ],
      "toolCount": 41,
      "resourceCount": 0,
      "promptCount": 0,
      "stderrExcerpt": "",
      "network": "disabled",
      "networkAttemptedWhileOffline": false,
      "outboundHosts": [],
      "requiresCredentials": false
    }
  },
  "tier": "gold",
  "tierReason": "Sandbox handshake completed and the published checks passed.",
  "logExcerpt": ""
}