Scan your whole stack
From OX Research Newsroom
Are you using comfy-draftsman?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.25.11
comfy-draftsman was last scanned on 24 Nov 2026 at version 0.25.11. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.25.11 LATEST | 24 Nov 2026 | No rules fired |
| 0.25.10 | 14 Nov 2026 | No rules fired |
| 0.25.9 | 13 Nov 2026 | No rules fired |
| 0.25.8 | 12 Nov 2026 | Not shown |
| 0.25.7 | 12 Nov 2026 | Not shown |
Findings for v0.25.11. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.25.11; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The MCP server that drafts ComfyUI workflows a human can actually read.
A local-first Model Context Protocol server that lets coding agents (Claude Code, Claude Desktop, Cursor, ...) build, repair, port, validate, and run ComfyUI workflows against your own ComfyUI instance — and deliver them as clean, organized, fully-labeled workflows: computed layout, colored stage groups, titled nodes, green-highlighted "knobs you may touch", and markdown guidance notes explaining which tuned settings to leave alone and why.
Every agent tool for ComfyUI can emit raw API-format JSON — a working but unreadable pile of unpositioned nodes. Draftsman's reason to exist is the finished drawing:
The note above was generated automatically: draftsman detected the checkpoint was a DMD-distilled SDXL merge and tuned CFG to 1.0, 4 steps, lcm/sgm_uniform — then wrote down why, so the person opening the workflow doesn't "fix" it back to CFG 7.
add_node, connect, set_widget — validated against the live instance's schemas; set_widget by index reaches a pack's JS-only widgets).Positive Prompt, Base Pass), green highlights on user-editable knobs, and generated notes in two registers: "type your prompt here" vs "turbo model - CFG stays at 1.0". Everything you'd tweak (source images, canvas size, models/LoRAs, prompts) reads left-to-right first, and preview/Show Text nodes sit right beside the node they display - no tracing wires across the canvas to figure out which sampler made which image.sdxl → flux, ...): swaps loader topology (checkpoint ⇄ separate UNET/CLIP/VAE loaders) and rewires consumers, retunes CFG/steps/samplers and technique nodes (FaceDetailer settings are family-specific — there is no universal detailer config), swaps latent node classes, picks installed model files, and flags everything needing human judgment.COMFY_DYNAMICCOMBO_V3 — e.g. SaveImageAdvanced's format, Depth-Anything-3's mode/output) are first-class: their values are set, round-tripped, validated, and serialized to the API's dotted-key form (output.normalization), so a graph containing them runs end-to-end through the draftsman alone. The rest of the V3 io system is handled alongside them: autogrow inputs (COMFY_AUTOGROW_V3 — a growing socket list like BatchImagesNode's images) expand to their real, connectable slot names with the dotted API keys the backend actually matches on, match types wire freely the way ComfyUI's own executor treats them, and inputs ComfyUI flags as widget-rendered (socketless/widgetType) are set as widgets rather than mistaken for required sockets.view_output fetching full resolution on demand. Long renders can queue in the background (wait=False) with live step progress via get_run_status. If the instance already has a long queue, draftsman says so instead of silently waiting — and can queue your test run to go next (front=True) without touching the jobs already in line. Upload source images for img2img/inpaint, and manage the queue when something needs interrupting. (wait=False + get_run_status polling for long/paid renders — see run_workflow's docstring)run_workflow(sweep=...) renders variants x seeds into one contact sheet (or axes for every combination of several lists, such as subjects x shots), with 1:1 crop sheets for detail, per-run sampling time that ignores model loads (detailer passes included) plus the slowest nodes per run, freeze=<node id> to hold an upstream stage (a random or LLM prompt) fixed across every cell, and a banding score to rank runs on stripe artifacts.record_learning saves them so every future session starts smarter. A learned entry can carry its own detect block, so a brand-new model researched once becomes self-detecting next session instead of being mistaken for a lookalike family./object_info, live templates, live model lists), never a bundled snapshot.http://127.0.0.1:8188)Claude Code:
claude mcp add comfy-draftsman \
-e COMFYUI_URL=http://127.0.0.1:8188 \
-e COMFYUI_MOUNT_DIR=/path/your/agent/can/reach \
-- uvx --from git+https://github.com/EnragedAntelope/comfy-draftsman comfy-draftsman
Claude Desktop / other MCP clients (mcpServers config):
{
"mcpServers": {
"comfy-draftsman": {
"command": "uvx",
"args": ["--from", "git+https://github.com/EnragedAntelope/comfy-draftsman", "comfy-draftsman"],
"env": {
"COMFYUI_URL": "http://127.0.0.1:8188",
"COMFYUI_MOUNT_DIR": "/path/your/agent/can/reach"
}
}
}
}
Prefer the published package? uv tool install comfy-draftsman (or
pip install comfy-draftsman) puts the server on PATH, and both configs above
shorten to plain uvx comfy-draftsman / "args": ["comfy-draftsman"]. The
git+https form above tracks unreleased commits.
COMFYUI_MOUNT_DIR is optional but recommended: it's a folder your agent (or a
sandboxed client like Claude Desktop / Cowork) can actually read, and save_output
/ run_workflow relocate finished renders there — otherwise renders stay inside
ComfyUI's output/ tree and every save needs an explicit dest_dir. On Windows use
a native path, e.g. C:\\Users\\you\\comfy-renders. See Configuration
for all environment variables.
Then just ask your agent things like:
"Build me a Krea workflow with LoRA support and a face detailer, labeled so my friend can use it."
"Here's an old SD1.5 workflow JSON that doesn't load anymore — fix it and port it to SDXL."
"Take this workflow I downloaded and make it neat and organized."
It checks your hardware before you spend forty minutes on a download: ask for
guidance on a model family your GPU can't comfortably hold and the answer comes
back with a fit verdict — what's needed, what you have, and what to do about
it. When it fits, it says nothing.
uvx caches, and it will not tell you. uv keys a git+https:// dependency
on the resolved commit hash, and uvx reuses a cached environment rather than
re-resolving — so a config pointing at the git URL keeps running whatever commit
it first installed, indefinitely, with no warning. A plain uvx comfy-draftsman
behaves the same way once published.
Pick whichever shape you prefer:
| Config | Updates | Trade-off |
|---|---|---|
uvx comfy-draftsman@latest |
Every time the server starts | Needs PyPI reachable at start-up — uv errors rather than falling back to its cache on a network failure |
uv tool install comfy-draftsman |
When you run uv tool upgrade comfy-draftsman |
Starts offline, but you have to remember |
uvx --from git+https://… |
Only after uv cache clean comfy-draftsman |
Tracks unreleased commits; silently stale otherwise |
@latest is the right default for most people. If you work offline often,
take the uv tool install row and run uv tool upgrade comfy-draftsman (or
uv tool upgrade --all) when you want a new version.
To find out what you're running, ask your agent to call check_setup — the
first line of its report is the running comfy-draftsman version. The
draftsman://capabilities resource carries it too.
To hear about new versions, watch the repo on GitHub: Watch → Custom →
Releases. Every tagged release publishes to PyPI and creates a GitHub Release
whose notes are that version's CHANGELOG.md section. The server itself never
phones home — it talks only to your ComfyUI and (read-only) the Comfy Registry,
and checking for updates is deliberately your call, not a background poll.
Migrating an existing install costs nothing but a config edit. Session state
and learned knowledge live in ~/.comfy-draftsman/ and saved workflows live in
ComfyUI's own browser, so neither depends on how the server was installed —
change the args line, restart your client, and optionally
uv cache clean comfy-draftsman to reclaim the old checkout.
| Env var | Default | Purpose |
|---|---|---|
COMFYUI_URL |
http://127.0.0.1:8188 |
The ComfyUI instance to drive |
DRAFTSMAN_SESSION_DIR |
~/.comfy-draftsman/sessions |
Where in-progress workflows persist |
DRAFTSMAN_LEARNED_DIR |
~/.comfy-draftsman/learned |
Persistent learned model knowledge |
COMFYUI_MOUNT_DIR |
(unset) | Folder a sandboxed client can reach; save_output (and run_workflow's auto-relocate) copy finished renders — images, video, audio — here out of ComfyUI's output/ tree |
DRAFTSMAN_TIMEOUT |
30 |
HTTP timeout (seconds) |
DRAFTSMAN_ELICITATION |
on |
off never opens a confirmation dialog and always takes the ask-in-chat fallback — for a client whose dialog never renders |
COMFY_API_KEY |
(unset) | Comfy Org API key for partner/* nodes (Luma, Seedance, Kling, Runway); injected into the prompt payload's extra_data so headless queues authenticate |
ComfyUI's save nodes only ever write inside ComfyUI's own output/ tree, so a
finished render has to be copied out before a sandboxed agent can open, edit,
or show it to you. That copy lands in COMFYUI_MOUNT_DIR — and the one rule that
makes it work is:
COMFYUI_MOUNT_DIRmust be a folder that both the draftsman server (next to ComfyUI) and your agent's sandbox can see — typically your Cowork/Code workspace directory, or a subfolder of it.
System32), so a
relative dest_dir/save_dir would resolve somewhere invisible — draftsman now
refuses a relative path with a clear error rather than misplacing your render.COMFYUI_MOUNT_DIR=I:\source\repos\my-project\renders (Windows) or
/home/you/project/renders. run_workflow auto-relocates the finished output
files there — images, video and audio alike — and returns their saved_paths;
the agent opens those paths directly. (Relocation needs finished files, so it
applies to a blocking run; a background wait=False run relocates afterwards
with save_output(prompt_id=...), and says so rather than ignoring save_dir.)get_instance_info (call it first anyway) returns a
relocation block — {"configured": true, "writable": true, "path": ...} when
you're good to go, or a hint telling you to set COMFYUI_MOUNT_DIR when you're
not. check_setup is the dedicated doctor — it also confirms ComfyUI itself is
reachable and never raises — and the draftsman://capabilities resource reports
the same relocation status. If it's unset, the agent can ask you to configure it
before spending a render instead of after.Without COMFYUI_MOUNT_DIR, everything except handing you the finished file still
works — you'd just pass an explicit absolute save_dir= per run, or fetch previews
inline with view_output.
Building a workflow makes many tool calls (schema lookups, validation, layout), so
your agent may ask to approve each one. Draftsman marks its read-only tools with MCP
readOnlyHint annotations and batches schema lookups (get_node_info takes a list),
but the actual prompting is your client's policy. To "approve once", add the
read-only tools to your client's allowlist — see docs/PERMISSIONS.md
for a copy-paste Claude Code permissions.allow block (and the tradeoffs of allowing
the mutating tools like run_workflow / save_workflow).
~/.claude.json → your project → disabledMcpServers).
check_setup can't report that, because a disabled server never runs — re-enable
it from /mcp.Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.