comfyui-core

Solid

Core ComfyUI knowledge — workflow format, node types, pipeline patterns, and MCP tool usage

AI & Automation 160 stars 30 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ComfyUI Core Knowledge ## Workflow JSON Format (API Format) ComfyUI workflows are JSON objects mapping **string node IDs** to node definitions: ```json { "1": { "class_type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "sd_xl_base_1.0.safetensors" }, "_meta": { "title": "Load Checkpoint" } }, "2": { "class_type": "CLIPTextEncode", "inputs": { "text": "a cat", "clip": ["1", 1] }, "_meta": { "title": "Positive Prompt" } } } ``` ### Key Rules - **Node IDs** are strings of integers (`"1"`, `"2"`, etc.) - **`class_type`** is the exact Python class name of the node - **`inputs`** contains both widget values (scalars) and connections (arrays) - **Connections** use the format `["sourceNodeId", outputIndex]` — a 2-element array where: - First element: string node ID of the source node - Second element: integer index into the source node's `output` list (0-based) - **`_meta`** is optional, used for display titles only ### Connection Examples ```json "model": ["1", 0] // Connect to node 1's first output (MODEL) "clip": ["1", 1] // Connect to node 1's second output (CLIP) "vae": ["1", 2] // Connect to node 1's third output (VAE) "positive": ["2", 0] // Connect to node 2's first output (CONDITIONING) "samples": ["5", 0] // Connect to node 5's first output (LATENT) "images": ["6", 0] // Connect to node 6's first output (IMAGE) ``` ### Important: API Format vs Web UI Format - **API format** (what we use):...

Details

Author
artokun
Repository
artokun/comfyui-mcp
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Related Skills