Skip to main content
Glama

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

generate_image

txt2img con presets (producto/realista/rapido/anime) o params manuales

list_models

Lista checkpoints, loras y samplers disponibles

comfy_health

Estado de ComfyUI: versión, VRAM libre/total, cola

Related MCP server: ComfyUI MCP

Presets

Preset

Checkpoint

Uso

producto

RealVisXL_V4.0

Fotorrealista marketing

realista

juggernautXL_ragnarokBy

Versátil (default)

rapido

juggernautXL + 6 steps

Borradores ~5s

anime

animagine-xl-3.1

Ilustración (checkpoint no migrado)

Configuración

Env var

Default

Descripción

COMFYUI_URL

http://127.0.0.1:8188

URL de ComfyUI

COMFYUI_OUTPUT_DIR

~/stack/comfyui/output

Directorio de output

MCP_PORT

8201

Puerto del MCP server

MCP_HOST

0.0.0.0

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.service

Uso

# 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"}}}'
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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