# ComfyUI MCP

> ComfyUI MCP is an open-source MCP server. Generate and manage ComfyUI media through the Model Context Protocol. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/entityadam/comfyui-mcp
- **MCP Registry name:** io.github.EntityAdam/comfyui-mcp
- **Listing updated:** 2026-11-13

## About

Generate and manage ComfyUI media through the Model Context Protocol.

## Install

### Claude Code (Terminal)

```sh
claude mcp add comfyui-mcp -- dnx ComfyUi.Mcp --yes
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "comfyui-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "dnx",
      "args": [
        "ComfyUi.Mcp",
        "--yes"
      ]
    }
  }
}
```

## FAQ

### Is ComfyUI MCP free?

Yes. ComfyUI MCP is open source, so you can use and self-host it for free.

### How do I add ComfyUI MCP to Claude Code?

Run this command in your terminal: claude mcp add comfyui-mcp -- dnx ComfyUi.Mcp --yes

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/comfyui-mcp
