ComfyUI Light MCP
MCP server by yuchen-ya Community
Workflow-first, Batch-native, Context-light.
Install ComfyUI Light MCP
Built from the published package, never by AI.
claude mcp add comfyui-light-mcp -e COMFYUI_URL=http://127.0.0.1:8188 -e WORKFLOWS_DIR=C:/mcp/workflows -e DATA_DIR=C:/mcp/data -e OUTPUT_DIR=C:/mcp/output -- npx -y comfyui-light-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"comfyui-light-mcp": {
"command": "npx",
"args": [
"-y",
"comfyui-light-mcp"
],
"env": {
"COMFYUI_URL": "http://127.0.0.1:8188",
"WORKFLOWS_DIR": "C:/mcp/workflows",
"DATA_DIR": "C:/mcp/data",
"OUTPUT_DIR": "C:/mcp/output"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"comfyui-light-mcp": {
"command": "npx",
"args": [
"-y",
"comfyui-light-mcp"
],
"env": {
"COMFYUI_URL": "http://127.0.0.1:8188",
"WORKFLOWS_DIR": "C:/mcp/workflows",
"DATA_DIR": "C:/mcp/data",
"OUTPUT_DIR": "C:/mcp/output"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"comfyui-light-mcp": {
"command": "npx",
"args": [
"-y",
"comfyui-light-mcp"
],
"env": {
"COMFYUI_URL": "http://127.0.0.1:8188",
"WORKFLOWS_DIR": "C:/mcp/workflows",
"DATA_DIR": "C:/mcp/data",
"OUTPUT_DIR": "C:/mcp/output"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add comfyui-light-mcp --env COMFYUI_URL=http://127.0.0.1:8188 --env WORKFLOWS_DIR=C:/mcp/workflows --env DATA_DIR=C:/mcp/data --env OUTPUT_DIR=C:/mcp/output -- npx -y comfyui-light-mcp{
"mcpServers": {
"comfyui-light-mcp": {
"command": "npx",
"args": [
"-y",
"comfyui-light-mcp"
],
"env": {
"COMFYUI_URL": "http://127.0.0.1:8188",
"WORKFLOWS_DIR": "C:/mcp/workflows",
"DATA_DIR": "C:/mcp/data",
"OUTPUT_DIR": "C:/mcp/output"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add comfyui-light-mcp npx -y comfyui-light-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the comfyui-light-mcp block.
What you need
| Setting | Needed | What it is |
|---|---|---|
COMFYUI_Environment variable | Required | Required installation choice: your trusted running ComfyUI HTTP(S) endpoint. No credentials, query or fragment. |
WORKFLOWS_Environment variable | Required | Required absolute existing directory containing your reviewed workflow API JSON and manifest pairs. |
DATA_Environment variable | Required | Required absolute writable SQLite state directory. Use a separate directory per MCP process. |
OUTPUT_Environment variable | Required | Required absolute writable output/download/index directory. |
AUTO_Environment variable | Optional | Application default: true. Download outputs on completion; false defers downloads to result queries. Default: true |
MAX_Environment variable | Optional | Application default: 1. Integer 1-64; includes uncertain submissions. Default: 1 |
MAX_Environment variable | Optional | Application default: 1. Integer 1-64, no greater than MAX_IN_FLIGHT. Default: 1 |
JOB_Environment variable | Optional | Application default: 600000. Integer 10000-86400000 milliseconds. Default: 600000 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Alternatives to ComfyUI Light MCP
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
ComfyUI Light MCP: common questions
How do I install ComfyUI Light MCP?
In Claude Code run claude mcp add comfyui-light-mcp -e COMFYUI_URL=http://127.0.0.1:8188 -e WORKFLOWS_DIR=C:/mcp/workflows -e DATA_DIR=C:/mcp/data -e OUTPUT_DIR=C:/mcp/output -- npx -y comfyui-light-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ComfyUI Light MCP the official server?
ComfyUI Light MCP is a community project by yuchen-ya, not verified by a company domain.
Is ComfyUI Light MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ComfyUI Light MCP safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality D. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to ComfyUI Light MCP?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does ComfyUI Light MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
