Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_MCP_DIRYesPath to the project directory containing config.json and data folder.
COMFYUI_MCP_HOSTNoBind address for the HTTP server (default: 0.0.0.0).
COMFYUI_MCP_TOKENSNoJSON string mapping token strings to allowed scopes, used for Streamable HTTP authentication.
COMFYUI_MCP_PUBLIC_URLNoPublic URL of the MCP endpoint (e.g., https://mcp.example.com/mcp).
COMFYUI_MCP_FETCH_HOSTSNoComma-separated whitelist of allowed hosts for asset fetching.
COMFYUI_MCP_ENABLE_ADMINNoSet to '1' to enable the admin process for workflow management.
COMFYUI_MCP_UPLOAD_ROOTSNoSemicolon-separated list of additional directories allowed for local file uploads.
COMFYUI_MCP_ALLOWED_HOSTSNoComma-separated list of allowed Host header values for HTTP server.
COMFYUI_MCP_ALLOWED_ORIGINSNoComma-separated list of allowed Origin header values for HTTP server.
COMFYUI_MCP_MAX_UPLOAD_BYTESNoMaximum upload size in bytes for media uploads.

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
comfyui.asset.uploadC

Upload an authorized local image, mask, audio, or video file to ComfyUI and return an asset handle.

comfyui.job.getA

Get durable ComfyUI job status and output resource links.

comfyui.job.cancelA

Remove this principal's queued ComfyUI job; running jobs are safely rejected because ComfyUI interrupt is global.

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/ShiroEirin/ComfyUI_MCP_Skills'

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