ComfyUI MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMFYUI_BASE_URL | Yes | The base URL of the ComfyUI server (e.g., http://127.0.0.1:8188) | |
| COMFYUI_BEARER_TOKEN | No | Optional bearer token for reverse proxies or cloud-style gateways | |
| COMFYUI_ROUTE_PREFIX | No | Optional route prefix (e.g., /api) if your endpoint is exposed under a prefix | |
| COMFYUI_TIMEOUT_SECONDS | No | Timeout in seconds for HTTP requests | 60 |
Capabilities
Features and capabilities supported by this server
| 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_get_system_statsA | Get Python, device, and VRAM information from ComfyUI |
| comfyui_get_featuresA | Get server feature flags from ComfyUI |
| comfyui_list_modelsA | List model folders or files from |
| comfyui_get_object_infoA | Fetch node metadata from |
| comfyui_get_queueA | Get pending and running queue state from |
| comfyui_manage_queueA | Clear queue or delete pending prompt ids via POST |
| comfyui_get_historyC | Fetch history from |
| comfyui_manage_historyA | Clear history or delete prompt ids via POST |
| comfyui_submit_promptC | Submit a workflow payload to ComfyUI POST |
| comfyui_interruptB | Interrupt current execution globally or by prompt_id via POST |
| comfyui_upload_imageC | Upload an image file using POST |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Ericsunsk/comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server