# Comfyui MCP

> Comfyui MCP is an open-source MCP server. MCP server for ComfyUI: text-to-image, variations, img2img refine, upscale, image proxy. It runs as a hosted remote server, so there is nothing to install locally.

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

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add comfyui-mcp -- npx -y @miller-joe/comfyui-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "comfyui-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ]
    }
  }
}
```

## 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 -- npx -y @miller-joe/comfyui-mcp

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