
comfyui_mcp_server
generate_image和其他工作流程
1
Github Watches
0
Github Forks
3
Github Stars
ComfyUI MCP Server
A Model Context Protocol (MCP) server for ComfyUI that provides image generation and prompt optimization services.
Features
- Image Generation: Generate images using ComfyUI text_to_image workflows
- Prompt Optimization: Optimize image generation prompts for better results
Server Architecture
-
Core Components:
- FastMCP framework implementation
- ComfyUI API integration
- Polling mechanism for result retrieval
-
Key Functions:
-
generate_image
: Creates images from text prompts -
optimize_image_prompt
: Enhances input prompts for better generation results
-
-
Technical Specifications:
- Automatic image dimension adjustment (multiples of 8)
- Random seed generation for diverse outputs
- Returns both local file paths and online accessible URLs
Configuration
{
"mcpServers": {
"ComfyUI_MCP_Server": {
"disabled": false,
"timeout": 600,
"command": "python",
"args": [
"D:\\code\\comfyui_mcp_server\\server.py"
],
"env": {
"COMFY_URL": "http://127.0.0.1:8188/"
},
"transportType": "stdio"
}
}
}
Requirements
- Python 3.7+
- ComfyUI instance running
- FastMCP library installed
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_OBJOYb55
I've been using the comfyui_mcp_server by zuojianghua, and it has truly revolutionized my workflow. The seamless integration and user-friendly interface make it a powerful tool for managing my MCP applications. Highly recommend checking it out on GitHub!