MCP server · Audited from source
ComfyUI MCP server
by artokun/comfyui-mcpMIT licenceAudited 30 Sep 2026 · source 28c3301c636c
Is it safe? No — BLOCK, grade F (25/100). It exposes 70 tools: 50 read, 16 write and 4 destructive. The audit recorded 62 findings (0 critical, 8 high, 14 medium, 35 low). Maintainer's description: 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 inst
Cite
Cite this page
ModelsAtlas. “ComfyUI MCP server (artokun/comfyui-mcp)”. Retrieved 30 Sep 2026. https://modelsatlas.com/mcp/artokun/comfyui-9
Why this is BLOCK. The audit found 0 critical and 8 high findings; the most severe is Network egress at src/orchestrator/index.ts:1476. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
2 MCP servers are called ComfyUI. You are viewing artokun/comfyui-mcp. Compare all 2 →
- joenorton/comfyui-mcp-server★ 408✓SAFE
- artokun/comfyui-mcp★ 773✕BLOCK
Trust audit
Audit 0.4.1 · full source read 30 Sep 2026
62 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared11 observations
- ShellDeclared5 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (62)
Sorted by severity · the 25 most severe of 62 are listed
HIGHNetwork egressnet.tls_off · src/orchestrator/index.ts:1476
`Install cloudflared (npm i -g cloudflared), or re-run with --insecure-bridge and open the pod through an ` +
- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHNetwork egressnet.tls_off · src/orchestrator/index.ts:7070
`Install cloudflared (npm i -g cloudflared), or re-run with --insecure-bridge and open the pod through an ` +
- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHPrompt injectionprompt.credential_read · plugin/skills/ai-toolkit-trainer/SKILL.md:137
- **RunPod UI won't load / asks for a password.** Confirm `AI_TOOLKIT_AUTH` is set and you're on the 8675 proxy URL.
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:3
description: "سطح کنترلِ محلیمحور و بومیِ عامل برای ComfyUI — یک سرور MCP بههمراه افزونهٔ Claude Code که با زبان طبیعی تصویر، ویدیو و صدا تولید میکند، گردشکار مینویسد و اجرا میکند، و مدلها و گرههای سف
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:8
**این پروژه دیگر نگهداری نمیشود.** ComfyUI اکنون ابزارهای رسمی عامل و MCP — **Comfy Agent** و **Comfy MCP** — را ارائه میدهد که توسط تیم Comfy-Org ساخته و پشتیبانی میشوند، با یکپارچگی عمیقتر از آنچه ی
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:13
**ComfyUI MCP** همان **سطح کنترلِ محلیمحور و بومیِ عامل** برای
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:16
در حال اجرای ComfyUI وصل میکند — **محلی**، **از راه دور**، یا
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:17
**[Comfy Cloud](https://cloud.comfy.org)** — تا بتوانید تصویر، ویدیو و صدا تولید کنید، گردشکارها را
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
MEDIUMInformation disclosuredisclose.log_secret · src/orchestrator/grok-backend.ts:1628
logger.warn(`[grok-backend] direct-token turn failed: ${msgOf(err)}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/orchestrator/index.ts:5115
logger.info(`[panel-orchestrator] secret set from panel Settings: ${key} (redacted)`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/services/ui-bridge.ts:3111
logger.info(`[ui-bridge] pairing listener on ws://${host}:${port} (token-gated)`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.base64_blob · packs/wan-animate/workflow.json:4748
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjI
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.zero_width · scripts/sync-agents.mjs:20
const normalized = content.replace(/^/, '').replace(/\r\n/g, '\n');
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.aws · src/__tests__/services/respawn-orphans-downloads.test.ts:96
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/__tests__/comfyui/enqueue-error-redaction.test.ts:15
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/__tests__/comfyui/json-guard-base-url-redaction.test.ts:21
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/__tests__/comfyui/json-guard.test.ts:746
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/__tests__/comfyui/log-overredaction.test.ts:146
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/__tests__/comfyui/log-overredaction.test.ts:158
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · src/__tests__/services/manager-error-body.test.ts:164
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMSupply chainprompt.pipe_to_shell · plugin/skills/local-llm-free/SKILL.md:25
(macOS/Windows installers, or `curl -fsSL https://ollama.com/install.sh | sh` on Linux).
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
clear_vram, install_custom_node, panel_clear, train_start
- Why
- 4 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.suspicious_name · src/__tests__/orchestrator/ollama-image-payload-budget.test.ts
ollama-image-payload-budget.test.ts
- Why
- member named after an attack tool
- Fix
- remove or justify
LOWInventory / provenanceinv.suspicious_name · src/__tests__/services/remote-payload-probe.test.ts
remote-payload-probe.test.ts
- Why
- member named after an attack tool
- Fix
- remove or justify
LOWCode injectioncode.eval_exec · src/__tests__/orchestrator/panel-console-http.test.ts:196
for (const body of scripts) expect(() => new Function(body)).not.toThrow();
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
Tools it exposes
70 declared in source · 4 destructive
4 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
clear_vram | Free GPU VRAM by unloading cached models from ComfyUI. Use this between generation runs with different model families (e.g. switching from SDXL to Flux) or when running low on VRAM. Optionally unload only models or only memory. | destructive |
install_custom_node | Install, repair, enable/disable and remove ComfyUI custom node packs on this ComfyUI. To FIND a pack in the public registry first, use search_custom_nodes. Driven by the | destructive |
panel_clear | Clear the graph. | destructive |
train_start | Run and inspect LoRA training JOBS — launch a run, poll it, stop it, delete it, and read back the settings behind it. Jobs are keyed by | destructive |
apply_manifest | Apply a ComfyUI setup manifest from an inline object or .json/.yaml/.yml file. Composes custom-node installs and model downloads, installs pip packages, and reports apt entries as skipped (system packages need manual/root installation). LOCAL ComfyUI: model downloads use the connected server | write |
batch | Run MANY ComfyUI workflows under one durable batch_id. Driven by the | write |
call_tool | Run. | write |
create_workflow | Author and check ComfyUI workflow JSON. Driven by the | write |
enqueue_workflow | Submit work to the ComfyUI execution queue — the primary way an agent starts a render. Driven by the | write |
get_defaults | Read and write settings — either OUR generation defaults or ComfyUI | write |
install_comfyui | Install, update and configure the local ComfyUI installation, its sidebar panel, and this MCP server itself. Driven by the | write |
panel_call_tool | Run a panel tool by name with args matching its panel_describe_tool schema. | write |
panel_run | Run. | write |
panel_set_widget | Set a widget value. | write |
restart_comfyui | Control the lifecycle of the ComfyUI server process. Driven by the | write |
runpod | Deploy, start, stop, inspect and connect to RunPod cloud GPU pods, and switch rendering between your local machine and a pod. Driven by the | write |
save_workflow | WRITE to the ComfyUI user library: persist a workflow, or capture/verify its provenance lock. This is the only tool here that writes — reading is get_workflow. Driven by the | write |
train_doctor | Preflight and set up the TRAINER ITSELF — the docker/GPU/venv machinery every training job needs. Touches no dataset and no job. Driven by the | write |
train_prepare_dataset | Stage and curate the training DATASETS a LoRA run consumes — the images and their captions. Datasets are keyed by | write |
upload_image | Put a file where ComfyUI (or cloud storage) can read it. Driven by the | write |
Claude | No description in the source | read |
KJNodes | Utility nodes | read |
KSampler | No description in the source | read |
Other | Mentions wan in the description only | read |
PuLID | Identity-preserving generation | read |
SAM3 | Segment anything | read |
Unrelated | Nothing matches | read |
WanVideoWrapper | Wan Video diffusion nodes | read |
apps | Micro-apps on this ComfyUI (panel Apps feature): named workflows packaged for one-click runs. Driven by the | read |
bisect | Binary-search (git-bisect style) over installed ComfyUI custom nodes to find which one causes a problem. A state machine driven by the | read |
calculate | Evaluate a batch of math expressions exactly — no ComfyUI connection needed, so it works even in cloud mode or when ComfyUI is down. A safe, zero-dependency expression evaluator (no eval): numbers only, no strings/arrays/property access. Handy for the arithmetic agents get wrong token-by-token.\n\n | read |
comfy_cli | Drive the official comfy-cli (envelope/1 JSON contract) for the selected ComfyUI environment. The MCP resolves | read |
describe_tool | Describe. | read |
download_model | Models. | read |
echo | Echo a string. | read |
evil_via_bridge | No description in the source | read |
evil_via_call | No description in the source | read |
fake_generate | d | read |
generate_image | Generate media from a prompt or an existing image — the high-level entry points that build the graph for you. Every action enqueues on the connected ComfyUI and returns the prompt_id immediately; the resulting asset_id arrives in the completion notification. Driven by the | read |
get_history | Read what has already been generated on this machine — execution history, why a run failed, and the settings your past renders actually used. Driven by the | read |
get_image | Fetch, browse and inspect ComfyUI images and registered assets. Driven by the | read |
get_queue | x | read |
get_system_stats | Stats. | read |
get_workflow | Return, list, summarize or query a SAVED workflow FILE — files on disk, named from the library or given as a path/JSON — NOT the graph open on the user | read |
kitchen | See what comfy-kitchen can do on this GPU, find where a graph is leaving it on the table, and apply the faster path. Driven by | read |
list_api_nodes | No description in the source | read |
list_local_models | Inspect what models this ComfyUI has installed, and where it looks for them. Driven by the | read |
list_packs | Bundled ComfyUI knowledge — installer packs, model-family skills, workflow templates — plus the two workflow-readiness checks. Driven by the | read |
list_tools | Catalog. | read |
model_metadata | Curate a model file | read |
mypack | d | read |
n | No description in the source | read |
node_pack | No description in the source | read |
node_snapshot | Custom-node snapshots via ComfyUI-Manager (mirrors | read |
noop | noop | read |
p | has | read |
panel_ask | Ask the user to choose. | read |
panel_describe_tool | Full description and JSON Schema for one panel tool. | read |
panel_focus_node | Focus a node in the canvas. Long detail here. | read |
panel_list_tools | List the live-canvas panel tools (the user | read |
panel_takes_parameters | A tool whose own schema has a parameters field. | read |
parked | Registered but switched off. | read |
ping | Returns pong | read |
queue | Inspect and manage the ComfyUI execution queue. Driven by the | read |
report_issue | ARCHIVED — this project is no longer maintained and its issue trackers are closed. This tool files NOTHING and contacts no service: it returns a notice pointing at ComfyUI | read |
runpod_watch | Watch a RunPod pod | read |
search_custom_nodes | Discover ComfyUI custom node PACKS in the public ComfyUI Registry (registry.comfy.org). Read-only and network-only: queries the hosted registry over HTTP and does NOT require a running ComfyUI or COMFYUI_PATH. This searches node PACKS, not models (use download_model action:\ | read |
visualize_workflow | DRAW a diagram of, or convert, workflow JSON you PASS IN (a JSON string or object) — it does NOT read the user | read |
workspace | Inspect and manage ComfyUI workspaces (local installs). Driven by the | read |
x | No description in the source | read |
Safer alternatives
All image, video & audio servers →magichourhq/magic-hour-mcp
Hosted MCP server for generating and editing video, images, and audio with the Magic Hour API.
joenorton/comfyui-mcp-server
lightweight Python-based MCP (Model Context Protocol) server for local ComfyUI
lalanikarim/comfy-mcp-server
A server using FastMCP framework to generate images based on prompts via a remote Comfy server.
Audit history
- ✕BLOCK F 25 / 100
First audit ·
28c3301c636c
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about ComfyUI MCP server
What is the ComfyUI MCP server?
What tools does ComfyUI expose?
Is ComfyUI safe to connect to an agent?
What credentials does ComfyUI need?
How does ComfyUI run?
How current is this page?
Which ComfyUI MCP server is the right one?
I already installed ComfyUI. What should I do?
Can the verdict change?
Sources
- artokun/comfyui-mcp on GitHub — the source we read, its licence, stars and activityObserved · 30 Sep 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 28c3301c636cObserved · 30 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the ComfyUI MCP server?
- What tools does ComfyUI expose?
- Is ComfyUI safe to connect to an agent?