NestDaddy

ComfyUI MCP

io.github.GermaniU/comfyui-mcp ยท v0.1.1

MCP server that wraps ComfyUI (SDXL/Wan 2.2) for image and short-video generation.

Connect Runs on your machine

Terminal
claude mcp add comfyui-mcp -e COMFYUI_URL=<COMFYUI_URL> -e COMFYUI_PUBLIC_URL=<COMFYUI_PUBLIC_URL> -e MCP_AUTH_TOKEN=<MCP_AUTH_TOKEN> -- docker run -i --rm ghcr.io/germaniu/comfyui-mcp:0.1.1
claude_desktop_config.json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "comfyui-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>"
      }
    }
  }
}

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
Optional
Loopback URL of the ComfyUI engine. Inside a container 127.0.0.1 is the container itself, so point it at the host running ComfyUI (e.g. http://host.docker.internal:8188 or the LAN IP).
COMFYUI_PUBLIC_URL
Optional
LAN base URL used to build direct image download links.
MCP_AUTH_TOKEN
Optional, secret
Only applies when the container runs in HTTP mode. If set, every HTTP request must carry an Authorization: Bearer header.

Details

Packageghcr.io/germaniu/comfyui-mcp:0.1.1 (OCI, stdio)
First published17 Oct 2026
Last updated17 Oct 2026
Registry nameio.github.GermaniU/comfyui-mcp

More ai and media servers See all

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