Comfyui MCP server
io.github.MetaBrain-Labs/comfyui-mcp-server·v1.0.1·9 starsMCP Server that transforms ComfyUI workflows into AI-callable tools for MCP Host
9 stars88 downloads/wk
Reviews
Write oneNobody has reviewed Comfyui yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Comfyui tools (14, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cui_get_task_detailget_core_manualget_prompt_resultget_system_statusget_workflow_APIget_workflows_cataloginterrupt_promptlist_modelsmount_workflowqueue_custom_promptqueue_promptsave_custom_workflowsave_task_assetsupload_assetswrite action
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan60 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 192 days ago4/15
- Maintainer identityregistry namespace matches repository owner7/10
How Comfyui compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 74/100
- higher than 40% of 48,255 servers
- Tools
- 14
- the typical server has 7
- Tools that change things
- 7%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 9
- more than 87% of 28,688 servers
- Downloads a week
- 88
- more than 60% of 12,191 servers with a package
What its tools let an agent do: 11 read · 3 create
Install Comfyui in Claude Code, Cursor or VS Code
Runs npx -y @metabrain-labs/comfyui-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add comfyui-mcp-server -- npx -y @metabrain-labs/comfyui-mcp-server
What the publisher says
From the Comfyui repository's README, as published. We do not edit it. Read it on GitHub
ComfyUI-MCP-Server - ComfyUI Model Context Protocol Integration
[简体中文] [ENGLISH]
[!NOTE]
⭐ 如果您喜欢该项目或觉得有帮助,请给项目点一个 Star,您的支持是我们持续改进的动力!
ComfyUI-MCP-Server 是一个基于 MCP(Model Context Protocol / 模型上下文协议)的服务器实现,将 ComfyUI 中用户定义的工作流转化为参数可配置的 MCP 工具,供 AI 代理(Agents)直接使用。
本项目提供 Python 与 TypeScript 两个独立语言版本,功能基本对等,可按需选用:
注:Python 版本带有更多实验性功能,TypeScript 版本则更稳定。
📋 项目功能
通过本项目,您可以通过连接ComfyUI从而赋予 AI 助手(如 Claude Desktop、Trae、Dify 等)强大的多媒体生成能力:
✨ 项目特色
- 🔌 工作流即工具:将 ComfyUI 的节点图抽象为可供Agent使用的工具。
- 🎛️ 自定义参数暴露:可在工作流中精确定义哪些参数对外可见,限定 AI 在暴露范围内操作,防止模型幻觉与误操作。
- 🔧 零侵入接入:无需修改 ComfyUI 本体或安装任何必要插件,部署即连,开箱即用。
- 📥 自定义工作流导入:可手动导入 API 格式的工作流 JSON 文件,通过校验后即刻对 Agent 可用,无需重启服务。
- 📂 资产管理:支持从本地路径或网络 URL 自动上传资源至 ComfyUI。
- ⚡ 流式与进度支持:支持生成进度报告(需 Client/Host 支持)。
- 🌍 国际化双语支持:内置中英文(zh-CN/en)国际化。
- 🧩 标准 MCP 适配:全面支持 STDIO 与 Streamable HTTP 通信协议。
- 🔬 Skills 支持:包含项目技能手册SKILL.md,针对支持 Skills 的 AI 助手通过 Skills 进行深度优化。
更多详情可查阅 为什么选择我们
🧰 可用工具集
AI 代理可以通过 MCP 协议调用以下内置工具:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Comfyui: common questions
- Is Comfyui MCP server safe?
- Mostly: it is graded B (74/100). Read the Comfyui safety report
- How do I install Comfyui?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Comfyui need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Comfyui maintained?
- The last commit was 229 days ago (2026-03-20). The latest release is v1.0.1.
- How does Comfyui compare with other MCP servers?
- safety score 74/100 (higher than 40% of 48,255 servers); tools 14 (the typical server has 7); tools that change things 7% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.