Skip to content
Cursor

comfyui mcp for Cursor

io.github.miller-joe/comfyui-mcp

MCP server for ComfyUI: text-to-image, variations, img2img refine, upscale, image proxy.

client:Cursor transport:stdio runtime:npm

Install comfyui 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-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ],
      "env": {
        "COMFYUI_URL": "<COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
        "COMFYUI_DEFAULT_CKPT": "<COMFYUI_DEFAULT_CKPT>"
      }
    }
  }
}

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

comfyui mcp in other clients