Generate and refine AI images/audio/video through natural conversation
A lightweight MCP (Model Context Protocol) server that lets AI agents generate and iteratively refine images, audio, and video using a local ComfyUI instance.
You run the server, connect a client, and issue tool calls. Everything else is optional depth.
This proves everything is working.
git clone https://github.com/joenorton/comfyui-mcp-server.git
cd comfyui-mcp-server
pip install -r requirements.txtMake sure ComfyUI is installed and running locally.
cd <ComfyUI_dir>
python main.py --port 8188From the repository directory:
python server.pyThe server listens at:
http://127.0.0.1:9000/mcp
Run the included test client: