Local Image MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Local Image MCP生成一张512×512的猫在窗边晒太阳的图片"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Local Image MCP
独立社区维护的本机 ComfyUI MCP 桥接工具,服务版本 1.1.2。当前测试模型为 Qwen-Image 2.1,可通过标准 stdio MCP 宿主调用;附带一个社区 DSH profile 的注册示例。
AI 辅助编写说明:代码主要由 AI 辅助生成、修改、检查并进行自动化测试。 本项目不是 Qwen、ComfyUI 或 DeepSeek 官方产品,没有获得其赞助或背书。
许可和使用范围
桥接代码按 MIT 提供,参考/改编来源及第三方许可见 NOTICE。本仓库不分发模型、第三方程序、logo 或角色素材。
Qwen-Image 2.1 模型使用研究许可,非商用限定为研究或评估,商业使用需另行授权。 本项目的 MIT 许可不会授予模型商业使用权。请先阅读 官方模型许可和公开发布自查。本项目没有给所有生成内容作合法性或权属保证。
本机配置为 RTX 4060 Laptop 8GB、Qwen-Image 2.1 Q4_K 主体、W4A8 编码器、专用 BF16 VAE。服务使用 Node 内置模块,通过 stdio MCP 调用本机 ComfyUI。模型、ComfyUI 主程序和既有 DSH 插件文件保持原配置。
当前状态:MCP 独立调用已经实际出图,注册补丁尚未应用,DSH 聊天界面内仍待验证。 原方案采用用户手动注册,这次保留这一流程。审查详情见 REVIEW.md。
Related MCP server: ComfyMCP Local
从 GitHub 下载后开始使用
本仓库保存源代码、配置示例与测试,不包含本机配置、日志、状态、模型或生成图片。已有的本机 config.json 不受影响。
新电脑或新目录需要先安装 ComfyUI 与模型,再在项目目录中执行:
Copy-Item config.example.json config.json修改 config.json 中的 ComfyUI 路径、模型文件名和输出目录。示例采用 E 盘安装位置;按实际安装调整。需要 Node ≥22 和 Windows PowerShell,服务本身零依赖,无需 npm install。
cordis.patch.example.yml 是通用注册模板。没有本机 cordis.patch.snippet.yml 时,安装器与体检会自动使用模板并填入当前目录的 server.mjs 绝对路径;目标用户目录来自 USERPROFILE,不再依赖 Administrator 用户名。若本机已有 snippet,它优先使用,移动项目后需同步修改其中 args。
随后按下文注册。PowerShell 命令里的本机项目路径要换成你下载到的实际目录。也可以在项目目录使用 powershell -NoProfile -ExecutionPolicy Bypass -File scripts\install-patch.ps1 -Apply。
使用的四个工具
工具 | 作用 |
| 根据提示词生成单张图片,返回实际路径或任务 ID |
| 用已有任务 ID 查状态、取回路径,可带 |
| 只读检查版本、显存、队列、模型列表与节点,不自动启动 ComfyUI |
| 空闲时请求卸载模型;队列有任务时返回 BUSY,不停止服务 |
generate 的参数:
参数 | 默认 / 本次限制 |
| 必填,非空字符串,最多 4000 字符 |
| 空字符串,最多 4000 字符 |
| 512;每边 256..1024,16 的倍数,面积≤1048576 |
| 20;1..40 |
| 1;1..8 |
| 省略则随机,实际值在返回结果中;可指定 0..2^53-1 整数 |
| DSH_Qwen21;非法字符替换为下划线、截取 40 字符,并追加运行 ID |
| 180;正整数,最多按配置的 600 秒等待;不含启动服务所用时间 |
| false;true 且图片≤2MiB 时额外返回 PNG 内容块 |
超时通常返回 status=queued 或 running 和 prompt_id。不要因此重复调用 generate,改用 get_result 查询原任务。unknown 表示历史和队列都没找到:可能 ID 错误、历史已清除、服务重启或短暂状态变化,先检查输出目录。
任务提交后,如果查询或取图失败,错误也会保留 prompt_id,供继续查询。已结束但没有保存图片、执行错误或中断,都会明确返回失败。
文件和配置
文件 | 作用 |
| 零依赖服务,Node ≥22 |
| 配置示例 / 实际 ComfyUI 路径、模型、启动参数和默认值 |
| 已验证的八节点 API 工作流;不是界面导入 JSON |
| 通用注册模板 / 可选的本机注册块副本 |
| 默认预览;-Apply 写入;-Remove -Apply 移除管理块 |
| 环境检查;-Live 联机;-Live -Record 保存环境快照 |
| 原有 34 项真实 stdio 客户端测试 |
| 30 项回归测试,使用模拟服务和临时配置文件 |
| 显式带 --generate 才会实际生成一张 512×512、20 步图片 |
| PID、检查与实测记录、单份滚动补丁备份、日志 |
工作流:GGUF 加载器 → 文字编码 → KSampler(euler/simple) → 专用 VAE 解码 → SaveImage。配置的三个文件名分别为:
qwen_image_2.1-Q4_K.ggufqwen3vl_8b_w4a8.safetensorsqwen_image_2.1_vae_bf16.safetensors
ComfyUI 根目录:E:\ComfyUI\ComfyUI_windows_portable。
本机地址:http://127.0.0.1:8188。
输出目录:E:\ComfyUI\ComfyUI_windows_portable\ComfyUI\output。
comfy_pre_args 放 Python 参数(本次为 -s),写在 main.py 之前;comfy_args 放 ComfyUI 参数:--windows-standalone-build --reserve-vram 1 --disable-auto-launch。
generate 可以自动启动隐藏的 ComfyUI 进程;同一 MCP 进程内的并发调用共享一次启动。MCP 退出后 ComfyUI 继续运行。
环境变量可覆盖配置,例如 QWENIMG_MODELS_UNET、QWENIMG_DEFAULTS_STEPS;数组字段须使用 JSON 数组字符串,例如 QWENIMG_COMFY_PRE_ARGS=["-s"]。补丁不设置额外环境覆盖。修改配置后重启 MCP/DSH。
注册到鲸鱼娘 DSH
正常退出 DSH。
打开 PowerShell,先预览:
powershell -NoProfile -ExecutionPolicy Bypass -File 'E:\aiworkplace\codexworkplace\dsh\qwen-image-mcp\scripts\install-patch.ps1'应用:
powershell -NoProfile -ExecutionPolicy Bypass -File 'E:\aiworkplace\codexworkplace\dsh\qwen-image-mcp\scripts\install-patch.ps1' -Apply双击桌面“DSH 鲸鱼娘”,让模型先调用
mcp__qwenimg__status,再生成一张 512×512 图片。超时后的同一任务应调用get_result。
注册目标是当前用户的 %USERPROFILE%\.dsh-pack-better\profiles\desktop\cordis.patch.yml。该 profile 名称与工具命名仅用于兼容性配置;本项目不分发宿主程序或社区桌面素材。
注册块使用 command: !!js process.execPath、transport: stdio、服务名 qwenimg、调用超时 900000 毫秒。等待预算覆盖最多 180 秒启动、600 秒取图等待和 HTTP 操作。当前宿主的内置 Node 为 24.18.1,已单独验证。
脚本保留块外字节、BOM、混合换行和原有块位置,拒绝重复/残缺标记及手写 ID 冲突;写前备份一份,使用同目录临时文件原子替换并自校验。原文件不以换行结尾时,新块放到文件开头,以便移除后精确恢复原字节。
回退只移除管理块:
powershell -NoProfile -ExecutionPolicy Bypass -File 'E:\aiworkplace\codexworkplace\dsh\qwen-image-mcp\scripts\install-patch.ps1' -Remove -Apply检查与测试
在本项目目录中执行:
& 'E:\nodejs\node.exe' server.mjs --self-test
& 'E:\nodejs\node.exe' scripts\mcp-client-test.mjs
& 'E:\nodejs\node.exe' --test scripts\regression-test.mjs
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\check.ps1 -Live -Record前三项分别通过 162 项、34 项和 30 项。回归测试只使用本机模拟 HTTP 服务与临时文件,未调用真实 ComfyUI;安装脚本的写入测试指向临时副本。
实际出图测试必须显式执行,会消耗显卡资源,并在结束时请求释放模型:
& 'E:\nodejs\node.exe' scripts\live-test.mjs --generate本次经真实 MCP stdio 完成自动启动、generate 短等待、get_result 取回图片与内容、status 和 free_vram,512×512、20 步成功,整轮约 43 秒(含冷启动及检查,不是纯采样时间)。见 state/review-live-test.json。
之前的单次记录:768×768 冷启动约 60 秒,1024×1024 已加载约 80 秒。更长连续任务与 DSH 界面内工具调用仍待验证;这些耗时不保证每次相同。
check.ps1 -Record 保存的是环境核对,dshToolsVerified=false;不把检查通过当成 DSH 内实测通过。
升级与排错
工具不出现:先检查管理块和项目路径。退出 DSH 后重新预览/应用补丁。
宿主更新:check.ps1 会检查内置 Node、启动器版本保护与本次核对版本;启动器拦截新版本时,按 DSH 笔记库的“启动与更新”处理。
模型/量化变化:改 config.json 的模型名;工作流结构变化时同步模板与 NODE_MAP。配置错误会在启动时明确报错。
未运行:status 只报告,不启动;generate 可自动启动。
BUSY:等队列结束,再释放显存。
OOM:回到 512×512、批量 1;等任务结束后释放模型,再检查其他显卡软件。
自动启动没有命令窗口:最近 PID 在 state/comfy.pid。不要仅凭旧 PID 结束进程,先核对可执行路径和命令行确实属于这份 ComfyUI;PID 可能复用。
HTTP 请求限制为本机 HTTP 地址,不跟随重定向;超时覆盖整个响应体,响应大小有上限。图片仅允许输出目录内的 PNG,禁止路径穿越及指向目录外的链接。提示词日志只记长度和哈希,ComfyUI 异常原文也不会复制进日志。stdout 只输出协议消息;未捕获的异常会记录事件类型并结束 MCP 服务,不继续运行未知状态。
Available Tools
4 toolsfree_vramA
让 ComfyUI 卸载模型并释放显存(服务继续运行)。玩游戏或跑别的显卡任务前调用。Ask ComfyUI to unload models and free VRAM while the service keeps running; call it before gaming or another GPU-heavy task.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full behavioral burden. It does add valuable context by clarifying that the service continues running and that existing models are unloaded, but it does not say whether the call can be made while a generation is in flight, whether loaded models are lost permanently, whether it blocks until VRAM is actually released, or what is reported back on success or failure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The action and the usage trigger are front-loaded, which is good, but the entire content is then repeated verbatim in a second language, roughly doubling length without adding information. Trimming to one language, or condensing the duplicate, would make it tighter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, side-effecting utility with no output schema, the description covers the essential facts: what it does, when to call it, and that the server survives. The main omission is return-value or failure behavior, which matters given there is no output schema to fall back on.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly implies a no-argument operation by describing a single unconditional action.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: unload models and free VRAM, with the crucial qualifier that the ComfyUI service keeps running. That qualifier alone distinguishes it from a shutdown/restart operation and from the generation-oriented siblings generate, get_result and status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger condition in both languages: call it before gaming or another GPU-heavy task. There is no ambiguity about when to reach for this tool rather than generate or status, and no exclusion is needed because the siblings serve unrelated purposes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generateA
用本地 ComfyUI 的 Qwen-Image 2.1 模型做文生图,返回图片绝对路径。Generate an image locally with Qwen-Image 2.1 on the local ComfyUI and return the absolute file path. 512x512、20 步在本机约 29 秒(已加载);768×768 冷启动约 60 秒、1024×1024 已加载约 80 秒,仅为单次记录。A local test took about 29s at 512x512 warm, 60s at 768x768 cold, and 80s at 1024x1024 warm; timing varies. 超时返回 prompt_id,请用 get_result 继续查询,避免重复提交。Use get_result after a wait timeout instead of submitting again.
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | CFG 引导强度,1..8,默认 1(Qwen-Image 官方推荐 1)。CFG scale 1..8, default 1. | |
| seed | No | 随机种子 0..2^53-1;省略则随机生成,并在结果里返回实际使用的 seed(便于复现)。Seed 0..2^53-1; omit for a random one, which is returned in the result so it can be reproduced. | |
| steps | No | 采样步数,1..40,默认 20;越多越慢越细。Sampling steps 1..40, default 20. | |
| width | No | 图片宽度像素:256..1024,必须是 16 的倍数,且 width*height 不超过 1048576;默认 512。768、1024 已在 8GB 显卡上实测可用,更大面积可能显存不足。Image width: 256..1024, multiple of 16, width*height <= 1048576, default 512. 768 and 1024 are verified on an 8GB GPU; larger areas may hit OOM. | |
| height | No | 图片高度像素:256..1024,必须是 16 的倍数;默认 512。768、1024 已在 8GB 显卡上实测可用。Image height: 256..1024, multiple of 16, default 512. | |
| prompt | Yes | 正向提示词,必填,1..4000 字符。Positive prompt (required, 1..4000 chars). | |
| return_image | No | 为 true 且图片不超过 2MB 时,额外返回一个 image 内容块(base64 PNG),模型可直接看图。When true and the file is <=2MB, an extra image content block (base64 PNG) is returned. | |
| wait_seconds | No | 最多等待多少秒,默认 180,上限 600。超时不算失败,返回 status=running,之后可调用 get_result 取图。Max seconds to wait, default 180, cap 600. A timeout is not an error: it returns status=running and get_result can fetch the image later. | |
| filename_prefix | No | 输出文件名前缀,仅允许 [A-Za-z0-9_-],长度 ≤40,非法字符会被替换成 _;默认 DSH_Qwen21。实际文件名还会带一个短运行 ID,避免覆盖旧图。Output filename prefix, [A-Za-z0-9_-] only, <=40 chars, illegal characters become _; default DSH_Qwen21. | |
| negative_prompt | No | 负向提示词,可选,默认空字符串。Negative prompt (optional, default empty). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden and does much of it: latency benchmarks by resolution ('512x512 warm ~29s, 768x768 cold ~60s, 1024x1024 warm ~80s'), timeout-is-not-failure semantics, the short run-ID suffix that prevents overwriting prior images, and the 2MB cap on the extra image block. Gaps remain around prerequisites (ComfyUI must be running), VRAM contention, and whether requests queue, so not a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Content is well front-loaded — capability, then timing, then the timeout fallback — and every claim is relevant. However, the full bilingual duplication roughly doubles the token cost for zero added information, which is a real efficiency penalty against the conciseness bar.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 10-parameter, no-output-schema, no-annotation generation tool, the description covers the essentials: what is produced (absolute path, optional inline image block), how long it takes, and how to recover from a timeout. Only the operational prerequisites (a live ComfyUI instance, GPU availability) are left implicit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already explains every one of the 10 parameters, making 3 the baseline. The description does add a little meaning by tying resolution choices to measured timings and OOM risk, but it gives no per-parameter guidance beyond what the schema states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('文生图 / Generate an image locally with Qwen-Image 2.1 on the local ComfyUI') plus the return contract ('返回图片绝对路径 / return the absolute file path'). An agent can distinguish it immediately from the polling/utility siblings get_result, status, and free_vram.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit routing rule for the main failure mode: 'Use get_result after a wait timeout instead of submitting again', naming the sibling and the condition that selects it. It stops short of other when-to guidance an agent would want — e.g. what to do on OOM (free_vram?) or whether concurrent submissions queue — so it is clear but not fully exhaustive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_resultA
用 generate 返回的 prompt_id 查询任务状态:queued / running / ok / failed / unknown(历史和队列未找到)。Look up a job by prompt_id; unknown means neither history nor queue contains it. 可用 return_image=true 取回图片内容。Use return_image=true for image content.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | generate 返回的 prompt_id。The prompt_id returned by generate. | |
| return_image | No | 为 true 且图片≤2MB 时返回 PNG 内容块。Return image content when true and file is <=2MB. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It usefully defines 'unknown' as absent from both history and queue and notes the 2MB image cap, but says nothing about whether the call is read-only, how often it should be polled, or what is returned for 'failed' (error text?). That leaves meaningful behavioral gaps for a no-annotation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The status list and prompt_id origin are front-loaded, which is good. However, every sentence is duplicated in Chinese and English, roughly doubling length without adding information for a single reader.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple 2-parameter lookup with no annotations and no output schema, the description covers the state machine but not the shape of the response — what fields accompany each status, what 'failed' surfaces, or what the non-image response looks like. Adequate but leaves real gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters are already documented, including that prompt_id comes from generate and that return_image returns a PNG under 2MB. The description largely echoes the schema, adding only the status vocabulary, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('look up a job by prompt_id') and enumerates the possible states (queued/running/ok/failed/unknown), which no sibling would do. It ties itself to the output of 'generate', though it never explicitly distinguishes itself from the sibling tool named 'status', leaving a small ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear context: use the prompt_id returned by generate, and set return_image=true when image content is needed. It does not give explicit when-not guidance (e.g., when to prefer 'status' over this tool, or whether polling is expected), so it stops short of the 5 mark.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
statusA
体检:ComfyUI 是否可达、版本、队列长度、显卡与显存、三个模型文件是否在可加载列表里、关键节点是否存在。只读,不会启动 ComfyUI。Health check: reachability, version, queue length, GPU/VRAM, whether the three model files are selectable, and whether the key nodes exist. Read-only; it never starts ComfyUI.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations supplied, the description carries the full behavioral burden and does so for the most important trait: it explicitly declares read-only and that it will not start ComfyUI, which prevents an agent from assuming it can be used as a launcher. It omits less critical traits such as latency, permission/network prerequisites, or what happens if ComfyUI is unreachable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The content is front-loaded and each listed item is a concrete check rather than filler. The only inefficiency is the full bilingual duplication, which doubles length without adding information for an English-reading agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description must convey what comes back — the enumerated checklist (reachability, version, queue, GPU/VRAM, model availability, node presence) effectively defines the result contents. What is missing is the result shape (booleans vs. messages) and error behavior when the server is down, which keeps it from a 5.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters and the schema is an empty object, so there is no parameter semantics to add. Per the baseline for 0-param tools, a 4 is appropriate; the description correctly avoids inventing arguments.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific resource (ComfyUI) and enumerates exactly what the check covers: reachability, version, queue length, GPU/VRAM, three model files, and key nodes. This is far more specific than a generic 'status' label. It stops short of naming how it differs from siblings (e.g. free_vram, which also touches VRAM), so it lands at 4 rather than 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the enumerated checks — an agent can infer this is a pre-flight/diagnostic call. The line 'never starts ComfyUI' also serves as a when-not hint (do not rely on this to boot the server). However, there is no explicit routing guidance, such as pointing to free_vram when VRAM is the problem or to generate for actual work.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.1.2- First observed
free_vram - First observed
generate - First observed
get_result - First observed
status
TDQS
Scored across 4 tools
Each tool has a distinct role: generate submits a text-to-image job, get_result polls an existing job, status is read-only health inspection, and free_vram manages GPU memory. The only mild overlap is between generate and get_result, but the generate description explicitly tells the agent to switch to get_result on timeout, which resolves the boundary.
Three of four names follow a verb_noun / verb pattern (generate, free_vram, get_result), while 'status' is a bare noun. The deviation is minor and the intent of every name is immediately readable.
Four tools is compact and every tool earns its place: job submission, job polling, environment diagnostics, and VRAM release. Nothing feels padded or missing at the count level for a single-model local image generator.
The surface covers the core lifecycle (submit → poll → retrieve image) plus health checks and VRAM management, which is solid for text-to-image only. Gaps remain for image-to-image/upscale, seed or negative-prompt control, and cancelling a queued job, though agents can mostly work around these.
Related MCP Connectors
Remote MCP for RunComfy: ComfyUI deployments, hosted models, LoRA training. 31 tools.
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Related MCP Servers
- FlicenseAqualityDmaintenanceMinimal MCP server that wraps ComfyUI HTTP routes enabling LLM clients to inspect server status, models, features, node metadata, submit workflows, manage queue/history, interrupt runs, and upload images.11-
- AlicenseNot gradedqualityDmaintenanceLocal-first MCP server for controlling a loopback ComfyUI instance from same-machine or authenticated LAN clients.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI image generation from text prompts by wrapping local ComfyUI as a Streamable HTTP MCP server, supporting synchronous generation, queue management, and history tracking.1MIT
- FlicenseNot gradedqualityCmaintenanceWindows-native MCP server for a local ComfyUI portable package. It enables listing, validating, and running ComfyUI workflows via the loopback HTTP API.-