プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Comfy MCP

作者:Comfy-Orgバージョン 0.11.0i★ 355iパソコンで動く公式サイト ↗
レジストリ名io.github.Comfy-Org/comfy-mcp

インストール方法

What it does

Drive the ComfyUI installed on your own machine: generate, monitor jobs, and build workflows.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気44/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア56/100

品質: 基本チェック 2/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Comfy MCP をインストールして。https://mcp.popnx.com/i/comfy-org-comfy-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 2/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月17日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Comfy MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "comfy": { "command": "uvx", "args": [ "comfy-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Comfy MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "comfy": {
          "command": "uvx",
          "args": [
            "comfy-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Comfy MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Comfy MCP を使っていると言うか、回答に Comfy MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Comfy MCP につなげません

Comfy MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Comfy MCP につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Comfy MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user comfy -- uvx comfy-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Comfy MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user comfy -- uvx comfy-mcp
  4. Claude Code で /mcp と入力

    Comfy MCP が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Comfy MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Comfy MCP を使っていると言うか、回答に Comfy MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Comfy MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "comfy": { "command": "uvx", "args": [ "comfy-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Comfy MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Comfy MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Comfy MCP を使っていると言うか、回答に Comfy MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Comfy MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "comfy": { "type": "stdio", "command": "uvx", "args": [ "comfy-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Comfy MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Comfy MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Comfy MCP を使っていると言うか、回答に Comfy MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Comfy MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user comfy -- uvx comfy-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "comfy": {
      "command": "uvx",
      "args": [
        "comfy-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "comfy": {
      "command": "uvx",
      "args": [
        "comfy-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "comfy": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "comfy-mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
6,411/週
ライセンスi
ライセンスの記載なし
接続方法
パソコンで動く
最新バージョンi
0.11.0
カテゴリi
その他
レジストリ公開日i
2026年11月17日
コードの最終更新i
2026年11月18日
作者
Comfy-Org
パッケージ
pypi: comfy-mcp
ウェブサイト
docs.comfy.org
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Comfy-Org で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ! 注意

    ライセンスがある

    GitHubがライセンスの種類を判別できませんでした。ファイルを開いて確認してください

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に comfy-mcp@0.11.0 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月17日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/comfy-org-comfy-mcp.svg)](https://mcp.popnx.com/en/servers/comfy-org-comfy-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの20613件のうち99%よりスターが多い
  • このカテゴリのほかの20613件のうち95%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの20613件のうち46%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Comfy MCPは安全ですか?

当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(0.11.0)がレジストリに届いたのは一昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万3 日前更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92742 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター30 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582514 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51354 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
Comfy MCP
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック2/34/44/44/41/44/4
ライセンスNOASSERTIONAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Comfy MCP

Drive your own [ComfyUI](https://github.com/comfyanonymous/ComfyUI) from Claude Code, Claude Desktop, Cursor, or any MCP-speaking AI agent — an [MCP](https://modelcontextprotocol.io) server built on [`comfy-cli`](https://github.com/Comfy-Org/comfy-cli).

Quickstart · Configure your client · Comfy Cloud MCP · Tools · Contributing

Looking for the cloud-hosted version? Comfy Cloud MCP is set up below — install

it instead of this server, or alongside it.

What it does:

  • 🖼️ Generate — run a workflow JSON (API-format or UI export), or go text-prompt → image in one call.
  • ⏱️ Monitor jobs — submit async, then wait / watch / cancel, read the failure verdict, and collect the output files.
  • 🎞️ Preview media — turn video into a contact sheet and audio into a waveform the agent can inspect.
  • 🔍 Introspect your live install — search the nodes, models, and templates your ComfyUI *actually* has (custom nodes included), not a static catalog.
  • 🧩 Build workflows — validate a graph, edit a template's slots, and fan one workflow into variants.
  • ♻️ Manage ComfyUI — launch / stop / restart the server, tail its logs, and stage input assets.

Each tool shells out to the comfy command with --where local --json, parses comfy-cli's envelope/1 output, and returns it — comfy-cli is the engine, and by default everything targets the ComfyUI on your machine (127.0.0.1:8188).

Scope — local-first, not local-only. A few flows already reach beyond your machine: partner_generate runs hosted partner models (Flux / Ideogram / Kling / …) entirely on partner infrastructure — no local ComfyUI in the execution path — and partner-API nodes let a locally-executed workflow call those same hosted models, while COMFYUI_URL points the run/job tools at a ComfyUI on another machine you control.

This server vs. [Comfy Cloud MCP](#comfy-cloud-mcp). Two different servers, and running both is normal. This one is stdio: your client launches it as a subprocess on your own machine, and it drives the ComfyUI installed there (or one on another machine you control). Comfy Cloud MCP is a remote HTTP server at https://cloud.comfy.org/mcp that your client connects to over the network, and it executes workflows on Comfy Cloud GPUs — no local GPU, no ComfyUI install. Both authenticate: this one signs in to Comfy through comfy-cli (auth_login or COMFY_API_KEY), the cloud one through OAuth in your browser or a Comfy Cloud API key. Both can spend credits on partner models, so partner generation is not the dividing line — what this server has no path to is Comfy Cloud itself: no cloud-hosted execution, no cloud queue, no cross-session cloud batches. Every tool here shells out to comfy --where local. Pick by where you want the work to run, or install the cloud server too.

Status: beta. 42 tools; core loop validated end-to-end against a live local ComfyUI

(server_info → run_workflow → fetch_outputs → PNG on disk). CI runs pytest + ruff on

Python 3.10 and 3.14.

Quickstart

Four steps take you from a fresh install to your first generated image.

  1. Install the pieces.
   pip install comfy-mcp "comfy-cli>=1.14.0"  # this server + the engine it wraps

comfy install # create a ComfyUI workspace (skip if you have one)

Both names, one command — on purpose. Installing comfy-mcp does not install comfy-cli: it is not a declared dependency of this package, because the server runs whichever comfy binary your PATH (or COMFY_BIN) resolves to, which is often not the environment you installed the server into. Declaring it would put a second copy in this venv that may not be the one your tools actually drive; the version that matters is checked at runtime instead, against the binary really being called. Skip it and the server still starts and completes the MCP handshake — every tool call then fails with "comfy not found on PATH", which is a missing engine, not a broken install.

pip install comfy-mcp puts a comfy-mcp console script on your PATH; that command is what you point your AI client at in step 3. (A dedicated venv is fine — MCP clients may not see that venv's PATH, which is exactly what COMFY_BIN is for; see Prerequisites.) comfy-mcp --version confirms it landed — but don't run comfy-mcp itself to test it: it is a stdio server that talks MCP over stdin/stdout, so in a terminal it just waits and exits without printing anything. comfy-mcp --help says the same thing in one screen.

To install from a checkout of this repo instead, run pip install . there (pip install -e . for a working copy) — the comfy-cli half is the same either way.

Installed this server back when it was called comfy-local-mcp? Do

Upgrading from comfy-local-mcp first — installing

comfy-mcp alone will not clean up after the old name.

  1. Launch ComfyUI and leave it running:
   comfy launch
  1. Add the server to your client using the snippet for your client in Configure your AI client just below, then restart / reload it so the tools appear.
  1. Ask your agent to run a workflow. For example:

"Confirm my local ComfyUI is running, then run the workflow at

~/workflows/txt2img.json and show me the image."

Under the hood the agent calls server_info to confirm ComfyUI is up, run_workflow to execute your workflow JSON (API-format or a UI export), and fetch_outputs to collect the result. No hand-authored workflow? Ask it to start from a template instead — it can search_templates, fetch_template to write a runnable JSON, and run that — and fetch_template tells it up front if your install can't run that template yet.

Where the images land. ComfyUI writes generated files into your ComfyUI workspace's `output/` directory (part of the workspace comfy install created). On top of that, fetch_outputs(prompt_id, out_dir) copies a finished job's outputs into any directory you name — so telling the agent "save them to ./outputs" puts a copy right where you asked while the originals stay in the ComfyUI workspace.

For video or audio output, fetch_outputs(inline_images=True) records every output's on-disk path, media type and size in structuredContent and inlines small audio clips directly as MCP audio content, while a video — MCP has no video content type — and anything past the cap stays a path-only record. For a visual summary of a video, pass the downloaded file to preview_media: it asks comfy-cli to render a PNG contact sheet or waveform and returns that image inline, so the agent can inspect the result without embedding the whole media file in the MCP response.

Upgrading from comfy-local-mcp

This server used to be called `comfy-local-mcp`. It was never published to PyPI under that name, so this only affects you if you installed it from a source checkout — but for those installs the rename is not something pip install . finishes on its own, because comfy-mcp is a *different distribution*, not a new version of the old one. Four things moved:

WasIs now
distribution / import package comfy-local-mcp / comfy_local_mcpcomfy-mcp / comfy_mcp
console script comfy-local-mcp (the "command" in your client config)comfy-mcp
env var COMFY_LOCAL_MCP_DEBUG_LOGCOMFY_MCP_DEBUG_LOG
failure-log directory leaf comfy-local-mcp/comfy-mcp/
  1. Uninstall the old distribution first. Installing the new one leaves the old one in place, and its comfy-local-mcp script stays on your PATH pointing at a package that no longer exists — so an "upgraded" environment either keeps running the old code or fails with ModuleNotFoundError:
   pip uninstall comfy-local-mcp   # then: pip install comfy-mcp   (or `pip install -e .`)
  1. Change `"command"` to `comfy-mcp` in every MCP client config that starts this server (.mcp.json, claude_desktop_config.json, ~/.cursor/mcp.json — see Configure your AI client), then restart the client. The old command name is gone; nothing aliases it.
  1. Rename the failure-log env var if you set it. COMFY_LOCAL_MCP_DEBUG_LOG is no longer read, and an env block that still sets it logs nothing — a disabled log and a stale variable look identical from the outside. Use COMFY_MCP_DEBUG_LOG; see Failure log (opt-in).
  1. Move an existing failure log if you're mid-investigation. The default path's directory leaf changed with the package, so a fresh run starts an empty failures.jsonl rather than appending to the trail you were collecting. Nothing reads the old directory any more — copy it across, or delete it:
   # macOS; ~/AppData/Local on Windows, ~/.config on Linux

cd ~/Library/Application\ Support mkdir -p comfy-mcp mv comf

冒頭だけを表示しています。続きはリポジトリで読めます