ComfyUI MCP Server

A Model Context Protocol (MCP) server for ComfyUI that provides image generation and prompt optimization services.

Local serverstdio

What is the ComfyUI MCP Server?

ComfyUI MCP Server is an MCP project maintained in the zuojianghua/comfyui_mcp_server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for ComfyUI that provides image generation and prompt optimization services”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares COMFY_URL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the ComfyUI MCP Server

{
  "mcpServers": {
    "ComfyUI_MCP_Server": {
      "disabled": false,
      "timeout": 600,
      "command": "python",
      "args": [
        "D:\\code\\comfyui_mcp_server\\server.py"
      ],
      "env": {
        "COMFY_URL": "http://127.0.0.1:8188/"
      },
      "transportType": "stdio"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
COMFY_URLDeclared in the maintainer’s client configuration.Check documentation