lalanikarim_comfy-mcp-server
1
Comfy MCP Server utilizes the FastMCP framework to facilitate image generation by submitting prompts to a remote Comfy server. It is configured through environment variables and executes a set code workflow for image retrieval.
Comfy MCP Server
- A server leveraging FastMCP to generate images from prompts via a remote Comfy server.
- Interacts with Comfy server to process prompts and retrieve images.
- Requirements include Python 3.x and packages like
mcp
,json
,urllib
,time
, andos
.
Prerequisites
- Required packages can be installed with pip.
Configuration
- Environment variables need to be set for COMFY URL, workflow JSON file, prompt, and output node IDs.
Usage
- Run the script to start the server for generating images based on prompts.
Functionality
- Image generation involves checking environment settings, submitting prompts, polling processing status, and retrieving images.
Dependencies
- Utilizes packages for MCP server setup and HTTP requests.
License
- MIT License.