
Comfy MCP Server
Supports UIby lalanikarim
Generate images via remote ComfyUI servers using a flexible workflow-based MCP interface.
What it does
Connects an AI assistant to a remote ComfyUI instance, allowing the model to generate images by submitting prompts to a specified ComfyUI workflow.
Tools
generate_image: Generates an image using a specified prompt and a pre-configured workflow.generate_prompt: Uses a local Ollama instance to expand a simple topic into a detailed image generation prompt.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"Comfy MCP Server": {
"command": "uvx",
"args": [
"comfy-mcp-server"
],
"env": {
"COMFY_URL": "http://your-comfy-server-url:port",
"COMFY_WORKFLOW_JSON_FILE": "/path/to/the/comfyui_workflow_export.json",
"PROMPT_NODE_ID": "6",
"OUTPUT_NODE_ID": "9",
"OUTPUT_MODE": "file"
}
}
}
}
Supported hosts
- Claude Desktop
Quick install
uvx comfy-mcp-serverInformation
- Pricing
- free
- Published
- 4/24/2026
- stars






