comfyui-mcp
comfyui-mcp
Model Context Protocol (MCP)-Server für ComfyUI. Stellt lokale (oder gehostete Comfy Cloud) Workflows als Werkzeugoberfläche bereit, sodass Chat-Agenten, Tagebücher und Dashboards Bilder, Videos, Audio und 3D generieren können.
Was es tut
Jeden Workflow im API-Format mit Parameterinjektion ausführen
Die Ausgabe als Datei streamen (Bild / Video / Audio)
Warteschlange verwalten, unterbrechen, VRAM freigeben
Installierte benutzerdefinierte Knoten und Modelle auflisten
Bilder für img2img / Inpaint hochladen
Benutzerdefinierte Knoten und Modelle über
comfy-cliinstallieren
Related MCP server: Agent Construct
Architektur
┌─────────────────────────┐ stdio / Streamable HTTP / REST ┌──────────────────┐
│ Chat agent / dashboard │ ────────────────────────────────▶ │ comfyui-mcp │
│ (Hermes, Claude, etc.) │ ◀──────────────────────────────── │ (Python) │
└─────────────────────────┘ └──────────────────┘
│
▼
┌──────────────────┐
│ ComfyUI server │
│ 127.0.0.1:8188 │
│ (or Cloud) │
└──────────────────┘Drei Transporte werden ausgeliefert:
Transport | URL | Anwendungsfall |
stdio | n/a | Claude Desktop, Hermes, jeder MCP-stdio-Client |
HTTP REST |
| curl, Webhooks, Dashboards |
Streamable HTTP MCP |
| Browser-seitige MCP-Clients |
Datenschutz
Dieses Repository ist vollständig öffentlich. In dieser Codebasis befinden sich keine Geheimnisse. Alle Backend-Anmeldeinformationen werden zur Laufzeit über Umgebungsvariablen konfiguriert (siehe .env.example):
COMFYUI_HOST— Host:Port des lokalen ComfyUI-ServersCOMFY_CLOUD_API_KEY— falls gesetzt, stattdessenplatform.comfy.organsteuernCOMFYUI_AUTH_TOKEN— optionales Bearer-Token für selbst gehostete Server
Der ausgelieferte Code sieht niemals Ihre API-Schlüssel.
Verfügbare Werkzeuge
Tool | Zweck |
| Ping /system_stats |
| Einen Workflow-JSON mit Parametern einreichen |
| Das resultierende Bild/Video anhand der prompt_id abrufen |
| Warteschlange einsehen |
| Laufenden Job abbrechen |
| Modelle entladen |
| Installierte benutzerdefinierte Knoten auflisten |
| Installierte Checkpoints, LoRAs, VAEs, … auflisten |
| Bild für img2img / Inpaint hochladen |
| Einen benutzerdefinierten Knoten installieren |
| Ein Modell herunterladen |
Schnellstart
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 muss auf dem konfigurierten Host:Port laufen (standardmäßig 127.0.0.1:8188).
Starten Sie die HTTP-Bridge für die Verwendung mit curl/Dashboard:
python scripts/comfyui_http_bridge.py
# → http://localhost:9300Starten Sie den Streamable HTTP MCP-Transport:
python scripts/comfyui_streamable_http.py
# → http://localhost:9300/mcpLizenz
MIT — frei forken, mit Namensnennung an 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