Comfy MCP Server
A server using the FastMCP framework to generate images based on prompts via a remote Comfy server, serving as a specialized MCP server for generative tasks.
About this tool
Comfy MCP Server
Overview
Comfy MCP Server is a specialized server built using the FastMCP framework to automate image generation tasks. It interacts with a remote Comfy server, allowing users to submit text prompts and receive generated images through an API. The server is designed for developers, AI researchers, digital artists, and content creators who require scalable and efficient image creation workflows.
Features
- Automates image generation from text prompts via API
- Integrates with remote Comfy server for high-quality image creation
- Supports custom workflows exported from Comfy UI (via JSON files)
- Environment variable configuration for server and workflow parameters (COMFY_URL, COMFY_WORKFLOW_JSON_FILE, PROMPT_NODE_ID, OUTPUT_NODE_ID, OUTPUT_MODE)
- Supports custom models, including those hosted on Ollama or local setups
- Batch processing: supports processing multiple prompts simultaneously
- Flexible prompt generation (supports both natural language and custom templates)
- Output configuration: images can be returned as URLs or files, depending on OUTPUT_MODE
- Compatible with Python 3.x, requires the
uvpackage - MIT License (open source, modifiable)
- Logging and monitoring via logs and activity feeds
Use Cases
- Automated art and design creation
- Batch image generation for research projects
- AI-powered content creation workflows
- Integration into creative production pipelines
How to Use
- Install dependencies (Python 3.x,
uvpackage) - Set required environment variables: COMFY_URL, COMFY_WORKFLOW_JSON_FILE, PROMPT_NODE_ID, OUTPUT_NODE_ID, OUTPUT_MODE
- Export your workflow JSON file from Comfy UI
- Run the server with
uvx comfy-mcp-server - Submit prompts via API to generate and retrieve images
Pricing
No pricing information provided. The server is open source under the MIT License.
Tags
generative-ai image-generation fastmcp automation
Loading more......
Information
Categories
Similar Products
6 result(s)MCP server for All-Images.ai that lets AI agents generate unique, royalty-free, and personalized visuals via the Model Context Protocol.
An MCP server enabling AI image generation via Amazon Nova Canvas using text and color guidance, designed for conversational assistants and creative agents.
An MCP server for APITemplate.io that allows automated generation of images and PDF documents via a simple API exposed through MCP.
An MCP server for Bannerbear, providing API-based automated image and video generation capabilities to MCP-compatible environments.
An MCP Server for Chatsonic that gives MCP agents access to Chatsonic’s ChatGPT-like capabilities with real-time data, image generation, and voice search.
An MCP server that utilizes Amazon Nova Canvas model for image generation, integrating Amazon Bedrock with MCP-compatible clients.