Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Comfyui MCP

by miller-joeversion 0.2.1i★ –iRuns on your computer
Registry nameio.github.miller-joe/comfyui-mcp

Install

Overview

Description from the maker (original English)

MCP server for ComfyUI: text-to-image, variations, img2img refine, upscale, image proxy.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: Streamable HTTP
  • Category: Design, images & audio

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: COMFYUI_URL, COMFYUI_PUBLIC_URL, COMFYUI_DEFAULT_CKPT

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "comfyui": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ],
      "env": {
        "COMFYUI_URL": "your-value",
        "COMFYUI_PUBLIC_URL": "your-value",
        "COMFYUI_DEFAULT_CKPT": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add comfyui --env COMFYUI_URL=your-value --env COMFYUI_PUBLIC_URL=your-value --env COMFYUI_DEFAULT_CKPT=your-value -- npx -y @miller-joe/comfyui-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "comfyui": {
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ],
      "env": {
        "COMFYUI_URL": "your-value",
        "COMFYUI_PUBLIC_URL": "your-value",
        "COMFYUI_DEFAULT_CKPT": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "comfyui": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@miller-joe/comfyui-mcp"
      ],
      "env": {
        "COMFYUI_URL": "your-value",
        "COMFYUI_PUBLIC_URL": "your-value",
        "COMFYUI_DEFAULT_CKPT": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • COMFYUI_URL env
    ComfyUI HTTP URL used internally by this server. Default: http://127.0.0.1:8188
  • COMFYUI_PUBLIC_URL env
    Externally-reachable ComfyUI URL used in image URLs returned to clients. Set when the internal URL isn't reachable from MCP clients (common with Docker networks).
  • COMFYUI_DEFAULT_CKPT env
    Default checkpoint filename. Default: sd_xl_base_1.0.safetensors

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account miller-joe, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Design, images & audioi

  • More stars than 0% of the other 2831 servers in this category
  • Published to the registry more recently than 6% of the other 2831 servers in this category
  • Basic checks equal to or better than 100% of the other 2831 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Comfyui MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.2.1) reached the registry 7 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Figma Context MCP, Claude Real Video, Figma MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

by GLipsWidely used↓ 161.2K/wk★ 16.2KUpdated 5 months ago

Runs on your computer

Claude Real Video

Let any LLM watch a video locally — and search everything it has ever watched.

by HUANGCHIHHUNGLeoWidely used↓ 1.1K/wk★ 2.3KUpdated 2 months ago

Runs on your computer

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ mcp.figma.com

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

comfyui-mcp

MCP server for ComfyUI. Generate images from natural language prompts in any MCP-compatible client.

Status

v0.2 ships the core tools plus upscale, an image proxy, and public-URL support. Current tool surface: generate_image, generate_variations, generate_with_workflow, refine_image, upscale_image, list_models, list_workflows, upload_image, generate_with_controlnet, generate_with_ip_adapter, plus a workflow template registry. See Roadmap for what's next.

Install

npx (no install required)
npx @miller-joe/comfyui-mcp --comfyui-url http://your-comfyui-host:8188
npm
npm install -g @miller-joe/comfyui-mcp

comfyui-mcp --comfyui-url http://your-comfyui-host:8188

Docker
docker run -p 9100:9100 \

-e COMFYUI_URL=http://your-comfyui-host:8188 \ ghcr.io/miller-joe/comfyui-mcp:latest

Connect an MCP client

Claude Code:

claude mcp add --transport http comfyui http://localhost:9100/mcp

Or register the streamable HTTP endpoint with an MCP gateway (e.g. MetaMCP) to aggregate with other servers.

Configuration

All options can be set via CLI flag or environment variable:

CLI flagEnv varDefaultDescription
--hostMCP_HOST0.0.0.0Bind host (HTTP mode only)
--portMCP_PORT9100Bind port (HTTP mode only)
--stdioMCP_TRANSPORT=stdio(unset)Speak MCP over stdio instead of HTTP. Use when launched as a subprocess by a stdio-first MCP client (Claude Desktop, mcp-inspector).
--comfyui-urlCOMFYUI_URLhttp://127.0.0.1:8188ComfyUI HTTP URL used internally by this server
--comfyui-public-urlCOMFYUI_PUBLIC_URLsame as --comfyui-urlExternal URL in image URLs returned to clients. Set this when the internal URL is not reachable from MCP clients (common with Docker networks).
(no flag)COMFYUI_DEFAULT_CKPTsd_xl_base_1.0.safetensorsDefault checkpoint filename
Transports

The server speaks streamable HTTP by default (great for Claude Code, MetaMCP, raw fetch). Pass --stdio (or set MCP_TRANSPORT=stdio) to switch into stdio mode, which is what stdio-first clients like Claude Desktop and the MCP Inspector expect:

# Claude Desktop config (claude_desktop_config.json):

{ "mcpServers": { "comfyui": { "command": "npx", "args": ["-y", "@miller-joe/comfyui-mcp", "--stdio", "--comfyui-url", "http://127.0.0.1:8188"] } } }

Image URLs returned to clients

Generation tools return image URLs like /view?filename=…. If --comfyui-public-url is not set, URLs use the internal --comfyui-url value.

The server also exposes a proxy endpoint: GET /images/ ?subfolder=&type=output streams the image bytes through this server, which is useful when clients can reach the MCP server but not ComfyUI directly.

The default checkpoint must match a file in your ComfyUI models/checkpoints/ directory. Override via COMFYUI_DEFAULT_CKPT or pass checkpoint as a tool argument.

Tools

generate_image

Generate an image from a text prompt using ComfyUI's default txt2img workflow.

Parameters: prompt (required), negative_prompt, width, height, steps, cfg, seed, checkpoint.

generate_variations

Generate multiple variations of the same prompt by varying the seed. Returns all images at once.

Parameters: prompt (required), count (2–16, default 4), plus the same generation params as generate_image, with base_seed instead of seed.

generate_with_workflow

Submit an arbitrary ComfyUI workflow JSON (full node graph) and return the resulting image URLs. Use this for custom workflows — ControlNet, upscaling, or anything exported from ComfyUI's Save (API Format).

Parameter: workflow (object), the complete node graph.

refine_image

Run img2img on a source image. The server fetches a source URL, uploads it to ComfyUI, and runs a denoising pass guided by a new prompt. Lower denoise preserves more of the original; higher gives the prompt more freedom.

Parameters: prompt, source_image_url (required), denoise (0–1, default 0.5), plus standard generation params.

list_models

List available checkpoints, LoRAs, samplers, or schedulers on the ComfyUI instance.

Parameter: kind, one of checkpoints (default), loras, samplers, schedulers.

list_workflows

List built-in workflow templates shipped with this server (currently txt2img, img2img, upscale, controlnet, ip_adapter).

upload_image

Upload a reference image to ComfyUI for use in img2img, ControlNet, or IP-Adapter workflows.

Parameters: source_url or image_base64 (one required), filename (optional), overwrite (default false).

Returns: the stored filename, which can be used as the image input in workflow nodes like LoadImage.

generate_with_controlnet

Generate an image conditioned by a ControlNet preprocessed image (pose skeleton, depth map, canny edges, normal map, etc.) plus a text prompt.

Parameters: prompt, control_image_url (the preprocessed conditioning image; this tool doesn't run preprocessors), controlnet_model (filename from models/controlnet/), strength (0–2, default 1), start_percent / end_percent (0–1, controlling when CN is active during sampling), plus standard generation params.

Requires a ControlNet model installed in your ComfyUI models/controlnet/ directory.

generate_with_ip_adapter

Generate an image using a reference image as a visual/style/subject guide via IP-Adapter.

Parameters: prompt, reference_image_url, preset (e.g. "STANDARD (medium strength)", "PLUS FACE (portraits)", "VIT-G (medium strength)"), weight (0–3, default 1), start_at / end_at (0–1), plus standard generation params.

Requires the ComfyUI-IPAdapter-plus custom node pack plus the preset's matching IPAdapter weights and CLIP Vision models.

Workflow template registry

Save complex workflow JSON once, run by name later. Templates are stored on disk under --templates-dir (defaults to ~/.config/comfyui-mcp/templates/ .json) so they survive restarts and are portable across MCP clients.

ToolDescription
save_workflow_templateSave a workflow JSON under a named slot. overwrite=true to replace.
list_workflow_templatesList saved templates with descriptions and last-updated timestamp.
get_workflow_templateFetch a stored template's JSON plus metadata.
delete_workflow_templateDelete a stored template.
run_workflow_templateRun a saved template against ComfyUI and return image URLs.

Template names must start alphanumeric. Allowed: a-z, A-Z, 0-9, -, _. Max 64 chars.

Return format

All generation tools return image URLs served directly by the ComfyUI instance (http:// /view?filename=…). These URLs can be passed straight to any client that accepts image URLs.

Architecture

┌────────────────┐     ┌──────────────────┐     ┌──────────────┐

│ MCP client │────▶│ comfyui-mcp │────▶│ ComfyUI │ │ (Claude, etc.)│◀────│ (this server) │◀────│ instance │ └────────────────┘ └──────────────────┘ └──────────────┘ streamable HTTP HTTP REST + poll

The server is stateless. A single MCP request submits a workflow to ComfyUI, polls /history/{id} until complete, and returns image URLs.

Development

git clone https://github.com/miller-joe/comfyui-mcp

cd comfyui-mcp npm install npm run dev # hot-reload via tsx watch npm run build # compile TS to dist/ npm run typecheck # strict type checking

Requires Node 20+.

Roadmap

Shipped in v0.2:

  • generate_image, generate_variations, generate_with_workflow
  • refine_image (img2img from a source URL)
  • upscale_image (ESRGAN / SwinIR-style model upscale)
  • list_models, list_workflows, upload_image
  • Image proxy endpoint (/images/ ) for clients that can't reach ComfyUI directly
  • Configurable public URL for externally-correct image URLs
  • Workflow template registry (save/list/get/delete/run)
  • generate_with_controlnet (requires ControlNet models on the ComfyUI side)
  • generate_with_ip_adapter (requires ComfyUI-IPAdapter-plus pack)

Planned:

  • WebSocket progress events for long-running generations.

License

MIT © Joe Miller

Support

If this tool saves you time, consider supporting development:

Every contribution funds maintenance, documentation, and the next release.

Ask PopNx