Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFY_API_CFGNoCFG scale.7.0
COMFY_API_KEYNoOptional bearer token for the ComfyUI endpoint.
COMFY_API_URLNoBase URL of the ComfyUI instance, e.g. http://comfyui:8188.
COMFY_MCP_URLNoAddress of your running ComfyUI MCP server, e.g. http://comfyui-mcp:8000/mcp or .../sse.
IMAGE_BACKENDNoImage source backend: 'mcp' (ComfyUI MCP server) or 'comfy_api' (direct ComfyUI HTTP API).mcp
COMFY_API_SEEDNoSeed (0 = random per request).0
COMFY_MCP_TOOLNoName of the image tool in that server.generate_image
COMFY_API_STEPSNoKSampler steps.25
COMFY_API_SAMPLERNoKSampler sampler.euler
COMFY_MCP_API_KEYNoBearer token sent as Authorization: Bearer <key> (if the server requires auth).
COMFY_MCP_COMMANDNoOnly used if COMFY_MCP_URL is unset, to spawn a stdio subprocess.
COMFY_MCP_TIMEOUTNoSeconds to wait for image generation (both backends).300
DOC_MCP_IMAGE_DIRNoWhere generated images are cached.output/images
COMFY_API_WORKFLOWNoPath to a JSON workflow template using placeholders.
DOC_MCP_OUTPUT_DIRNoWhere .pptx files are written.output
COMFY_API_SCHEDULERNoKSampler scheduler.normal
COMFY_MCP_TRANSPORTNoTransport: 'auto', 'streamable-http', or 'sse'.auto
COMFY_API_CHECKPOINTNoCheckpoint loaded by the default workflow.sd_xl_base_1.0.safetensors
COMFY_API_AUTODISCOVERNoWhen enabled, auto-selects an installed checkpoint and valid sampler/scheduler.true
DOC_MCP_DISABLE_IMAGESNoSkip all image generation.false

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
list_themesA

List the available design theme names.

get_themeB

Return the full definition (colors, fonts, image style) of a theme.

generate_imageB

Generate a single image via the ComfyUI MCP server and return its local path.

Args: prompt: Base image description. theme: Theme whose image_style is appended for consistency. size: Output size, e.g. "1024x1024". negative_prompt: Optional negative prompt. target: "content" or "background".

list_comfy_modelsA

List models available on the ComfyUI HTTP API (checkpoints/samplers/schedulers).

Useful to see what the direct comfy_api backend can use, and to pick a value for COMFY_API_CHECKPOINT. Requires IMAGE_BACKEND=comfy_api and COMFY_API_URL to be set.

create_presentationA

Create a PowerPoint deck from a structured plan and return the file path.

The orchestrating model is expected to do any web research and produce the slide plan. plan_json is a JSON string matching PresentationPlan:

{ "title": "Deck title", "theme": "dark_tech", "output_filename": "my_deck", "slides": [ {"title": "Intro", "layout": "title", "subtitle": "An AI-generated deck"}, {"title": "Topic", "bullets": ["Point 1", "Point 2"], "image": {"prompt": "futuristic city", "target": "content"}}, {"title": "Deep dive", "layout": "image_full", "image": {"prompt": "abstract data flow"}} ] }

Images declared with a prompt are auto-generated via ComfyUI. To reuse an existing image, set image.source to a local path or URL instead.

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/TheRealChickenlegs/document-creation-mcp'

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