comfy-vault-mcp
An MCP server that exposes comfy-vault to coding agents, so you can ask Claude or Codex to audit and clean up your ComfyUI model library in plain language.
It wraps the comfy-vault library (PyPI package comfy-model-vault, a real
dependency — not vendored) as five tools. The agent calls them; comfy-vault does
the work.
Tools
| Tool | What it does |
|---|---|
vault_scan |
Index a models directory recursively; counts, sizes, categories. |
vault_orphans |
List models no workflow references (read-only). |
vault_lora_info |
Look up Civitai metadata for a file by its content hash. |
vault_duplicates |
Find byte-identical duplicate models (same SHA256). |
vault_delete |
Delete orphans — dry-run unless confirm=true, fenced to the scanned roots. |
Install
pip install comfy-vault-mcp
This installs comfy-model-vault (the comfy-vault library) as a dependency.
Python 3.10+.
Use with Claude Code
claude mcp add comfy-vault -- comfy-vault-mcp
or add it to .mcp.json in your project:
{
"mcpServers": {
"comfy-vault": {
"command": "comfy-vault-mcp"
}
}
}
Use with Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.comfy-vault]
command = "comfy-vault-mcp"
Example
Once connected, ask in natural language:
"Find all unused Pony LoRAs over 2 GB in
D:\ComfyUI\models, check which of them still exist on Civitai, and show me the duplicates — but don't delete anything yet."
The agent will call vault_orphans, vault_lora_info, and vault_duplicates,
then summarise. vault_delete stays a dry-run until you explicitly confirm.
Offline / testing mode
Set COMFY_VAULT_CIVITAI_FIXTURES to a directory of recorded {sha256}.json
Civitai responses, and vault_lora_info resolves from those instead of the live
API — no network, no key. This is how the test suite runs. For live use, an
optional CIVITAI_API_KEY raises your rate limit but is not required.
License
MIT. Same license as comfy-vault, for consistency across the toolkit.
Metadata
Release files for comfy-vault-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| comfy_vault_mcp-0.1.1.tar.gz | 12.4 kB | Without provenance | Details for comfy_vault_mcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| comfy_vault_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for comfy_vault_mcp-0.1.1-py3-none-any.whl |
Total release size: 20.7 kB
Release files / comfy_vault_mcp-0.1.1.tar.gz
| Download URL | comfy_vault_mcp-0.1.1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7159250c2bc4ddc3ccb5241a36ffb55884b450c38761fca985a31bf9f404ccb1
|
|
BLAKE2b-256 checksum How to use checksums |
edbeed30e6daab1c7d4f18207007bbe1276f2afd2c4548e3cfed620d927da327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / comfy_vault_mcp-0.1.1-py3-none-any.whl
| Download URL | comfy_vault_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd5b2b4dcfc3d34f2102eae2cbabc3effa46f99d1219b700888e79baa3be717b
|
|
BLAKE2b-256 checksum How to use checksums |
ab5979ba83f017abe9345285d0406d11556707b6ec9463333ca4d4974e2d1bf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for comfy-vault-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.