Comfy-MCP
Verified Safeby dseditor
Overview
Automates text-to-image generation using ComfyUI workflows, enabling seamless integration with MCP-compatible AI agents like Claude and Gemini.
Installation
python -m comfy_mcp_serverEnvironment Variables
- COMFY_URL
- COMFY_URL_EXTERNAL
- COMFY_WORKFLOW_JSON_FILE
- PROMPT_NODE_ID
- OUTPUT_NODE_ID
- OUTPUT_MODE
- COMFY_MAX_POLL_ATTEMPTS
- COMFY_POLL_INTERVAL
- OLLAMA_API_BASE
- PROMPT_LLM
- COMFY_LOCAL_SAVE_DIR
Security Notes
The server uses `subprocess.run` to install Python packages and to interact with external AI CLI tools (e.g., `claude mcp add-json`). It also directly modifies configuration files for other AI applications (Claude Desktop, Gemini CLI) in user directories. While these actions are intended for integration and setup, they involve broad system interaction and modifying external application settings, which could be a concern if the source is not fully trusted or its implications are not understood. The `shell=True` for Claude CLI commands on Windows adds a minor, but controlled, risk.
Similar Servers
comfyui-mcp-server
The server enables AI agents to generate and iteratively refine images, audio, and video using a local ComfyUI instance through the Model Context Protocol (MCP).
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.
image-gen-mcp-server
This repository functions as a landing page and documentation for an AI image generation plugin that unifies multiple AI image providers through a single interface for Claude Code users.
n8n-mcp-server
Facilitates natural language management of n8n workflows, executions, and credentials through integration with Claude AI via the Model Context Protocol.