Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RETURN_URLNoSet to 'false' to receive image data as bytes instead of URLs. Useful when using Docker where downloading to local folder is difficult.true
COMFYUI_HOSTNoThe host address of the ComfyUI serverlocalhost
COMFYUI_PORTNoThe port of the ComfyUI server8188

Tools

Functions exposed to the LLM to take actions

NameDescription
text_to_image

Generate an image from a prompt.

Args: prompt: The prompt to generate the image from. seed: The seed to use for the image generation. steps: The number of steps to use for the image generation. cfg: The CFG scale to use for the image generation. denoise: The denoise strength to use for the image generation.
download_image

Download an image from a URL and save it to a file.

Args: url: The URL of the image to download. save_path: The absolute path to save the image to. Must be an absolute path, otherwise the image will be saved relative to the server location.
run_workflow_from_file

Run a workflow from a file.

Args: file_path: The absolute path to the file to run.
run_workflow_from_json

Run a workflow from a JSON data.

Args: json_data: The JSON data to run.

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

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