# Comfyui MCP (MCP server)

> Comfyui MCP is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM. It has 792 GitHub stars, is released under the MIT license and runs locally with npx -y comfyui-mcp.

The Agent panel driving ComfyUI end to end. It reads what is installed locally, wires the graph, frees VRAM, and runs the render. Watch the 76s demo &rarr;

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/artokun/comfyui-mcp |
| GitHub stars | 792 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: comfyui-mcp |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | AI & search |
| Latest release | v0.52.205 (Oct 1, 2026) |
| Last commit | Oct 1, 2026 |
| MCP registry name | io.github.artokun/comfyui-mcp |

## Install

### Claude Desktop (claude_desktop_config.json)

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

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio comfyui-mcp -- npx -y comfyui-mcp
```

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

```json
{
  "mcpServers": {
    "comfyui-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "comfyui-mcp"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

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

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

Config formats checked against the official docs on 2026-10-07.

## Tools

- `queue`: One action-parameterized tool for the execution queue: list (running + pending), status (one job by prompt ID),…
- `get_system_stats`: Get system info — GPU, VRAM, Python version, OS
- `visualize_workflow`: One action-parameterized tool for rendering and converting a workflow you pass in: render (Mermaid flowchart, nodes…
- `create_workflow`: One action-parameterized tool for authoring: create (from templates: txt2img, img2img, upscale, inpaint, controlnet,…
- `get_workflow`: One action-parameterized tool for READING a saved workflow file: list (the user library, subfolders included), get…
- `save_workflow`: One action-parameterized tool for WRITING to the library: save (store a workflow — overwrites a same-filename file),…
- `upload_image`: Copy a local image into ComfyUI's input/ directory for img2img, inpaint, or ControlNet
- `download_model`: Find and fetch model weights, and track the transfers. action: download (from a URL, into the correct ComfyUI…
- `list_local_models`: What is installed, and where ComfyUI looks. action: list (installed models by type: checkpoints, loras, vae,…
- `clear_vram`: Free GPU VRAM by unloading cached models — calls ComfyUI's /free endpoint, reports before/after stats
- `search_custom_nodes`: Search the ComfyUI Registry for node packs by keyword (action: "search"), or get one pack's full details (action:…
- `comfy_cli`: Search actual loaded node classes through official comfy nodes search (action:"search_nodes")
- `kitchen`: See what comfy-kitchen can do on this GPU (status), find where a graph leaves it on the table (assess), and apply the…

## Similar MCP servers

- [Context7](https://appsgit.com/mcp-servers/context7): Up-to-date code docs for any prompt. (62,752 stars, MIT, needs API key)
- [FunASR](https://appsgit.com/mcp-servers/funasr): Transcribe local audio with FunASR and SenseVoice using private, on-device inference. (20,596 stars, MIT)
- [Bifrost](https://appsgit.com/mcp-servers/bifrost): Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS. (8,591 stars, Apache-2.0)
- [Honcho](https://appsgit.com/mcp-servers/honcho): Memory that reasons: continual learning for stateful agents. (7,494 stars, AGPL-3.0, needs API key)
- [Semble](https://appsgit.com/mcp-servers/semble): Fast and Accurate Code Search for Agents. (6,185 stars, MIT)
- [Exa](https://appsgit.com/mcp-servers/exa): Connect AI agents to Exa for web search, content fetching, and multi-step research. (5,088 stars, MIT, official)

---

Canonical page: https://appsgit.com/mcp-servers/comfyui-mcp
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
