Comfyui
A lightweight MCP server based on Python that interacts with local ComfyUI via WebSocket to enable programmatic image generation by AI agents.
rating : 2.5 points
downloads : 78
What is the ComfyUI MCP Server?
The ComfyUI MCP server is a lightweight Python-based tool for generating images through AI models. It allows users to send requests to a locally running ComfyUI instance via the WebSocket protocol to generate custom images.How to use the ComfyUI MCP Server?
Simply start the server and send requests to quickly generate images. It supports various parameter customizations, such as image size, style, and model selection.Application Scenarios
Suitable for scenarios that require rapid generation of high-quality images, such as art creation, design, and AI-assisted projects.Main Features
Flexible Workflow SelectionSupports multiple preset workflows to easily adapt to different needs.
Dynamic Parameter ConfigurationSupports real-time modification of image width, height, style, and model.
WebSocket Protocol SupportEnables efficient real-time communication via WebSocket.
Advantages and Limitations
Advantages
Lightweight design, easy to deploy and use
Supports multiple image generation models
Fast real-time response
Limitations
Requires local installation of the ComfyUI environment
Relies heavily on advanced users
How to Use
Install Dependencies
Ensure Python 3.10 or higher is installed, and install the necessary dependency packages.
Start ComfyUI
Run a ComfyUI instance locally and ensure it listens on port 8188.
Start the MCP Server
Run the MCP server to listen for WebSocket connections.
Usage Examples
Generate an Image of a Dog Wearing SunglassesSend a request to generate an image with a specific prompt.
Adjust the Size and Style of the Generated ImageGenerate images of larger sizes or different styles by modifying parameters.
Frequently Asked Questions
Do I need to install ComfyUI to use this server?
How can I change the size of the generated image?
Can it support other models?
Related Resources
ComfyUI Official Documentation
Understand the basic knowledge and usage of ComfyUI.
MCP Protocol Documentation
Deeply understand the working principle of the MCP protocol.
Project Code Repository
Access the project code and submit issues or PRs.
Featured MCP Services

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

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

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
79
4.3 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
130
4.5 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#
554
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.6K
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
745
4.8 points