
constantineb6/comfy-pilot
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCPサーバー+組み込みターミナルで、Claude CodeがあなたのComfyUIワークフローを閲覧・編集できます
概要
ComfyUIのワークフローについて話し合いましょう。Comfy Pilotは、Claude Codeでワークフローを直接確認、編集、実行できるようにし、ComfyUI内に組み込み端末が内蔵されています。 ComfyUIのワークフローを構築するには、ノードを手動で検索し、接続をドラッグし、値を一つずつ調整することを意味します。Comfy Pilotでは、自分が求めるものを説明するだけです: - 「ControlNetでSDXLワークフローをビルドして」 — Claudeがすべてのノードを作成し、接続し、パラメータを設定します- 「出力を見て詳細を増やす」 — Claudeが生成画像を見てワークフローを調整します - 「FLUXシュネルモデルをダウンロードしワークフローを設定する」 — Claudeがモデルをダウンロードし、ゼロからワークフローを作成します ノード名をコピペしないでください。メニューを探す必要もありません。好きなように言ってください。 1. ComfyUIを開く 2.クリック→ 3.「Comfy pilot」を検索します 4.5をクリックしてください。ComfyUIを再起動します。 Claude Code CLIが見つからない場合は自動的にインストールされます。
概要(AI 翻訳)
ComfyUIのワークフローについて話し合いましょう。Comfy Pilotは、Claude Codeでワークフローを直接確認、編集、実行できるようにし、ComfyUI内に組み込み端末が内蔵されています。
なぜ?
ComfyUIのワークフローを構築するには、ノードを手動で検索し、接続をドラッグし、値を一つずつ調整することを意味します。Comfy Pilotでは、自分が求めるものを説明するだけです:
- 「ControlNetでSDXLワークフローをビルドしてくれ」 — Claudeはすべてのノードを作成し、接続し、パラメータを設定します
- 「出力を見て詳細を増やす」 — Claudeは生成された画像を見てワークフローを調整します
- 「FLUXのシュネルモデルをダウンロードし、ワークフローを設定する」 — クロードがモデルをダウンロードし、一からワークフローを構築する
ノード名をコピペしないでください。メニューを探す必要もありません。好きなように言ってください。
設置
CLI(推奨):
ComfyUI Manager:
- Open ComfyUI
- Manager → カスタムノードをインストールするをクリック
- 「Comfy Pilot」を検索
- インストールをクリック
- ComfyUIの再起動
クローンを使え:
Claude Code CLIが見つからない場合は自動的にインストールされます。
要件
- ComfyUI
- Python 3.8+
特徴
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
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:
- Open ComfyUI
- Click Manager → Install Custom Nodes
- Search for “Comfy Pilot”
- Click Install
- 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
- Restart ComfyUI after installation
- The floating Claude Code terminal appears in the top-right corner
- The MCP server is automatically configured for Claude Code
- 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 |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"comfyui": {
"command": "python3",
"args": ["/path/to/comfy-pilot/mcp_server.py"]
}
}
}