Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_API_BASENoThe base URL of the local ComfyUI instance.http://127.0.0.1:8188
COMFYUI_WORKFLOWS_DIRNoOptional path to a custom workflows directory.

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
generate_image_from_textA
Generates an image using ComfyUI based on the provided prompt and optional parameters.

Args:
    prompt: The positive text prompt (It must be in English).
    workflow_name: The name of the workflow file (without .json) from the 'workflows' directory to use.
                If None, uses the default workflow ('t2image_bizyair_flux').
    width: The desired width of the image (default: 1024).
    height: The desired height of the image (default: 1024).
Returns:
    A URL to view the generated image.
generate_image_from_imageA
Generates an image using ComfyUI based on an input image (URL, local path, or bytes), prompt, and optional parameters.

Args:
    prompt: The positive text prompt (It must be in English).
    workflow_name: The name of the I2I workflow file (without .json) to use (default: 'I2Image_bizyair_flux').
    image_path_or_url: The URL or local file path or image data as bytes of the input image.
    denoise: Denoising strength (0.0 to 1.0). Controls how much the original image influences the result. to use (default: '1.0')
    seed: Optional random seed for reproducibility.
Returns:
    A URL to view the generated image or an error message.

Prompts

Interactive templates invoked by user choice

NameDescription
Generate Image with ComfyUI Provides a starting point for generating an image using the generate_image tool.

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

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