Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_URLYesURL of the ComfyUI server, e.g. http://192.168.1.50:8188. Required.
COMFY_TIMEOUT_MSNoTimeout per ComfyUI job in milliseconds. Default: 600000.
COMFY_MODEL_LABELNoModel label written to sidecars and tool output. Default: comfyui.
COMFY_PROJECT_ROOTNoProject root that outputs and refs must stay inside. Defaults to the first MCP file root reported by the client, else the directory the client started the server in. Must be set if the resolved root is /.
COMFY_WORKFLOWS_DIRNoDirectory where txt2img.json, edit.json and cutout.json live. Defaults to the package's workflows/ folder.
COMFY_MAX_MEGAPIXELSNoMaximum requested image size in megapixels; larger requests are scaled down. Default: 2.1.
COMFY_INLINE_MAX_BYTESNoLargest PNG returned inline in the tool result, in bytes. 0 turns this off. Default: 3000000.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generates an image with a diffusion model running in ComfyUI on a GPU machine. No API key or per-image cost. Use it for design mockups, reference-guided variations and edits (pass refs), and finished raster assets such as illustrations, photos, textures and transparent cutouts. The PNG is written to out, relative to the project root, with a <out>.json sidecar recording the prompt, seed and settings. The image is also returned in the result when it is small enough. Each call takes roughly 20-120 s, so make calls one at a time. Local models render small text poorly: describe layout, hierarchy, palette, type character and imagery, keep quoted copy to short headlines, and do not rely on body text.

image_backend_statusA

Reports whether ComfyUI is reachable, GPU/VRAM, which workflows (txt2img, edit, cutout) are configured, and the project root images are written to. Does not generate anything.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools are clearly separated: one is a read-only diagnostic (backend/GPU/workflow status) and the other performs generation. There is no plausible way to confuse them, and image_backend_status explicitly states it does not generate anything.

Naming Consistency4/5

Both names are snake_case and readable, but they mix a verb_noun form (generate_image) with a noun_phrase form (image_backend_status). It's a minor stylistic deviation rather than a real inconsistency.

Tool Count3/5

Two tools is thin even for a narrow ComfyUI wrapper; the status tool is essentially a prerequisite check for the single real action. It's defensible for the scope but sits at the borderline of under-provisioned.

Completeness3/5

Generation plus a health check covers the core happy path, including refs for edits and cutouts, but there is no way to list previously generated images, enumerate/select configured workflows, cancel long jobs, or post-process assets. Agents will hit dead ends when they need to inspect or manage outputs.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues