Installation¶
Requirements¶
- ComfyUI with Python 3.13+ (see
pyproject.toml) - Dependencies are installed automatically on node load when
auto_install_depsis enabled (default:trueinconfig.json)
Automatic dependency installation¶
On startup, MSS-Login installs dependencies into ComfyUI's Python environment (sys.executable):
- UV first —
uv pip installusingpyproject.toml(respects CUDA vs Metal PyTorch indexes), or the platform requirements file: - Linux / Windows:
requirements_cuda.txt(CUDA wheels via PyTorch index) - macOS:
requirements_metal.txt - pip fallback — if UV is missing or fails, the same requirements file is installed with
pip install -r.
Optional dotenvx CLI is installed best-effort via python-dotenvx postinstall; failure does not block the node.
Disable auto-install¶
- Config: set
"auto_install_deps": falsein your data-dirconfig.json - Environment: set
AUTO_INSTALL_DEPS=0(orfalse/no) to disable even when config istrue
Manual install¶
From the extension directory, using ComfyUI's Python:
# Preferred (UV)
/path/to/comfy/python -m uv pip install --python /path/to/comfy/python .
# Fallback (pip)
/path/to/comfy/python -m pip install -r requirements_cuda.txt \
--extra-index-url https://download.pytorch.org/whl/cu128
See utils/install_deps.py for the full install logic.
Steps¶
- Install the node Place the extension in ComfyUI's custom nodes directory:
ComfyUI/custom_nodes/ComfyUI-MSS-Login/
Or clone:
cd ComfyUI/custom_nodes
git clone <repository-url> ComfyUI-MSS-Login
-
Restart ComfyUI so the node loads.
-
First launch On first run, register the initial admin user when prompted.
-
Configure Open Settings → mss-login to configure groups, IP rules, user environment, and NSFW settings.
Optional: Encrypted SQLite and recovery¶
- For encrypted SQLite (optional), install
argon2-cffiandsqlcipher3(see Configuration). - For MFA recovery (e.g. after changing
SECRET_KEY), see the recovery endpoint in the API Reference.