Connect your AI agent to Comfy Cloud for image generation, model search, and workflow management — directly from Claude, Cursor, and other MCP-compatible clients.
Note
Research Preview — This MCP server is currently in limited early access. Interested? Sign up for the waitlist.
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/Comfy-Org/comfy-cloud-mcp/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/Comfy-Org/comfy-cloud-mcp/main/install.ps1 | iexThe installer will:
- Detect your MCP clients (Claude Code, Cursor, Amp)
- Ask for your Comfy Cloud API key
- Configure the remote MCP server
- Optionally install slash commands for better workflow context
No Node.js or other dependencies required.
Claude Desktop (chat mode): Requires OAuth, which is coming soon. In the meantime, use Code mode within the Claude Desktop app — it connects to Comfy Cloud automatically via the Claude Code config.
Once installed, your AI agent can:
- Generate images — describe what you want, the agent builds and runs a ComfyUI workflow
- Search models — find checkpoints, LoRAs, VAEs, and controlnets across HuggingFace and CivitAI
- Search nodes — discover ComfyUI nodes by category, input/output type, or keyword
- Browse templates — find pre-built workflows for text-to-image, image-to-video, style transfer, and more
- Manage workflows — list, inspect, and run your saved workflows from Comfy Cloud
- Chain outputs — use the output of one workflow as input to another
The MCP tools work automatically — just ask your agent to generate an image or search for models. These optional slash commands provide shortcuts with extra context for Claude Code:
| Command | Description |
|---|---|
/comfy-generate-image |
Generate images from a text description |
/comfy-search-models |
Search available models with formatted results |
/comfy-search-nodes |
Search for nodes and get wiring suggestions |
/comfy-search-templates |
Find pre-built workflow templates |
/comfy-help |
See what you can do with ComfyUI Cloud |
- Go to platform.comfy.org/profile/api-keys
- Click "New API Key"
- Copy the key (starts with
comfyui-)