Comfy Pilot

Developer toolsProductivity and workflow

MCP server + embedded terminal that lets Claude Code see and edit your ComfyUI workflows.

Your AI app calls the Comfy Pilot MCP server, which does the developer tools and productivity and workflow work and sends the result back to the chat.

About Comfy Pilot

Comfy Pilot is a community MCP server from ConstantineB6, filed in our directory under developer tools and productivity and workflow. MCP server + embedded terminal that lets Claude Code see and edit your ComfyUI workflows.

At a glance

Publisher
ConstantineB6 (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
231

How to set up Comfy Pilot

  1. Follow the install steps in the Comfy Pilot README; it is written in Python, so have that toolchain ready.
  2. Check the Comfy Pilot README for keys or settings; the registry lists none that Comfy Pilot requires.
  3. Add Comfy Pilot to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Comfy Pilot tools to confirm the connection.
  5. Run one read-only task with Comfy Pilot first, and keep your app asking before each tool call until the results look right.

Comfy Pilot compared with similar servers

  • PDF Metadata Editor by zaro has fewer GitHub stars than Comfy Pilot (231 against 231); both are community servers, and both run locally.
  • Agentcad by jdilla1277 has fewer GitHub stars than Comfy Pilot (231 against 231); both are community servers, and both run locally.
  • SharpToolsMCP by kooshi has fewer GitHub stars than Comfy Pilot (230 against 231); both are community servers, and both run locally.

Before you connect Comfy Pilot

  • Give Comfy Pilot its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Comfy Pilot tool call until you trust what it does with them.
  • Treat text that Comfy Pilot fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Comfy Pilot on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Comfy Pilot

How marketing and sales teams put Comfy Pilot to work, by company size. Pick the size closest to yours and start Comfy Pilot on one use case.

Small business

  • A small business with a developer can use Comfy Pilot to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Comfy Pilot to explain and fix a marketing site issue without context switching between tools.
  • A busy owner can use Comfy Pilot to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Comfy Pilot runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Comfy Pilot to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Comfy Pilot to keep scripts and automations documented and versioned as they change.
  • Marketing ops can connect Comfy Pilot to build launch checklists from a template and post status updates without a weekly meeting.
  • Start Comfy Pilot on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Comfy Pilot with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Comfy Pilot so web and marketing engineering share one reviewed way of working with AI.
  • Enterprise PMOs can use Comfy Pilot to roll up status across many teams into one view for leadership, with links back to each source task.
  • Comfy Pilot is a community server, so have security review the code and pin a version before Comfy Pilot touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Comfy Pilot README

From ConstantineB6/comfy-pilot on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Comfy Pilot

Talk to your ComfyUI workflows. Comfy Pilot gives Claude Code direct access to see, edit, and run your workflows, with an embedded terminal right inside ComfyUI.

Why?

Building ComfyUI workflows means manually searching for nodes, dragging connections, and tweaking values one at a time. With Comfy Pilot, you just describe what you want:

  • "Build me an SDXL workflow with ControlNet", Claude creates all the nodes, connects them, and sets the parameters
  • "Look at the output and increase the detail", Claude sees your generated image and adjusts the workflow
  • "Download the FLUX schnell model and set up a workflow for it", Claude downloads the model and builds a workflow from scratch

No copy-pasting node names. No hunting through menus. Just say what you want.

Installation

CLI (Recommended):

comfy node install comfy-pilot

ComfyUI Manager:

  1. Open ComfyUI
  2. Click Manager → Install Custom Nodes
  3. Search for "Comfy Pilot"
  4. Click Install
  5. Restart ComfyUI

Git Clone:

cd ~/Documents/ComfyUI/custom_nodes && git clone https://github.com/ConstantineB6/comfy-pilot.git

Claude Code CLI will be installed automatically if not found.

Requirements

  • ComfyUI
  • Python 3.8+

Features

  • MCP Server - Gives Claude Code direct access to view, edit, and run your ComfyUI workflows
  • Embedded Terminal - Full xterm.js terminal running Claude Code right inside ComfyUI
  • Image Viewing - Claude can see outputs from Preview Image and Save Image nodes
  • Graph Editing - Create, delete, move, and connect nodes programmatically

Demo

https://github.com/user-attachments/assets/325b1194-2334-48a1-94c3-86effd1fef02

Usage

  1. Restart ComfyUI after installation
  2. The floating Claude Code terminal appears in the top-right corner
  3. The MCP server is automatically configured for Claude Code
  4. Ask Claude to help with your workflow:
    • "What nodes are in my current workflow?"
    • "Add a KSampler node connected to my checkpoint loader"
    • "Look at the preview image and tell me what you see"
    • "Run the workflow up to node 5"

MCP Tools

The MCP server provides these tools to Claude Code:

Tool Description
get_workflow Get the current workflow from the browser
summarize_workflow Human-readable workflow summary
get_node_types Search available node types with filtering
get_node_info Get detailed info about a specific node type
get_status Queue status, system stats, and execution history
run Run workflow (optionally up to a specific node) or interrupt
edit_graph Batch create, delete, move, connect, and configure nodes
view_image View images from Preview Image / Save Image nodes
search_custom_nodes Search ComfyUI Manager registry for custom nodes
install_custom_node Install a custom node from the registry
uninstall_custom_node Uninstall a custom node
update_custom_node Update a custom node to latest version
download_model Download models from Hugging Face, CivitAI, or direct URLs
Example: Creating Nodes
Create a KSampler and connect it to my checkpoint loader

Claude will use edit_graph to:

  1. Create the KSampler node
  2. Connect the MODEL output from CheckpointLoader to KSampler's model input
  3. Position it appropriately in the graph
Example: Viewing Images
Look at the preview image and describe what you see

Claude will use view_image to fetch and analyze the image output.

Example: Downloading Models
Download the FLUX.1 schnell model for me

Claude will use download_model to download from Hugging Face to your ComfyUI models folder. Supports:

  • Hugging Face (including gated models with token auth)
  • CivitAI
  • Direct download URLs

Terminal Controls

  • Drag title bar to move
  • Drag bottom-right corner to resize
  • − Minimize
  • × Close
  • ↻ Reconnect session

Architecture

┌─────────────────────────────────────────────────────┐
│  Browser (ComfyUI)                                  │
│  ┌─────────────────┐  ┌──────────────────────────┐  │
│  │  xterm.js       │  │  Workflow State          │  │
│  │  Terminal       │  │  (synced to backend)     │  │
│  └────────┬────────┘  └────────────┬─────────────┘  │
│           │ WebSocket              │ REST API       │
└───────────┼────────────────────────┼────────────────┘
            │                        │
            ▼                        ▼
┌─────────────────────────────────────────────────────┐
│  ComfyUI Server                                     │
│  ┌─────────────────┐  ┌──────────────────────────┐  │
│  │  PTY Process    │  │  Plugin Endpoints        │  │
│  │  (claude CLI)   │  │  /claude-code/*          │  │
│  └─────────────────┘  └──────────────────────────┘  │
└─────────────────────────────────────────────────────┘
            │                        │
            │                        ▼
            │           ┌──────────────────────────┐
            └──────────▶│  MCP Server              │
                        │  (stdio transport)       │
                        └──────────────────────────┘

Files

  • __init__.py - Plugin backend: WebSocket terminal, REST endpoints
  • js/claude-code.js - Frontend: xterm.js terminal, workflow sync
  • mcp_server.py - MCP server for Claude Code integration
  • CLAUDE.md - Instructions for Claude when working with ComfyUI

Troubleshooting

"Command 'claude' not found"

Install Claude Code CLI:

macOS / Linux / WSL:

curl -fsSL https://claude.ai/install.sh | bash

Windows (PowerShell):

irm https://claude.ai/install.ps1 | iex

Windows (CMD):

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
MCP server not connecting

The plugin auto-configures MCP on startup. Check ComfyUI console for errors, or manually add to ~/.claude.json:

{
  "mcpServers": {
    "comfyui": {
      "command": "python3",
      "args": ["/path/to/comfy-pilot/mcp_server.py"]
    }
  }
}
Terminal disconnected

Click the ↻ button to reconnect, or check ComfyUI console for errors.

License

MIT

Questions about Comfy Pilot

What is the Comfy Pilot MCP server?

MCP server + embedded terminal that lets Claude Code see and edit your ComfyUI workflows. Comfy Pilot is maintained by ConstantineB6 on GitHub at ConstantineB6/comfy-pilot, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Comfy Pilot MCP server?

Comfy Pilot doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (ConstantineB6/comfy-pilot). Like most servers, Comfy Pilot ends with a command or URL you paste into your AI app's MCP config.

Does Comfy Pilot need an API key?

The registry lists no required keys for Comfy Pilot. Check the Comfy Pilot README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Comfy Pilot an official MCP server?

No. Comfy Pilot is a community server maintained by ConstantineB6. Community servers can be excellent; read the code and the open issues before you give Comfy Pilot access to company data.

What license is Comfy Pilot under?

Comfy Pilot is released under the MIT license, according to its GitHub repository. The license covers the code of Comfy Pilot; the service it connects to has its own terms.