Comfy Local
FreeNot checkedWindows-native MCP server for a local ComfyUI portable package. It enables listing, validating, and running ComfyUI workflows via the loopback HTTP API.
About
Windows-native MCP server for a local ComfyUI portable package. It enables listing, validating, and running ComfyUI workflows via the loopback HTTP API.
README
Windows-native MCP server for a local ComfyUI portable package. It talks to
ComfyUI over its loopback HTTP API and runs with the portable package's own
python_embeded\python.exe; no virtual environment is required.
Portable layout
The MCP package is expected to be placed next to the portable package folders:
ComfyUI_windows_portable\
ComfyUI\
python_embeded\
comfy-local-mcp\
The installer also accepts an explicit -PortableRoot when the MCP package is
stored elsewhere.
Install
From PowerShell, run install.ps1 in the extracted package directory:
.\install.ps1 -PortableRoot "F:\ComfyUI_windows_portable" -RegisterCodex
The installer:
- uses
ComfyUI\..\python_embeded\python.exedirectly; - installs the pinned MCP dependency into this package's
vendordirectory; - copies bundled API-format workflows into
ComfyUI\user\default\workflows; - uses
ComfyUI\outputas the output directory; - optionally registers the MCP server with Codex.
No files are installed into ComfyUI's python_embeded\Lib\site-packages.
Runtime configuration
COMFYUI_URL: loopback ComfyUI URL, defaulthttp://127.0.0.1:8188.COMFY_PORTABLE_ROOT: portable root containing siblingComfyUIandpython_embededdirectories.COMFYUI_ROOT: optional explicit ComfyUI directory.COMFY_MCP_WORKFLOW_ROOT: defaults toComfyUI\user\default\workflows.COMFY_MCP_OUTPUT_ROOT: defaults toComfyUI\output.COMFY_MCP_ALLOWED_ROOTS: semicolon-separated workflow/output roots.
The MCP tools list_workflows and save_workflow operate in the configured
workflow directory. validate_workflow and run_workflow accept either an
absolute path inside that directory or a workflow filename.
Build a Release
From the repository root:
.\tools\comfy_local_mcp\build_release.ps1 -Version "0.1.0"
The generated archive is written to dist\comfy-local-mcp-0.1.0.zip.
Notes
ComfyUI must be running before calling server_info, validate_workflow, or
run_workflow. Models and custom nodes remain customer-local; the MCP package
does not download or share model weights.
Installing Comfy Local
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/lizhongyi1209/o1key-comfy-mcpFAQ
Is Comfy Local MCP free?
Yes, Comfy Local MCP is free — one-click install via Unyly at no cost.
Does Comfy Local need an API key?
No, Comfy Local runs without API keys or environment variables.
Is Comfy Local hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Comfy Local in Claude Desktop, Claude Code or Cursor?
Open Comfy Local on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Comfy Local with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
