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., "@comfyui-mcpGenerate an image of a mountain sunset using the realista preset"
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.
comfyui-mcp
MCP HTTP/SSE server que wrappea ComfyUI para generación de imágenes SDXL.
Corre en Pop!_OS junto con ComfyUI (puerto 8188). Expone herramientas vía HTTP/SSE en el puerto 8201 — cualquier gateway de la LAN lo consume sin instalar nada localmente.
Tools
Tool | Descripción |
| txt2img con presets (producto/realista/rapido/anime) o params manuales |
| Lista checkpoints, loras y samplers disponibles |
| Estado de ComfyUI: versión, VRAM libre/total, cola |
Related MCP server: ComfyUI MCP
Presets
Preset | Checkpoint | Uso |
| RealVisXL_V4.0 | Fotorrealista marketing |
| juggernautXL_ragnarokBy | Versátil (default) |
| juggernautXL + 6 steps | Borradores ~5s |
| animagine-xl-3.1 | Ilustración (checkpoint no migrado) |
Configuración
Env var | Default | Descripción |
|
| URL de ComfyUI |
|
| Directorio de output |
|
| Puerto del MCP server |
|
| Host binding |
GPU Broker
El MCP usa el GPU Broker para coordinar el uso de la GPU con llama-server. Antes de generar, asegura que ComfyUI tenga VRAM disponible. Ver gpu-broker.sh para detalles.
Instalación
# venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# systemd
sudo cp comfyui-mcp.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now comfyui-mcp.serviceUso
# Health check
curl -X POST http://localhost:8201/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'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
- AlicenseAqualityCmaintenanceMCP server for ComfyUI — text-to-image, variations, img2img refine, upscale, image proxy, and workflow runner.15481MIT
- 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.
- AlicenseAqualityDmaintenanceMCP server that provides image generation, captioning, and tagging via ComfyUI API, configurable for agent tools.43MIT
- Flicense-qualityCmaintenanceMCP server exposing a local (or LAN) ComfyUI instance's HTTP API as tools, so an LLM client can queue generations, inspect the queue/history, upload reference images, browse installed models/nodes, and pull back generated images.
Related MCP Connectors
MCP server for Producer/Riffusion AI music generation
MCP server for Flux AI image generation
MCP server for Wan AI video 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/GermaniU/comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server