Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCALENoLanguage for MCP tool descriptions. Options: en, zh-CN.en
LOG_FILENoOptional absolute path for a log file. When set, logs are written to both stderr and this file.
LOG_LEVELNoMinimum log level written to stderr. Options: DEBUG, INFO, WARNING, ERROR.INFO
SYNC_MODENoControls how the server detects workflow updates from ComfyUI. Options: timed, push, manual.timed
LOG_RETAINNoNumber of rotated log files to retain.7
LOG_ROTATENoLog file rotation size.10 MB
MCP_SERVER_IPNoMCP server IP address.http://127.0.0.1
MCP_SERVER_URLNoMCP server bind address (URL).http://127.0.0.1:8189/mcp
MCP_SERVER_PORTNoMCP server port.8189
COMFY_UI_SERVER_IPNoFull URL of your ComfyUI server. No trailing slash.http://127.0.0.1:8188
WORKFLOW_NAME_REGEXNoRegex identifying the workflow name node title. Must contain one capture group.^==(.+?)==$
COMFY_UI_SERVER_HOSTNoHost (without protocol) of ComfyUI server, used for WebSocket connections.127.0.0.1
COMFY_UI_SERVER_PORTNoPort of ComfyUI server.8188
WORKFLOW_PARAM_REGEXNoRegex identifying configurable parameter node titles. Must contain one capture group.^=>(.+)$
COMFY_UI_INSTALL_PATHNoAbsolute path to your LOCAL ComfyUI installation root directory. Required for push mode.
SYNC_POLL_INTERVAL_SECONDSNoPolling interval in seconds for timed mode.3
ONDEMAND_REFRESH_COOLDOWN_SECONDSNoCooldown in seconds between manual mode refreshes.3
SYNC_EVENT_FALLBACK_INTERVAL_SECONDSNoFallback polling interval in seconds for push mode.300

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

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/MetaBrain-Labs/ComfyUI-MCP-Server-Python'

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