ComfyUI Light MCP for VS Code
io.github.yuchen-ya/comfyui-light-mcp
Workflow-first, Batch-native, Context-light.
client:VS Code
transport:stdio
runtime:npm
Install ComfyUI Light MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "comfyui-url",
"description": "COMFYUI_URL",
"password": true
},
{
"type": "promptString",
"id": "workflows-dir",
"description": "WORKFLOWS_DIR",
"password": true
},
{
"type": "promptString",
"id": "data-dir",
"description": "DATA_DIR",
"password": true
},
{
"type": "promptString",
"id": "output-dir",
"description": "OUTPUT_DIR",
"password": true
},
{
"type": "promptString",
"id": "auto-save-outputs",
"description": "AUTO_SAVE_OUTPUTS",
"password": true
},
{
"type": "promptString",
"id": "max-in-flight",
"description": "MAX_IN_FLIGHT",
"password": true
},
{
"type": "promptString",
"id": "max-queued-jobs",
"description": "MAX_QUEUED_JOBS",
"password": true
},
{
"type": "promptString",
"id": "job-timeout-ms",
"description": "JOB_TIMEOUT_MS",
"password": true
}
],
"servers": {
"comfyui-light-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"comfyui-light-mcp"
],
"env": {
"COMFYUI_URL": "${input:comfyui-url}",
"WORKFLOWS_DIR": "${input:workflows-dir}",
"DATA_DIR": "${input:data-dir}",
"OUTPUT_DIR": "${input:output-dir}",
"AUTO_SAVE_OUTPUTS": "${input:auto-save-outputs}",
"MAX_IN_FLIGHT": "${input:max-in-flight}",
"MAX_QUEUED_JOBS": "${input:max-queued-jobs}",
"JOB_TIMEOUT_MS": "${input:job-timeout-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs