Skip to content
Cursor

ComfyUI Light MCP for Cursor

io.github.yuchen-ya/comfyui-light-mcp

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

client:Cursor transport:stdio runtime:npm

Install ComfyUI Light MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "comfyui-light-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "comfyui-light-mcp"
      ],
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ComfyUI Light MCP in other clients