ComfyUI

an mcp to connect claude desktop to a local comfyUI instance
  • typescript

8

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "nikolaibibo-claude-comfyui-mcp": {
      "command": "node",
      "args": [
        "[Path to your ComfyUI MCP Server]\\dist\\index.js"
      ],
      "env": {
        "COMFYUI_CONFIG": "[Path to your ComfyUI MCP Server]\\config.json"
      }
    }
  }
}

You run a local MCP server to connect Claude Desktop with your ComfyUI installation, enabling seamless image generation workflows, model management, and queue control directly from your workspace.

How to use

Connect Claude Desktop to your local ComfyUI MCP server to submit workflows, monitor progress, manage models, and handle outputs. Start by ensuring the MCP server is running through your chosen startup command, then configure Claude Desktop to point to that server. Once configured, you can submit custom workflows, generate images with templates, check status, upload input images, and retrieve outputs all within Claude Desktop.

How to install

Prerequisites you need to meet before installation are Node.js v20 or higher and a running ComfyUI instance at http://127.0.0.1:8188. You also need Claude Desktop for MCP integration and Windows 11 if you are following the exact environment described.

cd [Path to your ComfyUI MCP Server]
npm install

Configure Claude Desktop and start the MCP server

Create the Claude Desktop MCP entry to run the local server and point it to your config. The server runs as a local process and uses the ComfyUI API and file system for input and output.

{
  "mcpServers": {
    "comfyui": {
      "command": "node",
      "args": [
        "[Path to your ComfyUI MCP Server]\\dist\\index.js"
      ],
      "env": {
        "COMFYUI_CONFIG": "[Path to your ComfyUI MCP Server]\\config.json"
      }
    }
  }
}

Start the server and Claude Desktop

Restart Claude Desktop after configuring the MCP server. The ComfyUI tools become available in Claude Desktop for you to use.

Available tools

comfy_submit_workflow

Submit a custom workflow JSON with overrides to the MCP server for execution.

comfy_generate_simple

Generate an image quickly using predefined templates.

comfy_get_status

Query the current status and results of an ongoing generation.

comfy_wait_for_completion

Wait until a generation process completes and return the final result.

comfy_list_models

List available models, LoRAs, VAEs, and related assets.

comfy_save_workflow

Save a workflow to the library for later reuse.

comfy_load_workflow

Load a saved workflow from the library.

comfy_list_workflows

List all workflows stored in the library.

comfy_delete_workflow

Delete a workflow from the library.

comfy_get_queue

Get the current generation queue status.

comfy_cancel_generation

Cancel an ongoing generation.

comfy_clear_queue

Clear all pending items in the queue.

comfy_upload_image

Upload an image to the ComfyUI input folder for processing.

comfy_get_output_images

List recent output images generated by ComfyUI.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational