Skip to content
Cursor

ComfyUI MCP for Cursor

io.github.entityadam/comfyui-mcp

Generate and manage ComfyUI media through the Model Context Protocol.

client:Cursor transport:stdio runtime:nuget

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": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ],
      "env": {
        "ComfyMcp__BaseUrl": "<ComfyMcp__BaseUrl>"
      }
    }
  }
}

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