ComfyUI-MCP-Server-Python
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOCALE | No | Language for MCP tool descriptions. Options: en, zh-CN. | en |
| LOG_FILE | No | Optional absolute path for a log file. When set, logs are written to both stderr and this file. | |
| LOG_LEVEL | No | Minimum log level written to stderr. Options: DEBUG, INFO, WARNING, ERROR. | INFO |
| SYNC_MODE | No | Controls how the server detects workflow updates from ComfyUI. Options: timed, push, manual. | timed |
| LOG_RETAIN | No | Number of rotated log files to retain. | 7 |
| LOG_ROTATE | No | Log file rotation size. | 10 MB |
| MCP_SERVER_IP | No | MCP server IP address. | http://127.0.0.1 |
| MCP_SERVER_URL | No | MCP server bind address (URL). | http://127.0.0.1:8189/mcp |
| MCP_SERVER_PORT | No | MCP server port. | 8189 |
| COMFY_UI_SERVER_IP | No | Full URL of your ComfyUI server. No trailing slash. | http://127.0.0.1:8188 |
| WORKFLOW_NAME_REGEX | No | Regex identifying the workflow name node title. Must contain one capture group. | ^==(.+?)==$ |
| COMFY_UI_SERVER_HOST | No | Host (without protocol) of ComfyUI server, used for WebSocket connections. | 127.0.0.1 |
| COMFY_UI_SERVER_PORT | No | Port of ComfyUI server. | 8188 |
| WORKFLOW_PARAM_REGEX | No | Regex identifying configurable parameter node titles. Must contain one capture group. | ^=>(.+)$ |
| COMFY_UI_INSTALL_PATH | No | Absolute path to your LOCAL ComfyUI installation root directory. Required for push mode. | |
| SYNC_POLL_INTERVAL_SECONDS | No | Polling interval in seconds for timed mode. | 3 |
| ONDEMAND_REFRESH_COOLDOWN_SECONDS | No | Cooldown in seconds between manual mode refreshes. | 3 |
| SYNC_EVENT_FALLBACK_INTERVAL_SECONDS | No | Fallback 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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