comfy-agent-integration
Connect ComfyUI to AI agents via MCP.
- License 许可
- MIT
- 所属仓库
- zapabob/Skills
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- comfy-agent-integration
- author
- Hermes Curator
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "comfyui", "mcp", "comfy", "agent-tools", "hermes" ], "category": "creative", "related_skills": [ "comfyui", "native-mcp" ] } }
- platforms
- [ "windows", "linux", "macos" ]
- description
- Connect ComfyUI to AI agents via MCP.
02 资源文件 1
- 参考文档bmad-skill-manifest.yaml1.1 KB
03 SKILL.md 正文
Comfy Agent Integration
Use this class-level workflow when connecting ComfyUI to Hermes or another MCP client. Keep Cloud MCP, official local MCP, and community servers distinct; similarly named packages are not interchangeable.
Connection types
| Connection | Transport | Target | Distinction |
|---|---|---|---|
| Comfy Cloud MCP | Streamable HTTP | Comfy Cloud | Hosted GPUs; OAuth at https://cloud.comfy.org/mcp |
Official local MCP (comfy-local-mcp, documented script comfy-mcp) |
stdio | Local ComfyUI | First-party wrapper over comfy-cli |
| Community MCP servers | stdio or local HTTP | Local ComfyUI | Third-party; verify source and scope |
PyPI comfy-mcp-server |
stdio | Configured workflow | Third-party single-workflow server, not official |
Workflow
- Identify whether the user wants Cloud, official local, or community local integration; never silently substitute one.
- Before promising official local setup, verify its current distribution using the docs, GitHub, PyPI, and installed CLI surface. Documentation may precede public packaging.
- Verify prerequisites: Python 3.10+,
comfy-cli, an existing ComfyUI workspace, and the local endpoint (normallyhttp://127.0.0.1:8188). - Check ComfyUI separately with
curl http://127.0.0.1:8188/system_stats; JSON means reachable, connection refusal means ComfyUI is stopped. - Configure Hermes under
mcp_serverswith a distinct name such ascomfy-local; usecommand,args, and an absoluteCOMFY_BINonly when needed. - Restart Hermes because MCP discovery occurs at startup. Verify with
hermes mcp listand actual tool discovery. - Do not report success without subprocess connection, discovered tools, and local health evidence.
Hermes patterns
mcp_servers:
comfy-cloud:
url: https://cloud.comfy.org/mcp
auth: oauth
enabled: true
comfy-local:
command: comfy-mcp
args: []
env:
COMFY_BIN: "C:\\Users\\<user>\\.local\\bin\\comfy.exe"
enabled: true
Pitfalls
comfy mcpis not necessarily acomfy-clisubcommand; check the installed version.- PyPI
comfy-mcp-serveris a naming trap. It expectsCOMFY_URL,COMFY_WORKFLOW_JSON_FILE,PROMPT_NODE_ID, andOUTPUT_NODE_ID, and is not Comfy's first-party local server. - A stopped
:8188service is distinct from a broken MCP configuration. - Cloud and local connections have separate lifecycles and can coexist.
- If official packaging is unavailable, report that accurately and offer
comfy-cli/ComfyUI workflows or a clearly labeled community alternative.
References
references/comfy-local-mcp-availability.md— dated evidence and a re-check recipe for official local MCP availability.
04 同仓库更多 Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
serving-llms-vllm
vLLM: high-throughput LLM serving, OpenAI API, quantization.