MCP server for ComfyUI: text-to-image, variations, img2img refine, upscale, image proxy.
Connect Runs on your machine
claude mcp add comfyui-mcp -e COMFYUI_URL=<COMFYUI_URL> -e COMFYUI_PUBLIC_URL=<COMFYUI_PUBLIC_URL> -e COMFYUI_DEFAULT_CKPT=<COMFYUI_DEFAULT_CKPT> -- npx -y @miller-joe/[email protected]
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/[email protected]"
],
"env": {
"COMFYUI_URL": "<COMFYUI_URL>",
"COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
"COMFYUI_DEFAULT_CKPT": "<COMFYUI_DEFAULT_CKPT>"
}
}
}
}
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/[email protected]"
],
"env": {
"COMFYUI_URL": "<COMFYUI_URL>",
"COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
"COMFYUI_DEFAULT_CKPT": "<COMFYUI_DEFAULT_CKPT>"
}
}
}
}
{
"servers": {
"comfyui-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@miller-joe/[email protected]"
],
"env": {
"COMFYUI_URL": "<COMFYUI_URL>",
"COMFYUI_PUBLIC_URL": "<COMFYUI_PUBLIC_URL>",
"COMFYUI_DEFAULT_CKPT": "<COMFYUI_DEFAULT_CKPT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
COMFYUI_URLOptional | ComfyUI HTTP URL used internally by this server. Default: http://127.0.0.1:8188 |
COMFYUI_PUBLIC_URLOptional | Externally-reachable ComfyUI URL used in image URLs returned to clients. Set when the internal URL isn't reachable from MCP clients (common with Docker networks). |
COMFYUI_DEFAULT_CKPTOptional | Default checkpoint filename. Default: sd_xl_base_1.0.safetensors |
Details
| Package | @miller-joe/[email protected] (NPM, streamable-http) |
| First published | 20 Apr 2026 |
| Last updated | 20 Apr 2026 |
| Registry name | io.github.miller-joe/comfyui-mcp |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
