Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_URLNoComfyUI URL, used only when instances.yaml does not exist.http://127.0.0.1:8188
COMFY_MCP_RUNSNoRun record directory containing <job_id>.json and checksums.json.runs
COMFY_MCP_HTTP_PORTNoListening port for the http transport.8848
COMFY_MCP_INSTANCESNoPath to the instance manifest; if the file does not exist, falls back to a single instance.instances.yaml
COMFY_MCP_KEEP_RUNSNoNumber of run records to keep; older records are pruned by mtime at startup.100
COMFY_MCP_MAX_QUEUENoMaximum queue depth; exceeding it returns QUEUE_FULL.20
COMFY_MCP_TRANSPORTNoTransport to use: stdio or http (streamable-http).stdio
COMFY_MCP_WORKFLOWSNoWorkflow registry directory.workflows
COMFY_MCP_MODELS_DIRNoPath to ComfyUI's models/ directory; model sha256 is calculated only when set.
COMFY_MCP_MAX_UPLOAD_MBNoMaximum upload asset size in MB.20
COMFY_MCP_PREVIEW_MAX_EDGENoLongest edge for the first image preview thumbnail.512
COMFY_MCP_DEFAULT_TIMEOUT_SNoDefault timeout in seconds for a single run.300

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources