Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk5 min

Install Comfy MCP: Control Local ComfyUI from Claude Code or Cursor

Install comfy-mcp and comfy-cli 1.14.0 or newer, start ComfyUI with comfy launch, then register the server in Claude Code or Cursor and set COMFY_BIN if the client cannot find comfy.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Comfy MCP is a local server that lets Claude Code or Cursor inspect a ComfyUI installation on your own machine and build, run, and manage workflows in it. The setup has four parts: install comfy-mcp and comfy-cli version 1.14.0 or newer, make sure a ComfyUI workspace exists, start ComfyUI with comfy launch, and register comfy-mcp in your client. Then restart or reload the client so it picks up the new server.

Before you start

  • Python 3.10 or newer, as stated in Comfy’s setup guidance for the MCP server.
  • comfy-cli 1.14.0 or newer, available to the process that launches the MCP server. The server calls the comfy binary found on your PATH, or the path you set in COMFY_BIN. It does not bundle or install comfy-cli for you.
  • A ComfyUI installation or workspace. If you do not have one, comfy install creates it.
  • ComfyUI running before you ask the agent to execute anything. The project’s guidance is to start it with comfy launch and leave it running.

The 1.14.0 floor comes from the project’s documentation. Check the repository’s current README before installing, because the minimum version can change. The server checks the version of the binary it actually invokes, so an older comfy-cli elsewhere on your system does not count.

As an Amazon Associate I earn from qualifying purchases.

Install the packages and start ComfyUI

Installing comfy-mcp does not pull in comfy-cli, so install both. The commands below use pip; if you manage Python tools with uv or another installer, use the equivalent.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Install the MCP server and the CLI in the same Python environment:

    #1 Best Overall
    ASRock Intel Arc Pro B60 Creator 24GB Graphics Card, Workstation GPU, Xe2-HPG, 2400MHz, 24GB GDDR6 192-bit, PCIe 5.0, 4X DP 2.1, Blower
    • System Compatibility Note: 2-slot card, 271x112x39mm, single 8-pin power, 200W TDP. Verify chassis clearance and PSU capacity before purchase.
    • Dedicated Support: Please contact us directly through Amazon for any product questions or assistance you may require.
    • 24GB GDDR6 on 192-Bit Bus: Massive 24GB memory with 456 GB/s bandwidth – ideal for LLMs, AI inference, 3D rendering, and generative design.
    • Intel Xe2-HPG Architecture: Built on Intel's next-gen architecture with 20 Xe cores and 160 XMX engines for AI acceleration (197 INT8 TOPS).
    • PCIe 5.0 Support: PCI Express 5.0 x16 interface for maximum bandwidth with the latest workstation platforms.
    pip install comfy-mcp "comfy-cli>=1.14.0"
  2. If you do not already have a ComfyUI workspace, create one:

    comfy install
  3. Start ComfyUI and leave the terminal session running:

    comfy launch
  4. In the same terminal, confirm that comfy resolves. If the shell cannot find it, fix the environment before configuring a client, because the client will inherit the same problem.

    Free tools Windows power users keep installed

    One-click scans. No signup required.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  5. Register comfy-mcp with your client using one of the two procedures below, then restart or reload the client.

    Rank #2
    Sapphire 32358-01-20G AMD Radeon™ AI PRO R9700 Graphics Card with 32GB GDDR6, AMD RDNA 4
    • Memory Size: 32 GB, 256-bit GDDR6
    • Output: 4 x DisplayPort 2.1a
    • Interface: PCI-Express 5.0 x16
    • Boost Clock: Up to 2920MHz
    • Game Clock: Up to 2350 MHz

Connect Claude Code

Claude Code can register the server from the command line or read a project-level configuration file.

Register from the command line

The project’s example registers a local stdio server whose command is comfy-mcp:

claude mcp add comfy-mcp -- comfy-mcp

To pass environment variables to the server, add them to the registration using the CLI’s environment option. The project documents COMFY_BIN for a non-default comfy location and COMFY_API_KEY for partner-API nodes. The API key is optional and only matters if you use those nodes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Commit a project configuration file

To share the setup with a repository, add a .mcp.json file at the project root with the same server command:

Rank #3
Gigabyte AORUS GeForce RTX 5080 Xtreme WATERFORCE 16G Graphics Card - 16GB GDDR7, 256bit, PCI-E 5.0, 2805MHz Core Clock, 3 x DP 2.1a, 1 x HDMI 2.1b, NVIDIA DLSS 4, GV-N5080AORUSX W-16GD
  • NVIDIA GeForce RTX 5080; Blackwell Architecture
  • 16 GB GDDR7 RAM (memory interface)
  • Core/memory clock: (boost: 2805) MHz
  • 1x HDMI, 3x DP, height: dual slot
  • DirectX 12
{
  "mcpServers": {
    "comfy-mcp": {
      "command": "comfy-mcp"
    }
  }
}

Teammates who need a specific comfy path can add an env block with COMFY_BIN set to their own absolute path, rather than committing a path that exists only on your machine.

Connect Cursor

Cursor reads MCP servers from a JSON file with an mcpServers object. You can use a global file or a project file:

  • Global: ~/.cursor/mcp.json, which applies to every project you open.
  • Project: .cursor/mcp.json inside the project folder, which applies only there.

The entry is the same as the Claude Code one:

{
  "mcpServers": {
    "comfy-mcp": {
      "command": "comfy-mcp",
      "env": {
        "COMFY_BIN": "/absolute/path/to/comfy"
      }
    }
  }
}

Keep the env block only if Cursor cannot see the correct comfy executable. Replace the placeholder path with the output of which comfy from a terminal on macOS or Linux, or the equivalent lookup on Windows. Then reload Cursor so the MCP settings take effect.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Point the server at the right comfy binary

The server needs the comfy program to start ComfyUI and manage it. Desktop apps often launch with a smaller PATH than your terminal, so a command that works in your shell may fail inside Claude Code or Cursor. Setting COMFY_BIN to an absolute path removes that dependency. Use the path to the binary, not the directory that contains it.

Rank #4
msi Gaming GeForce GT 1030 4GB DDR4 64-bit HDCP Support DirectX 12 DP/HDMI Single Fan OC Graphics Card (GT 1030 4GD4 LP OC)
  • Chipset: NVIDIA GeForce GT 1030
  • Video Memory: 4GB DDR4
  • Boost Clock: 1430 MHz
  • Memory Interface: 64-bit
  • Output: DisplayPort x 1 (v1.4a) / HDMI 2.0b x 1

What the agent can do with it

The project lists these capabilities:

  • Running workflows and generating images from a text prompt.
  • Monitoring asynchronous jobs, cancelling them, and retrieving outputs.
  • Listing the nodes, models, and templates available in your installation, including custom nodes.
  • Validating workflows and editing templates.
  • Managing the ComfyUI process and reading its logs.

The project labels the server beta and reported 40 tools in its documentation at the time of writing. Those numbers describe the server, not the quality of any result. Actual outcomes depend on your ComfyUI installation, the workflow’s dependencies, and the agent you connect.

Comfy’s announcement describes using hardware inspection to judge whether a model is suitable before you download it, and checking installed nodes and models when preparing a workflow. The announcement’s example model does not establish a minimum hardware requirement or a recommended GPU, so use the agent’s suitability check for your own machine rather than a generic spec.

Local ComfyUI or Comfy Cloud

Comfy’s support material describes two separate MCP connections. Do not confuse them: the local server is a subprocess that drives your ComfyUI, while the Cloud connection is a remote HTTP service that runs workflows on Comfy Cloud GPUs. They authenticate separately, and you can use both.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Factor Local Comfy MCP (comfy-mcp) Comfy Cloud MCP
Where workflows execute Your own machine Comfy Cloud GPUs
Requires a local ComfyUI install Yes; comfy install can create one Not stated in the support material as a requirement
Access to local models, files, and custom nodes Yes Not stated
Local hardware dependence Yes; generation uses your GPU and resources No local GPU use
Generation charges Local generation does not incur Cloud-generation charges, per Comfy’s support article; partner models use credits Requires an active subscription, per Comfy’s support article
Best fit Existing local setups, private or custom nodes, local models Avoiding a local install, or new users and browser-based assistants

Commercial terms change, so confirm current Comfy pricing and subscription rules before you rely on the cost column.

Best Value
ARDIYES GT 740 4GB GDDR5 Low Profile GPU Graphics Card, 4X HDMI Ports for Quad Multi-Monitor Setup, PCI Express 3.0 x16, Silent Cooling, Ideal for Office and Home Theater
  • Robust 4GB Memory & Quad Display Ready: Equipped with 4GB of fast GDDR5 memory to smoothly handle daily graphics tasks. Features four built-in HDMI ports, enabling a seamless quad-monitor setup directly out of the box—perfect for multi-tasking offices, digital signage, or trading desks.
  • Plug-and-Play Installation & Wide Compatibility: Utilizes a standard PCI Express interface for broad compatibility with most desktop PCs. Offers straightforward plug-and-play installation and stable driver support for modern Windows and Linux operating systems, ensuring a hassle-free setup.
  • Quiet, Cool & Compact Design: Engineered with a silent fan and efficient cooling system for near-silent operation, making it ideal for noise-sensitive environments. Its low-profile design fits easily into small form factor cases, with both half-height and full-height brackets included for flexible installation.
  • Enhanced Multimedia & Everyday Performance: Delivers smooth 1080P video playback and supports hardware-accelerated decoding, offering an excellent experience for home theater PCs (HTPC). Provides capable performance for everyday applications, multimedia tasks.
  • Complete Package & Reliable Support: Includes the graphics card, both low-profile and standard brackets, a quick start guide, and screwdriver, which make it simple and quick setup process.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

  1. The server connects, but tool calls report that comfy is missing. Install comfy-cli in the same environment as the server, then set COMFY_BIN to the absolute path of the binary.

  2. No Comfy tools appear after configuration. Confirm the JSON is valid and the entry is saved, then restart or reload the client.

  3. On macOS, the server fails when the installation sits in Documents, Desktop, or Downloads. Privacy protections can block access. Move the installation to a directory outside those folders. Alternatively, open System Settings, go to Privacy & Security, then Full Disk Access, and grant it to the app that launches the server, such as your terminal or Cursor. Restart that app afterwards.

    What’s actually slowing this PC down?

    Pick the symptom - the matching free tool is one click away.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  4. Workflow calls fail immediately. Check that ComfyUI is running. Start it with comfy launch if it is not.

  5. The connection works, but a workflow will not run. The server being connected does not mean every workflow has what it needs. Required nodes, models, and dependencies must be present in the ComfyUI environment the server targets. Ask the agent to list the installed nodes and models, and to validate the workflow, to find the gap.

Prompts that work as a starting point

Comfy’s announcement gives a setup request you can use directly: “Help me set up the local Comfy MCP connection.” For a first run against an existing workflow, the project’s example is:

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

The first confirms that the local service is reachable. The second tests the full path from the agent to ComfyUI and back.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.