Skip to main content
Glama

ComfyMCP Local

ComfyMCP Local is a local-first MCP server for controlling a loopback-only ComfyUI instance from a same-machine client or an authenticated private-LAN MCP client.

The project starts in disconnected/read-only local_stdio mode with no required environment variables. HTTP/LAN mode is intentionally fail-closed until TLS, bearer auth, exact Host admission, and client CIDRs are configured.

By default the ComfyUI upstream must be loopback. To target an HTTPS ComfyUI server on your LAN, opt in explicitly and allowlist the exact upstream host:

COMFYMCP_COMFYUI_URL=https://comfy-gpu.lan.example
COMFYMCP_ALLOW_LAN_COMFYUI=true
COMFYMCP_COMFYUI_ALLOWED_HOSTS=comfy-gpu.lan.example

LAN upstreams require HTTPS, an origin-only URL, no embedded credentials, and DNS answers that stay inside private LAN address ranges.

npm install
npm run check

Useful development commands:

npm run build
npm test
npm run typecheck
node dist/index.js tools:list

The implementation follows PROJECT_BRIEF.md. Milestone 0 focuses on package shape, configuration, transport admission policy, authentication primitives, tool inventory, and fake-ComfyUI test support before porting the full action services.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elkay182/ComfyMCP-Local'

If you have feedback or need assistance with the MCP directory API, please join our Discord server