lightweight Python-based MCP (Model Context Protocol) server for local ComfyUI
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add comfyui -- python main.py --port 8188~/.codex/config.toml
[mcp_servers.comfyui]
command = "python"
args = ["main.py", "--port", "8188"]
# codex mcp add comfyui -- python main.py --port 8188~/.cursor/mcp.json
{
"mcpServers": {
"comfyui": {
"command": "python",
"args": [
"main.py",
"--port",
"8188"
]
}
}
}.vscode/mcp.json
{
"servers": {
"comfyui": {
"type": "stdio",
"command": "python",
"args": [
"main.py",
"--port",
"8188"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"comfyui": {
"command": "python",
"args": [
"main.py",
"--port",
"8188"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"comfyui": {
"command": "python",
"args": [
"main.py",
"--port",
"8188"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"comfyui": {
"command": "python",
"args": [
"main.py",
"--port",
"8188"
]
}
}
}