PlugWiki
Comfy MCP logo

Comfy MCP, Comfy Org's official ComfyUI MCP server

Official · by Comfy OrgRemoteLocal

Lets your AI assistant make images, video and audio with ComfyUI, on Comfy Cloud GPUs or the ComfyUI on your own computer.

This is Comfy Org's own way to drive ComfyUI from an AI assistant. The cloud connection runs your requests on Comfy Cloud GPUs after you sign in with your Comfy account. The open-source local connection drives the ComfyUI on your own machine; the tool list below is the local one, and the cloud has its own set. Searching templates and models is free, but cloud generations need an active Comfy Cloud subscription, and partner models such as Flux or Kling spend credits either way.

Good for

  • People who want images or video from a chat without installing ComfyUI or owning a GPU
  • ComfyUI users who want Claude Code or Cursor to run their own workflows, models and custom nodes
  • Developers building image or video pipelines that an agent can run, tweak and re-run
  • Mac users who want open-weight models without waiting on the Apple GPU

Works in

5 supported · 2 with issues · 7 should work

Tap an app to see how to set it up and any known problems.

Install Comfy MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the Comfy MCP server to Claude Code. Run this command:
    
    /plugin marketplace add Comfy-Org/comfy-skills
    /plugin install comfy-cloud@comfy-skills
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires A Comfy account (cloud.comfy.org), Active Comfy Cloud subscription to run generations.

The plugin adds the cloud connection plus /comfy-cloud: slash commands for images, video, audio and 3D. After the URL-only command, run /mcp and choose Authenticate. Add -s user to use it in every project. Install the local server first with pip install comfy-mcp "comfy-cli>=1.14.0", then run comfy launch and leave ComfyUI running. Drop COMFY_BIN if comfy is already on your PATH. Cloud and local sign-ins are separate.

From the vendor's docs. Source.

Tools

  • Makes an image from a text prompt using a built-in free template

    Turns a text prompt into an image in one step by running ComfyUI's built-in text-to-image template on your ComfyUI. It does not spend credits.

    Try: “Make an image of a lighthouse at dawn in oil-paint style”

    Runs code · generate_image

  • Runs a ComfyUI workflow file and returns the result

    Runs a workflow file you have (exported from ComfyUI) on your ComfyUI, waiting for it or running it in the background. Workflows with paid partner nodes only run after you confirm the spend.

    Try: “Run the workflow at ~/workflows/txt2img.json and show me the image”

    Runs code · run_workflow

  • Runs a ready-made gallery template with your settings

    Fetches a template from the Comfy gallery, fills in values such as the prompt, and runs it in one step. Templates that use paid partner models only run after you confirm.

    Try: “Run the Wan 2.2 text-to-video template with the prompt 'a fox running through snow'”

    Runs code · run_template

  • Generates with a paid hosted model like Flux or Kling, after you approve

    Runs a hosted partner model such as Flux, Ideogram or Kling on the partner's servers and saves the result. Every call spends Comfy credits and asks you first.

    Try: “Generate a product photo of a red sneaker with Flux Pro”

    Write · partner_generate

  • Copies a finished job's images or videos into a folder you choose

    Copies the files a finished job produced into a folder you name, and can show the images straight in the chat.

    Try: “Save the outputs of that last job to ./outputs”

    Write · fetch_outputs

  • Shows a video as a contact sheet or audio as a waveform image

    Turns a video into a grid of frames, or audio into a waveform picture, so the assistant can look at the result.

    Try: “Show me a contact sheet of the video you just made”

    Files · preview_media

  • Finds ready-made workflow templates by keyword, type or model

    Searches the Comfy template gallery by words, media type, model or provider, and marks which templates use paid partner models.

    Try: “Find a free image-to-video template”

    Network · search_templates

  • Shows a template's details and whether your install can run it

    Shows one template's details and checks it against your ComfyUI to tell you if any nodes or models are missing.

    Try: “Can my install run the Flux Kontext template?”

    Network · get_template

  • Saves a template as a workflow file ready to run

    Writes a template's runnable workflow file to the path you give, and reports whether your install can run it.

    Try: “Save the default text-to-image template to ./wf.json”

    Write · fetch_template

  • Lists or searches the model files on your disk

    Lists the model files in your ComfyUI models folders, or searches them by name.

    Try: “Which LoRAs do I have installed?”

    Files · search_models

  • Searches your installed nodes and shows how they connect

    Searches the node types in your running ComfyUI, custom nodes included, shows a node's inputs and outputs, and finds which nodes can connect to each other.

    Try: “Which node can turn a latent into an image?”

    Read · nodes

  • Lists the paid hosted models you can generate with

    Lists the hosted partner models available for generation, filterable by style, partner or keyword.

    Try: “Which partner models can make video from an image?”

    Network · list_partner_models

Read from the source code

Pros and cons

Good

  • Made and maintained by Comfy Org, the team behind ComfyUI.
  • The cloud connection needs no install, no ComfyUI and no GPU.
  • The local connection sees your own models, LoRAs and custom nodes, not a fixed catalog.
  • Local runs on your own hardware are free, apart from partner models.
  • Spending credits, installing nodes and exposing ComfyUI to the network each ask you first.
  • Browser sign-in for Claude Code, Claude Desktop and Codex, with an API key option for Cursor and scripts.

Watch out

  • Cloud generations need an active Comfy Cloud subscription; credits alone are not enough.
  • Comfy still calls it an early release, with known gaps in workflow building and file handling.
  • The local server needs Python, comfy-cli and a running ComfyUI, which trips up Windows and Comfy Desktop users.
  • When a local tool fails, the client often sees only a bare error with no reason.
  • Cloud results do not land on your machine until the agent runs a download command.
  • No read-only mode.

Permissions

medium risk · 5 things to watch

Medium risk

The assistant can spend Comfy credits on partner models and install third-party node code into your ComfyUI. Approve each spend and install prompt yourself, and keep ComfyUI off the network unless you need it there.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Partner models spend your Comfy credits

    Hosted partner models bill credits on every run, and workflows with partner nodes spend once you confirm. Custom nodes that call their own paid services are not gated, so check workflows you did not build. github.com

  • It can install and run third-party node code

    Installing node packs or updating all of them runs code from their authors in your ComfyUI setup. Each call asks you first; approve only packs you know. github.com

  • ComfyUI has no login of its own

    Starting ComfyUI on a network address lets anyone who can reach your machine run workflows and read or write its files. The server asks before doing that; say no unless you need it. github.com

  • Version switches can stash your local edits

    Moving ComfyUI to another version stashes uncommitted changes in its folder and reinstalls its dependencies. It asks first and refuses while ComfyUI is running. github.com

  • Cloud downloads run a command in your shell

    The cloud server hands your agent a signed link and a curl command to save the file. Check where the command saves it before you approve it. docs.comfy.org

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Talks toComfy Cloud (cloud connection, partner models). Partner model providers when you run partner models. Model and node downloads you ask for (Hugging Face, CivitAI, the Comfy registry)

Alternatives

Use Comfy MCP if you want Comfy Cloud or Comfy's own local server. The community servers are the pick if you want a different take on driving a local ComfyUI and do not need Comfy Cloud.

ServerOfficialRunsSign-inToolsGitHub stars
For ComfyUI
Comfy MCPThis pageOfficialHostedLocalAccount41317
comfyui-mcp-serverCommunityLocal––411
Other tools for the same job
comfyui-mcp (artokun)CommunityLocal––879

What people say

Early users mostly talk about setup friction on the local server and unclear error messages.

What people like

  • Comfy pitches the cloud connection as image and video generation with no nodes, downloads or GPU.

Common complaints

  • Local tool failures reach the assistant as a bare error, so it cannot tell what went wrong.
  • With Comfy Desktop the port changes between launches, so the server can quietly target the wrong address.
  • Windows users report trouble installing it next to Comfy Desktop.

In their words

Questions

Is Comfy MCP free?

Partly. Searching templates, models and nodes is free with a Comfy account. Cloud generations need an active Comfy Cloud subscription (new accounts get 5 free runs), and local runs are free except partner models, which spend credits.

What is the Comfy MCP server URL?

The cloud connection is https://cloud.comfy.org/mcp. The local connection has no URL: your app starts the comfy-mcp program on your computer.

Should I use the cloud or the local connection?

Start with the cloud if you are new, on a Mac, or use claude.ai, ChatGPT or Claude Desktop chat. Use local if you already run ComfyUI or work in a coding agent. You can add both and say where each job should run.

Does the cloud connection have the same tools as the local one?

No. The tool list on this page is the local server's 41 tools. The cloud connection has its own set for templates, running workflows, batches, saved workflows, sharing and billing, listed in Comfy's docs.

Do I need an API key?

Not in Claude Code, Claude Desktop or Codex, which sign you in through the browser. Cursor and setups with no browser need a Comfy Cloud API key.

Can my computer run the local connection?

With 24 GB or more of graphics memory it handles video. Between 8 and 24 GB is fine for images, and under 8 GB or on a Mac, Comfy recommends the cloud.

Can it spend money without asking?

Not by default. Partner models and paid workflows ask you before each run, unless you tell comfy-cli to always allow partner spending. Custom nodes that bill their own services are not checked.

Where do my generated files go?

Locally, ComfyUI saves them in its output folder and the assistant can copy them where you ask. On the cloud, the assistant runs a download command it is given; if your app cannot run commands, run it yourself.

Why does Codex keep asking me to sign in?

It is a Codex bug when several Codex sessions refresh the same sign-in. Turn on Codex's refresh coordination setting, keep the server in one project, or use an API key instead.

Do the slash commands work in Claude Desktop?

No. They come with the Claude Code plugin. In Claude Desktop, use the prompt picker or just ask in plain words.

Examples

  • Run a workflow file on your local ComfyUI and see the image

    Confirm my local ComfyUI is running, then run the workflow at ~/workflows/txt2img.json and show me the image.

    Source
  • Generate an image on Comfy Cloud from a plain description

    generate an image of a cat astronaut

    Source
  • Find a ready-made video template to start from

    find a Wan 2.2 video template

    Source

Information

updated Nov 2, 2026

Publisher
Comfy Org (official)
Package
comfy-mcp
Registry
PyPI
Transport
stdio, Streamable HTTP
Auth
OAuth
Version
0.10.0
License
Apache-2.0
Last commit
Oct 30, 2026
Open issues
14

WebsiteDocsGitHubPyPIChangelogIssues

Other ComfyUI MCP servers

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 10
  1. docs.comfy.org · docs.comfy.org
  2. github.com · github.com
  3. blog.comfy.org · blog.comfy.org
  4. github.com · github.com
  5. Unreliable run workflow, Error executing tool run_workflow · github.com
  6. github.com · github.com
  7. github.com · github.com
  8. github.com · github.com
  9. github.com · github.com
  10. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.