comfy-mcp-server

comfy-mcp-server

3.4

If you are the rightful owner of comfy-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A server using FastMCP framework to generate images based on prompts via a remote Comfy server.

The Comfy MCP Server is designed to facilitate image generation based on user prompts by leveraging the FastMCP framework. It connects to a remote Comfy server to submit prompts and retrieve the generated images. The server requires specific environment configurations, including the Comfy server URL, workflow JSON file, and node IDs for prompt and output. Additionally, it can integrate with an Ollama server for prompt generation. The server is initiated using the 'uvx' command, and it supports both URL and file output modes for the generated images.

Features

  • Remote Image Generation: Connects to a Comfy server to generate images based on prompts.
  • Configurable Workflow: Utilizes a workflow JSON file exported from Comfy UI for image generation.
  • Environment Variable Setup: Requires specific environment variables for server configuration.
  • Ollama Integration: Optionally connects to an Ollama server for prompt generation.
  • Flexible Output Modes: Supports both URL and file output modes for generated images.