MCP server
Comfyui MCP
MCP server for ComfyUI: text-to-image, variations, img2img refine, upscale, image proxy.
- Pricing
- Open source
- Runs
- Remotely
- Version
- 0.2.1
- Listing updated
- 5 days ago
About Comfyui MCP
Comfyui MCP is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.
Install
Run in a terminal
claude mcp add comfyui-mcp -- npx -y @miller-joe/comfyui-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/comfyui-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/comfyui-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"comfyui-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@miller-joe/comfyui-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/comfyui-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"comfyui-mcp": {
"command": "npx",
"args": [
"-y",
"@miller-joe/comfyui-mcp"
]
}
}
}Configuration
COMFYUI_URLComfyUI HTTP URL used internally by this server. Default: http://127.0.0.1:8188COMFYUI_PUBLIC_URLExternally-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_CKPTDefault checkpoint filename. Default: sd_xl_base_1.0.safetensors
Pricing
Open source
Comfyui MCP FAQ
Is Comfyui MCP free?
Yes. Comfyui MCP is open source, so you can use and self-host it for free.
How do I add Comfyui MCP to Claude Code?
Run this command in your terminal: claude mcp add comfyui-mcp -- npx -y @miller-joe/comfyui-mcp