NestDaddy

ComfyUI Light MCP

io.github.yuchen-ya/comfyui-light-mcp · v0.3.0-rc.2.1

Workflow-first, Batch-native, Context-light.

Connect Runs on your machine

Terminal
claude mcp add comfyui-light-mcp -e COMFYUI_URL=<COMFYUI_URL> -e WORKFLOWS_DIR=<WORKFLOWS_DIR> -e DATA_DIR=<DATA_DIR> -e OUTPUT_DIR=<OUTPUT_DIR> -e AUTO_SAVE_OUTPUTS=<AUTO_SAVE_OUTPUTS> -e MAX_IN_FLIGHT=<MAX_IN_FLIGHT> -e MAX_QUEUED_JOBS=<MAX_QUEUED_JOBS> -e JOB_TIMEOUT_MS=<JOB_TIMEOUT_MS> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "comfyui-light-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "WORKFLOWS_DIR": "<WORKFLOWS_DIR>",
        "DATA_DIR": "<DATA_DIR>",
        "OUTPUT_DIR": "<OUTPUT_DIR>",
        "AUTO_SAVE_OUTPUTS": "<AUTO_SAVE_OUTPUTS>",
        "MAX_IN_FLIGHT": "<MAX_IN_FLIGHT>",
        "MAX_QUEUED_JOBS": "<MAX_QUEUED_JOBS>",
        "JOB_TIMEOUT_MS": "<JOB_TIMEOUT_MS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "comfyui-light-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "WORKFLOWS_DIR": "<WORKFLOWS_DIR>",
        "DATA_DIR": "<DATA_DIR>",
        "OUTPUT_DIR": "<OUTPUT_DIR>",
        "AUTO_SAVE_OUTPUTS": "<AUTO_SAVE_OUTPUTS>",
        "MAX_IN_FLIGHT": "<MAX_IN_FLIGHT>",
        "MAX_QUEUED_JOBS": "<MAX_QUEUED_JOBS>",
        "JOB_TIMEOUT_MS": "<JOB_TIMEOUT_MS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "comfyui-light-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "WORKFLOWS_DIR": "<WORKFLOWS_DIR>",
        "DATA_DIR": "<DATA_DIR>",
        "OUTPUT_DIR": "<OUTPUT_DIR>",
        "AUTO_SAVE_OUTPUTS": "<AUTO_SAVE_OUTPUTS>",
        "MAX_IN_FLIGHT": "<MAX_IN_FLIGHT>",
        "MAX_QUEUED_JOBS": "<MAX_QUEUED_JOBS>",
        "JOB_TIMEOUT_MS": "<JOB_TIMEOUT_MS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
COMFYUI_URL
Required
Required installation choice: your trusted running ComfyUI HTTP(S) endpoint. No credentials, query or fragment.
WORKFLOWS_DIR
Required
Required absolute existing directory containing your reviewed workflow API JSON and manifest pairs.
DATA_DIR
Required
Required absolute writable SQLite state directory. Use a separate directory per MCP process.
OUTPUT_DIR
Required
Required absolute writable output/download/index directory.
AUTO_SAVE_OUTPUTS
Optional
Application default: true. Download outputs on completion; false defers downloads to result queries.
MAX_IN_FLIGHT
Optional
Application default: 1. Integer 1-64; includes uncertain submissions.
MAX_QUEUED_JOBS
Optional
Application default: 1. Integer 1-64, no greater than MAX_IN_FLIGHT.
JOB_TIMEOUT_MS
Optional
Application default: 600000. Integer 10000-86400000 milliseconds.

Details

Package[email protected] (NPM, stdio)
First published11 Nov 2026
Last updated11 Nov 2026
Registry nameio.github.yuchen-ya/comfyui-light-mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.