Skip to content
MCP server
Registry

ComfyUI Light MCP Server

Workflow-first, Batch-native, Context-light.

ComfyUI Light MCP scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Databases. GitHub shows 0 stars. Package registries report about 63 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by yuchen-yaMITTypeScript0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "yuchen-ya-comfyui-light-mcp": {      "command": "npx",      "args": [        "-y",        "comfyui-light-mcp@0.3.0-rc.2"      ],      "env": {        "COMFYUI_URL": "",        "WORKFLOWS_DIR": "",        "DATA_DIR": "",        "OUTPUT_DIR": "",        "AUTO_SAVE_OUTPUTS": "true",        "MAX_IN_FLIGHT": "1",        "MAX_QUEUED_JOBS": "1",        "JOB_TIMEOUT_MS": "600000"      }    }  }}

Environment variables

NameRequiredNotes
COMFYUI_URLRequiredRequired installation choice: your trusted running ComfyUI HTTP(S) endpoint. No credentials, query or fragment.
WORKFLOWS_DIRRequiredRequired absolute existing directory containing your reviewed workflow API JSON and manifest pairs.
DATA_DIRRequiredRequired absolute writable SQLite state directory. Use a separate directory per MCP process.
OUTPUT_DIRRequiredRequired absolute writable output/download/index directory.
AUTO_SAVE_OUTPUTSOptionalApplication default: true. Download outputs on completion; false defers downloads to result queries.
MAX_IN_FLIGHTOptionalApplication default: 1. Integer 1-64; includes uncertain submissions.
MAX_QUEUED_JOBSOptionalApplication default: 1. Integer 1-64, no greater than MAX_IN_FLIGHT.
JOB_TIMEOUT_MSOptionalApplication default: 600000. Integer 10000-86400000 milliseconds.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

ComfyUI Light MCP

简体中文 · User guide · Magpie setup · MIT · Prerelease 0.3.0-rc.2

A local stdio MCP server that lets an AI client run ComfyUI workflows you have already reviewed.

Product direction

Workflow-first, Batch-native, Context-light.

  • Workflow-first: export a workflow from ComfyUI in API format once, and write a manifest that whitelists the parameters a client may change. Each call sends only those parameters, not the whole graph.
  • Batch-native: one call submits up to 200 labeled runs, with idempotency keys, SQLite persistence and conservative recovery after interruption.
  • Context-light: only four tools, list_workflows, run_workflow, get_batch, get_result. Tools return summaries and paginated status; batch results can be written to a local JSONL index without returning image data into the conversation.

Requires Windows 11 x64 and Node.js 22.12+. ComfyUI must be installed and running separately. This server does not install ComfyUI, custom nodes or models.

Differences from the official Comfy MCP

Comfy Org's official Comfy MCP aims at driving ComfyUI from AI agents in general: it is Python-based (via comfy-cli), exposes around 40 tools, and can search the official template gallery, fetch and modify workflow graphs, validate them against the local install, and more; a hosted Comfy Cloud variant also exists.

What this project lacks next to that is deliberate:

  • No workflow editing through MCP. A workflow is a plain JSON file in WORKFLOWS_DIR, paired with its manifest. Agents can use their file tools to maintain the pair. Changes are detected on the next list, run or dry-run call and by the scheduler. Invalid edits block new execution instead of falling back to an older graph; pending jobs pause if their saved workflow fingerprint no longer matches.
  • A minimal MCP surface. Only what must pass through the server goes through MCP: submitting whitelisted parameters, scheduling batches, tracking state and collecting results. Template galleries, uploads and model management are out of scope; the workflow file remains an ordinary file the agent can edit.
Official Comfy MCPThis project
ScopeGeneral agent control of local (or cloud) ComfyUIRunning pre-approved local workflows only
Workflow sourceOfficial template gallery, fetched/composed/edited by the agentLocally exported API JSON + a manifest parameter whitelist
Tools~40 (search, compose, edit, validate…)4 (list / run / poll / fetch results)
Per callThe agent can send and modify full workflow graphsOnly whitelisted parameters are sent
Stack / licensePython + comfy-cli, AGPL-3.0 or commercialNode.js 22, MIT
PlatformCross-platformWindows 11 x64 only

The two overlap but are not substitutes: use the official server when the agent should compose and modify workflows through MCP tool calls; this project is a narrower option when workflows live as plain files — edited with the agent's own file tools — and MCP is used only to run them, including in batches.

Installation for AI agents

Follow these steps to install this server for your user. Target environment: Windows 11 x64, Node.js >= 22.12, ComfyUI already running (default http://127.0.0.1:8188).

  1. Clone or unpack the source, then in the checkout run:

    npm ci          # do not use --ignore-scripts; better-sqlite3 loads a native addon
    npm run build
    
  2. Add the server to the user's MCP client settings, replacing placeholder paths with real absolute paths and adjusting environment variables as needed:

    {
      "mcpServers": {
        "comfyui-light": {
          "command": "node",
          "args": ["C:/mcp/comfyui-light-mcp/dist/index.js"],
          "env": {
            "COMFYUI_URL": "http://127.0.0.1:8188",
            "WORKFLOWS_DIR": "C:/mcp/workflows",
            "DATA_DIR": "C:/mcp/data",
            "OUTPUT_DIR": "C:/mcp/output"
          }
        }
      }
    }
    
  3. Place workflow API JSON files and their *.manifest.json into WORKFLOWS_DIR. For a first check, copy both files from examples/ to that directory. Subsequent edits reload automatically; changing environment variables requires a server restart.

  4. Verify with list_workflows, then call run_workflow with {"workflow":"solid-color","dry_run":true,"params":{"color":255}}. Check errors, warnings and any unknown checks before running. Omit dry_run to generate the model-free example.

For manual configuration, launch node .../dist/index.js directly. The Magpie guide covers package-based startup. Stdout is reserved for the MCP protocol; a terminal launch simply waits for JSON-RPC input. For all configuration variables see config.env.example; for a minimal manifest see examples/.

See the user guide for local tarball installation, configuration, batch submission, result indexes, backups and recovery. Run one MCP process per database against a trusted local ComfyUI endpoint. This server has no backend authentication configuration. It does not guarantee token or cost savings. For development commands see CONTRIBUTING.md.

Frequently asked questions

What is ComfyUI Light MCP Server?

Workflow-first, Batch-native, Context-light.

How do I install ComfyUI Light MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ComfyUI Light MCP Server runs locally from the npm package comfyui-light-mcp with the command npx -y comfyui-light-mcp@0.3.0-rc.2.

Is ComfyUI Light MCP Server free and open source?

Yes. ComfyUI Light MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does ComfyUI Light MCP Server support remote (HTTP) connections?

No remote endpoint is listed for ComfyUI Light MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is ComfyUI Light MCP Server's trust score calculated?

ComfyUI Light MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server