operit-comfyui-mcp
Click on "Install 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., "@operit-comfyui-mcpConnect to ComfyUI and generate an image of a sunset using the default workflow"
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.
operit-comfyui-mcp
Operit 本地 MCP 插件,让 AI 助手调用电脑上运行的 ComfyUI 生成图像。
工作原理
ComfyUI 跑在电脑上,这个插件让手机上的 Operit 通过 MCP 协议跟它通信。 手机上发指令,电脑出图。
Related MCP server: ComfyUI MCP
前置条件
电脑上已安装并运行 ComfyUI
手机和电脑在同一局域网
Operit 中已配置此 MCP 插件
功能
连接与状态
comfy_connect(host) — 连接 ComfyUI 服务器,host 填
IP:8188comfy_system_stats() — 查看系统信息(Python版本、CUDA/GPU、显存)
comfy_free_vram() — 释放显存,卸载模型
工作流管理
comfy_list_workflows() — 列出所有可用工作流
comfy_load_workflow(name, json_string, file_path) — 加载工作流
comfy_get_workflow_params(name) — 查看工作流可调参数
comfy_get_recent_workflows(limit) — 查看最近执行过的工作流
comfy_load_from_history(prompt_id) — 从历史记录重新加载工作流
生成
comfy_generate(workflow_name, params, wait) — 修改参数并执行生成
comfy_quick_gen(file_path, params) — 从文件快速加载并生成
comfy_get_result(prompt_id) — 获取某次生成的结果
comfy_upload_image(file_path) — 上传图片到 ComfyUI 输入目录
诊断与修复
comfy_list_nodes() — 列出 ComfyUI 已安装的所有节点类型
comfy_list_models(folder) — 列出指定目录下的模型
comfy_check_compatibility(name) — 检查工作流是否有缺失节点
comfy_fix_workflow(name) — 自动修复缺失节点
队列控制
comfy_queue_status() — 查看当前执行队列
comfy_interrupt() — 中断当前正在执行的工作流
使用步骤
电脑上启动 ComfyUI(加 --listen 参数允许远程连接)
在 Operit 中调 comfy_connect 连接你的 ComfyUI
让 AI 在 ComfyUI 中搭建工作流,或加载已有工作流
调 comfy_generate 改提示词,开始生图
首次生图较慢(ComfyUI 需编译 Shader),之后就快了。
注意事项
工作流路径基于 ComfyUI 的 user/default/workflows 目录
图片保存到 ComfyUI 的 output 目录
连不上先检查网络
理论上也可以生成视频(需使用 AnimateDiff 等视频工作流),但 Operit 暂无视频播放功能,需要 AI 将视频文件放到指定位置供你查看
许可证
本项目采用 CC BY-NC 4.0(署名-非商业使用)许可证。 可以自由分享、修改,但需署名原作者且不得用于商业用途。 详见 LICENSE 文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA lightweight MCP server that bridges AI agents with a local ComfyUI instance to generate and iteratively refine images, audio, and video through conversational tool calls.Last updated30MIT
- Flicense-qualityBmaintenanceMCP server that connects local ComfyUI to AI agents, enabling natural language control of ComfyUI for creating workflows, generating images, and managing the queue.Last updated
- Alicense-qualityBmaintenanceAn MCP server that bridges AI agents with ComfyUI for automated workflow building, execution, monitoring, and output routing.Last updated1MIT
- Alicense-qualityDmaintenanceMCP server that provides image generation, captioning, and tagging via ComfyUI API, configurable for agent tools.Last updated3MIT
Related MCP Connectors
MCP server for Wan AI video generation
MCP server for Flux AI image generation
MCP server for Producer/Riffusion AI music generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MengXinSu/operit-comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server