Dreamer MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host for the HTTP endpoint. | 0.0.0.0 |
| MCP_PATH | No | Path for the HTTP endpoint. | /mcp |
| MCP_PORT | No | Port for the HTTP endpoint. | 8000 |
| LOG_LEVEL | No | Log level. | INFO |
| COMFYUI_URL | No | URL used by the server to access ComfyUI. | http://127.0.0.1:8188 |
| MEDIA_SECRET | No | HMAC key for media links (derived from MCP_AUTH_TOKEN if unset). | |
| MCP_TRANSPORT | No | Transport mode: 'stdio' or 'http'. | stdio |
| WORKFLOWS_DIR | No | Folder containing workflows and workflows.yaml. | workflows |
| MCP_AUTH_TOKEN | No | If set, requires 'Authorization: Bearer <token>'. | |
| MCP_PUBLIC_URL | No | External URL of this MCP; enables media links. | |
| MEDIA_LINK_TTL | No | Validity of media links in seconds. | 86400 |
| COMFYUI_API_KEY | No | Bearer token sent to ComfyUI (if behind an authenticated proxy). | |
| PREVIEW_MAX_SIZE | No | Maximum side for inline previews. | 768 |
| COMFYUI_PUBLIC_URL | No | Base URL for direct links returned (defaults to COMFYUI_URL). | |
| DEFAULT_WAIT_TIMEOUT | No | Seconds to wait when wait=true. | 300 |
| WORKFLOWS_FROM_COMFYUI | No | Also list workflows saved in ComfyUI. | true |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| comfyui_statusA | ComfyUI health: whether it is reachable, queue size, GPU and VRAM/RAM usage, versions. |
| comfyui_modelsA | List installed models. Args: folder: Model folder, e.g. "checkpoints", "loras", "vae", "upscale_models", "diffusion_models", "text_encoders". Omit to list every folder. search: Case-insensitive substring filter on file names. |
| comfyui_free_memoryB | Ask ComfyUI to unload models and free cached VRAM/RAM. |
| comfyui_workflowsA | List available workflows (local files and those saved in ComfyUI), their friendly params and which preset (image/upscale/video/audio) each one backs. |
| comfyui_workflow_infoA | Show a workflow's friendly params and every node's literal inputs, i.e. what can be
changed via comfyui_run |
| comfyui_runA | Queue a workflow on ComfyUI. Args:
workflow: Workflow name from comfyui_workflows.
params: Friendly params defined in workflows.yaml, e.g. {"prompt": "a cat", "steps": 20}.
inputs: Raw node overrides, keyed ".", e.g. {"6.text": "a cat",
"KSampler.cfg": 6.5}.
workflow_json: An inline API-format workflow, used instead of |
| comfyui_historyA | Recent finished jobs (newest first), including ones run from the ComfyUI web UI. Use a prompt_id from here with comfyui_save_workflow to turn that run into a workflow. |
| comfyui_save_workflowA | Save the exact API-format workflow of a past job as a reusable workflow, stored in ComfyUI under workflows/api/.json. This is how UI-format workflows become runnable: run it once in the ComfyUI web UI, then save it from comfyui_history. |
| comfyui_convert_workflowA | Convert a UI-format workflow saved in ComfyUI (e.g. "comfyui:MY_FLOW.json") to API format and save it as workflows/api/.json, without having to run it first. Resolves Set/Get nodes, reroutes and bypassed nodes. Not for workflows with subgraphs. Args: include_bypassed: Treat bypassed nodes as active (e.g. optional LoadImage slots that are bypassed in the editor but should exist in the API version). |
| comfyui_job_statusA | Status of a job: pending (with queue_position), running, success, error, interrupted, or not_found. Finished jobs include their output files. |
| comfyui_get_outputA | List the files produced by a finished job (images, videos, audio...). Each file has a
Args: prompt_id: Job id returned by comfyui_run or a preset tool. include_temp: Also include temporary preview files (PreviewImage nodes). |
| comfyui_view_imageA | Return an image so it can be seen inline (downscaled to max_size px). Either pass |
| comfyui_cancelA | Cancel a job: removes it from the queue if pending, interrupts it if running. Without prompt_id, interrupts whatever is running now. |
| comfyui_queueA | Show the running and pending jobs, or clear all pending jobs (action="clear"; the running job is not affected). |
| comfyui_upload_fileA | Upload an image/audio/video into ComfyUI's input folder, for use in Load* nodes. Args: source: An http(s) URL, a data: URI or raw base64 content. |
| comfyui_generate_imageA | Generate or edit images with the default image workflow (preset "image").
Without Empty arguments keep the workflow's own values. |
| comfyui_generate_assetA | Generate or edit a single asset (object, sprite, icon, character cut-out) as a PNG with a
transparent background, using the default asset workflow (preset "asset").
Describe only the subject; the workflow adds the transparency instructions itself.
Size is exact pixels: width/height (default 1024x1024, rounded to multiples of 16). With
|
| comfyui_upscaleA | Upscale an image with the default upscale workflow (preset "upscale").
Empty arguments keep the workflow's own values. |
| comfyui_generate_videoA | Generate a video with the default video workflow (preset "video"). Empty arguments keep the workflow's own values. |
| comfyui_generate_audioA | Generate audio/music with the default audio workflow (preset "audio").
Empty arguments keep the workflow's own values. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Each tool targets a distinct purpose: workflow introspection, execution, generation, file I/O, and job management are clearly separated. Even overlapping concepts like comfyui_run vs the generate_* wrappers are differentiated by generic vs preset usage. The descriptions reinforce these boundaries, so an agent is unlikely to misselect.
All tools share the comfyui_ prefix and use snake_case, but the pattern mixes verb_noun (generate_image, save_workflow) with noun-only names (status, models, history, queue). This is a minor inconsistency; the prefix and clear resource names keep the convention mostly predictable.
At 20 tools, the server is on the heavy side for an MCP integration, falling into the 16-25 range that feels borderline. The count is justified by the breadth of ComfyUI operations, but several generate_* wrappers plus a generic run tool add redundancy in scope.
The surface covers the core workflow lifecycle: list/inspect, run, save/convert, status/history, outputs, upload, cancel/queue, and model/resource management. Minor gaps like workflow deletion or explicit file download are absent but workarounds exist (e.g., URLs from get_output).