ComfyUI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FAL_KEY | No | Your fal.ai API key for cloud GPU inference | |
| COMFY_URL | No | ComfyUI server URL | http://localhost:8188 |
| OUTPUT_MODE | No | Output mode: file (Image) or url (string URL) | file |
| POLL_TIMEOUT | No | Max seconds to wait for workflow (1-300) | 60 |
| POLL_INTERVAL | No | Seconds between status polls (0.1-10.0) | 1.0 |
| OUTPUT_NODE_ID | No | Default output node ID | |
| PROMPT_NODE_ID | No | Default prompt node ID for generate_image | |
| COMFY_URL_EXTERNAL | No | External URL for image retrieval (defaults to same as COMFY_URL) | |
| COMFY_WORKFLOWS_DIR | No | Directory for API format workflows (execution) | |
| COMFY_WORKFLOWS_UI_DIR | No | Directory for UI format workflows (editor) | |
| COMFY_WORKFLOW_JSON_FILE | No | Default workflow file for generate_image |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_system_statsA | Get ComfyUI server health: version, memory, device info. |
| get_queue_statusA | Get current queue: running and pending jobs. |
| get_historyB | Get recent generation history. |
| cancel_currentB | Interrupt current generation. |
| clear_queueB | Clear the queue or delete specific items. |
| list_nodesA | List available ComfyUI nodes. |
| get_node_infoA | Get detailed info about a node. |
| list_modelsA | List available models in a folder. |
| list_model_foldersA | List available model folder types. |
| list_embeddingsB | List available text embeddings. Returns list of embedding names that can be used in prompts. |
| list_extensionsA | List loaded ComfyUI extensions. Returns list of installed extension names (custom node packs). Use this to verify which custom nodes are available (e.g., fal.ai connector). |
| refresh_nodesA | Refresh the node cache. |
| search_nodesC | Search for nodes by name, category, or description. |
| list_workflowsA | List available workflow files. |
| load_workflowC | Load a workflow file for inspection or modification. |
| save_workflowA | Save a workflow to the workflows directory. |
| create_workflowA | Create an empty workflow structure. |
| generate_workflow_nameA | Generate a random funny workflow name. |
| add_nodeA | Add a node to a workflow. |
| remove_nodeA | Remove a node from a workflow. |
| update_node_inputC | Update a specific input on a node. |
| get_workflow_templateB | Get a pre-built workflow template. |
| list_templatesB | List available workflow templates. |
| validate_workflowC | Validate a workflow structure. |
| convert_workflow_to_uiA | Convert an API format workflow to UI/Litegraph format. |
| run_workflowC | Execute a saved workflow file. |
| execute_workflowB | Execute an arbitrary workflow dict. |
| generate_imageA | Generate an image using the default workflow. |
| submit_workflowA | Submit a workflow without waiting for completion. |
| get_prompt_statusB | Get the status of a submitted prompt. |
| get_result_imageA | Get the result image from a completed prompt. |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/IO-AtelierTech/comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server