comfyui-mcp
comfyui-mcp
Servidor del Model Context Protocol (MCP) para ComfyUI. Expone flujos de trabajo locales (o alojados en Comfy Cloud) como una superficie de herramientas para que agentes de chat, diarios y paneles puedan generar imágenes, vídeo, audio y 3D.
Qué hace
Ejecutar cualquier flujo de trabajo en formato API con inyección de parámetros
Transmitir la salida como un archivo (imagen / vídeo / audio)
Gestionar la cola, interrumpir, liberar VRAM
Listar nodos personalizados y modelos instalados
Subir imágenes para img2img / inpaint
Instalar nodos personalizados y modelos mediante
comfy-cli
Related MCP server: Agent Construct
Arquitectura
┌─────────────────────────┐ stdio / Streamable HTTP / REST ┌──────────────────┐
│ Chat agent / dashboard │ ────────────────────────────────▶ │ comfyui-mcp │
│ (Hermes, Claude, etc.) │ ◀──────────────────────────────── │ (Python) │
└─────────────────────────┘ └──────────────────┘
│
▼
┌──────────────────┐
│ ComfyUI server │
│ 127.0.0.1:8188 │
│ (or Cloud) │
└──────────────────┘Se incluyen tres transportes:
Transporte | URL | Caso de uso |
stdio | n/a | Claude Desktop, Hermes, cualquier cliente MCP-stdio |
HTTP REST |
| curl, webhooks, paneles |
Streamable HTTP MCP |
| Clientes MCP del lado del navegador |
Privacidad
Este repositorio es completamente público. No hay secretos en este código. Todas las credenciales
del backend se configuran en tiempo de ejecución mediante variables de entorno
(consulte .env.example):
COMFYUI_HOST— host:puerto del servidor local de ComfyUICOMFY_CLOUD_API_KEY— si se establece, apuntar aplatform.comfy.orgen su lugarCOMFYUI_AUTH_TOKEN— token bearer opcional para servidores autoalojados
El código incluido nunca ve tus claves API.
Herramientas expuestas
Herramienta | Propósito |
| Ping a /system_stats |
| Enviar un JSON de flujo de trabajo con parámetros |
| Obtener la imagen/vídeo resultante por prompt_id |
| Ver la cola |
| Cancelar trabajo en ejecución |
| Descargar modelos |
| Listar nodos personalizados instalados |
| Listar checkpoints, loras, vae, etc. instalados |
| Subir imagen para img2img / inpaint |
| Instalar un nodo personalizado |
| Descargar un modelo |
Inicio rápido
git clone https://github.com/Franzferdinan51/comfyui-mcp
cd comfyui-mcp
cp .env.example .env
# edit .env to point at your ComfyUI server
pip install -r requirements.txt
./scripts/comfyui-mcp.bat # or python scripts/comfyui_mcp_server.pyComfyUI debe estar ejecutándose en el host:puerto configurado (127.0.0.1:8188 por defecto).
Inicie el puente HTTP para uso con curl/panel:
python scripts/comfyui_http_bridge.py
# → http://localhost:9300Inicie el transporte Streamable HTTP MCP:
python scripts/comfyui_streamable_http.py
# → http://localhost:9300/mcpLicencia
MIT — bifurque libremente, atribuya a Franzferdinan51 / Duckets.
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
- AlicenseNot gradedqualityCmaintenanceA 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.41MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that connects local ComfyUI to AI agents, enabling natural language control of ComfyUI for creating workflows, generating images, and managing the queue.
- AlicenseNot gradedqualityDmaintenanceMCP server that enables AI agents to control a local ComfyUI instance for image generation, allowing workflow understanding, parameter modification, execution, and model discovery.242Apache 2.0
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
A Model Context Protocol server for Wix AI tools
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/Franzferdinan51/comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server