MCP Directory

How to add Comfy Pilot to Cursor

MCP server + embedded terminal that lets Claude Code see, edit, and run your ComfyUI workflows. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 213 · stdio · no auth

Cursor config for Comfy Pilot

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

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the Comfy Pilot config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of Comfy Pilot's tools to confirm it's connected.

Before you start

  • ComfyUI
  • Python 3.8+
  • Claude Code CLI (installed automatically if not found)

What Comfy Pilot can do in Cursor

get_workflow

Get the current workflow from the browser.

summarize_workflow

Produce a 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

Get queue status, system stats, and execution history.

run

Run the workflow (optionally up to a specific node) or interrupt it.

edit_graph

Batch create, delete, move, connect, and configure nodes.

view_image

View images from Preview Image / Save Image nodes.

Security

The plugin runs the Claude Code CLI as a PTY process inside ComfyUI and exposes tools that can edit workflows, install custom nodes, and download models to your machine. The MCP server runs locally over stdio with no authentication; only use it with a ComfyUI instance you trust. The download_model tool can fetch gated Hugging Face models using a token if provided.

Comfy Pilot + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Comfy Pilot config there under the "mcpServers" key and restart the client.

Is Comfy Pilot safe to use with Cursor?

The plugin runs the Claude Code CLI as a PTY process inside ComfyUI and exposes tools that can edit workflows, install custom nodes, and download models to your machine. The MCP server runs locally over stdio with no authentication; only use it with a ComfyUI instance you trust. The download_model tool can fetch gated Hugging Face models using a token if provided.

How do I install it?

Use the ComfyUI CLI with `comfy node install comfy-pilot`, install via ComfyUI Manager by searching for "Comfy Pilot", or git clone the repo into ComfyUI's custom_nodes folder. Restart ComfyUI afterward.

Do I need to configure the MCP server manually?

No. The plugin auto-configures MCP for Claude Code on startup. If it isn't connecting, you can manually add the comfyui server to ~/.claude.json with command python3 and args pointing to mcp_server.py.

The terminal says 'Command claude not found'. What do I do?

Install the Claude Code CLI. On macOS/Linux/WSL run `curl -fsSL https://claude.ai/install.sh | bash`; on Windows use the PowerShell or CMD installer from claude.ai.

View repo Full Comfy Pilot page