Comfy MCP Server
A server based on the FastMCP framework that generates images according to prompts through a remote Comfy server.
rating : 2.5 points
downloads : 35
What is the Comfy MCP Server?
The Comfy MCP Server is a tool for generating images using the FastMCP framework. It interacts with a remote ComfyUI server through specified workflows and prompts. Users can input prompts, and the server will generate corresponding images according to the set workflow.How to use the Comfy MCP Server?
Users need to set environment variables and start the server, then input prompts to generate images. The server will automatically process requests and return the generated images.Applicable Scenarios
Suitable for scenarios that require rapid generation of high - quality images, such as art creation, design, advertising production, etc.Main Features
Generate images based on promptsUsers can generate corresponding images by inputting prompts.
Support for remote ComfyUI serversThe server can directly connect to a remote ComfyUI instance for image generation.
Multiple output modesSupports two output methods: URL or local file.
Integrate the Ollama modelIf Ollama is installed, pre - trained language models can be used to generate more complex prompts.
Advantages and Limitations
Advantages
Easy to use, just simple configuration is required to start working.
Powerful image generation ability, supporting multiple styles.
Support for remote ComfyUI instances, high flexibility.
Optional integration of the Ollama model to further enhance the prompt generation ability.
Limitations
Requires pre - setting of environment variables and configuration files.
Has certain requirements for the network environment, especially when using a remote server.
The generation time may be long, depending on the workflow complexity and network conditions.
How to Use
Install dependencies
Ensure that the uv toolkit and project manager are installed.
Set environment variables
Configure necessary parameters such as COMFY_URL and COMFY_WORKFLOW_JSON_FILE.
Start the server
Run the uvx command to start the Comfy MCP Server.
Submit prompts
Submit prompts through the API or client and wait for the generation results.
Usage Examples
Generate a landscape pictureThe user inputs the prompt "a beautiful mountain landscape", and the server returns a landscape picture.
Generate an abstract art workThe user inputs the prompt "abstract art", and the server returns an abstract art work.
Frequently Asked Questions
How to install the required dependencies?
What if the server cannot connect to the remote ComfyUI?
How to optimize the generation speed?
Related Resources
Official Documentation
Detailed project documentation and usage guide.
GitHub Code Repository
The source code repository of the project.
Ollama Official Website
Learn about relevant information of the Ollama language model.
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
153
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
840
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
575
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points