Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_BASE_URLYesThe base URL of the ComfyUI server (e.g., http://127.0.0.1:8188)
COMFYUI_BEARER_TOKENNoOptional bearer token for reverse proxies or cloud-style gateways
COMFYUI_ROUTE_PREFIXNoOptional route prefix (e.g., /api) if your endpoint is exposed under a prefix
COMFYUI_TIMEOUT_SECONDSNoTimeout in seconds for HTTP requests60

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
comfyui_get_system_statsA

Get Python, device, and VRAM information from ComfyUI /system_stats.

comfyui_get_featuresA

Get server feature flags from ComfyUI /features.

comfyui_list_modelsA

List model folders or files from /models and /models/{folder}.

comfyui_get_object_infoA

Fetch node metadata from /object_info or /object_info/{node_class}.

comfyui_get_queueA

Get pending and running queue state from /queue.

comfyui_manage_queueA

Clear queue or delete pending prompt ids via POST /queue.

comfyui_get_historyC

Fetch history from /history or /history/{prompt_id}.

comfyui_manage_historyA

Clear history or delete prompt ids via POST /history.

comfyui_submit_promptC

Submit a workflow payload to ComfyUI POST /prompt.

comfyui_interruptB

Interrupt current execution globally or by prompt_id via POST /interrupt.

comfyui_upload_imageC

Upload an image file using POST /upload/image multipart form.

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/Ericsunsk/comfyui-mcp'

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