Skip to content
appsgit

Comfyui MCP

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.

github.com/artokun/comfyui-mcp (opens in a new tab)

Install Comfyui MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.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

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

Cursor

.cursor/mcp.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
{
  "servers": {
    "comfyui-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "comfyui-mcp"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (13)

Parsed from the Tools section of the README; check the repository for the current list.

  • 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…

About 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 →

  • agent-skills
  • ai-agent
  • claude-code
  • claude-plugin
  • comfyui
  • comfyui-extension
  • flux
  • image-generation
  • mcp
  • mcp-server

FAQ

Comfyui MCP FAQ

Still curious? Email info@appsgit.com.

What is Comfyui MCP?

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 source code is at github.com/artokun/comfyui-mcp.

How do I install the Comfyui MCP MCP server?

Add the command npx -y comfyui-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Comfyui MCP free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Comfyui MCP actively maintained?

The most recent commit was on Oct 1, 2026. The latest release is v0.52.205, published Oct 1, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.