Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

ComfyUI MCP server

by artokun/comfyui-mcpMIT licenceAudited 30 Sep 2026 · source 28c3301c636c

npm comfyui-mcp 0.52.203stdiostreamable-http★ 773
✕BLOCKGrade F · 25/100 · 30 Sep 2026 · 28c3301

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 30 Sep 2026

Trust score25/100✕BLOCK F
0 critical8 high14 medium35 low5 info

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
F-04 Network egressCWE-200 · CWE-319Layer L1
`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
F-04 Network egressCWE-200 · CWE-319Layer L1
`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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**این پروژه دیگر نگهداری نمیشود.** 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**ComfyUI MCP** همان **سطح کنترلِ محلیمحور و بومیِ عامل** برای
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:16
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
در حال اجرای ComfyUI وصل میکند — **محلی**، **از راه دور**، یا
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/fa/index.mdx:17
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**[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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjI
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · scripts/sync-agents.mjs:20
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
(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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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

50 read16 write4 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.

ToolWhat it doesRisk
clear_vramFree 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_nodeInstall, 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 thedestructive
panel_clearClear the graph.destructive
train_startRun and inspect LoRA training JOBS — launch a run, poll it, stop it, delete it, and read back the settings behind it. Jobs are keyed bydestructive
apply_manifestApply 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 serverwrite
batchRun MANY ComfyUI workflows under one durable batch_id. Driven by thewrite
call_toolRun.write
create_workflowAuthor and check ComfyUI workflow JSON. Driven by thewrite
enqueue_workflowSubmit work to the ComfyUI execution queue — the primary way an agent starts a render. Driven by thewrite
get_defaultsRead and write settings — either OUR generation defaults or ComfyUIwrite
install_comfyuiInstall, update and configure the local ComfyUI installation, its sidebar panel, and this MCP server itself. Driven by thewrite
panel_call_toolRun a panel tool by name with args matching its panel_describe_tool schema.write
panel_runRun.write
panel_set_widgetSet a widget value.write
restart_comfyuiControl the lifecycle of the ComfyUI server process. Driven by thewrite
runpodDeploy, start, stop, inspect and connect to RunPod cloud GPU pods, and switch rendering between your local machine and a pod. Driven by thewrite
save_workflowWRITE 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 thewrite
train_doctorPreflight and set up the TRAINER ITSELF — the docker/GPU/venv machinery every training job needs. Touches no dataset and no job. Driven by thewrite
train_prepare_datasetStage and curate the training DATASETS a LoRA run consumes — the images and their captions. Datasets are keyed bywrite
upload_imagePut a file where ComfyUI (or cloud storage) can read it. Driven by thewrite
ClaudeNo description in the sourceread
KJNodesUtility nodesread
KSamplerNo description in the sourceread
OtherMentions wan in the description onlyread
PuLIDIdentity-preserving generationread
SAM3Segment anythingread
UnrelatedNothing matchesread
WanVideoWrapperWan Video diffusion nodesread
appsMicro-apps on this ComfyUI (panel Apps feature): named workflows packaged for one-click runs. Driven by theread
bisectBinary-search (git-bisect style) over installed ComfyUI custom nodes to find which one causes a problem. A state machine driven by theread
calculateEvaluate 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\nread
comfy_cliDrive the official comfy-cli (envelope/1 JSON contract) for the selected ComfyUI environment. The MCP resolvesread
describe_toolDescribe.read
download_modelModels.read
echoEcho a string.read
evil_via_bridgeNo description in the sourceread
evil_via_callNo description in the sourceread
fake_generatedread
generate_imageGenerate 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 theread
get_historyRead what has already been generated on this machine — execution history, why a run failed, and the settings your past renders actually used. Driven by theread
get_imageFetch, browse and inspect ComfyUI images and registered assets. Driven by theread
get_queuexread
get_system_statsStats.read
get_workflowReturn, 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 userread
kitchenSee what comfy-kitchen can do on this GPU, find where a graph is leaving it on the table, and apply the faster path. Driven byread
list_api_nodesNo description in the sourceread
list_local_modelsInspect what models this ComfyUI has installed, and where it looks for them. Driven by theread
list_packsBundled ComfyUI knowledge — installer packs, model-family skills, workflow templates — plus the two workflow-readiness checks. Driven by theread
list_toolsCatalog.read
model_metadataCurate a model fileread
mypackdread
nNo description in the sourceread
node_packNo description in the sourceread
node_snapshotCustom-node snapshots via ComfyUI-Manager (mirrorsread
noopnoopread
phasread
panel_askAsk the user to choose.read
panel_describe_toolFull description and JSON Schema for one panel tool.read
panel_focus_nodeFocus a node in the canvas. Long detail here.read
panel_list_toolsList the live-canvas panel tools (the userread
panel_takes_parametersA tool whose own schema has a parameters field.read
parkedRegistered but switched off.read
pingReturns pongread
queueInspect and manage the ComfyUI execution queue. Driven by theread
report_issueARCHIVED — 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 ComfyUIread
runpod_watchWatch a RunPod podread
search_custom_nodesDiscover 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_workflowDRAW a diagram of, or convert, workflow JSON you PASS IN (a JSON string or object) — it does NOT read the userread
workspaceInspect and manage ComfyUI workspaces (local installs). Driven by theread
xNo description in the sourceread

Audit history

  1. ✕BLOCK F 25 / 100

    First audit · 28c3301c636c

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

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?
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
What tools does ComfyUI expose?
70 in total: 50 read-only, 16 that write, and 4 that can delete or overwrite (clear_vram, install_custom_node, panel_clear, train_start). Every one is listed on this page with its risk.
Is ComfyUI safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (25/100) and found 8 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 4 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does ComfyUI need?
It reads ANTHROPIC_API_KEY, ATLASCLOUD_API_KEY, AWS_ACCESS_KEY_ID, AWS_CONTAINER_CREDENTIALS_FULL_URI, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, AWS_SHARED_CREDENTIALS_FILE, AWS_WEB_IDENTITY_TOKEN_FILE, AZURE_STORAGE_KEY, BAILIAN_CODING_PLAN_API_KEY and CF_ACCESS_CLIENT_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does ComfyUI run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as comfyui-mcp at 0.52.203.
How current is this page?
The grade is for one exact copy of the source (28c3301c636c), read on 2026-09-30. The repository is watched and re-audited when it changes.
Which ComfyUI MCP server is the right one?
joenorton/comfyui-mcp-server. 2 servers share the name; see the side-by-side comparison.
I already installed ComfyUI. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.