WizTree MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WIZTREE_PATH | No | Path to the WizTree executable (e.g. C:\Program Files\WizTree\WizTree64.exe). Optional when WizTree is found in a common location or PATH. | |
| WIZTREE_MCP_EXPORT_DIR | No | Controls only the legacy list/cleanup directory (default exports/ under the repository), not the explicit save destination. | exports/ |
| WIZTREE_MCP_DISABLE_CLEANUP | No | Set to 1 to omit cleanup_snapshots from tools/list and reject direct calls. Unset or other values preserve the legacy tool's availability. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only disk-usage analysis. scan_path exports a WizTree CSV and returns an in-memory handle such as "scan:"; pass it as csvPath to analyze_csv, top_entries, drill_down, search_entries, old_large_files, extension_summary and compare_csv. Scan one directory, never a whole drive: scans above maxEntries (100000 rows by default, 200000 maximum) abort and discard everything parsed. Only the newest scan handle survives in this process, so saveSnapshot before comparing two scans. admin:true raises a Windows UAC prompt and blocks unattended runs. Argument names are exactly those published by tools/list and are camelCase: targetPath, includeFiles, includeFolders, maxEntries, timeoutSeconds. There is no path, max_depth, timeout or snake_case variant, and no depth limit; the row budget is maxEntries.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| locate_wiztreeA | Find a WizTree executable using WIZTREE_PATH, PATH, and common install folders. |
| scan_pathA | Read-only directory scan: WizTree on Windows, metadata traversal on macOS. Both platforms return a scan handle by default; pass it as csvPath to analysis tools. |
| analyze_csvC | Summarize an existing WizTree CSV snapshot. |
| top_entriesC | List the largest files, folders, or all rows from a WizTree CSV snapshot. |
| list_snapshotsA | List WizTree CSV snapshots, newest first. Defaults to the configured export directory; pass snapshotDirectory to list somewhere else, such as the directory used with scan_path saveSnapshot. |
| drill_downB | List the direct children (files and folders) of a folder within a WizTree snapshot, sorted by size. |
| search_entriesB | Search a WizTree snapshot for paths matching a substring or glob (* and ?), sorted by size. Reports file bytes and folder container bytes separately: only the file total is reclaimable space. |
| old_large_filesC | Find large files not modified for a long time, sorted by size. |
| extension_summaryC | Aggregate file usage by extension from a WizTree CSV snapshot. |
| compare_csvC | Compare two WizTree CSV snapshots by path and report the largest changes. |
| get_treemapA | Return a treemap PNG saved in the export directory as an image. scan_path returns treemaps inline and deletes its temporary PNG. |
| cleanup_snapshotsA | Legacy explicit cleanup: delete older CSV/PNG files from the configured export directory. Disable with WIZTREE_MCP_DISABLE_CLEANUP=1. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes: scan_path creates snapshots, list_snapshots/cleanup_snapshots manage exports, and drill_down/search_entries/old_large_files target different query shapes. However, analyze_csv, extension_summary, and top_entries all summarize the same snapshot and could be confused at selection time, and get_treemap partially overlaps with scan_path's inline treemap behavior.
All names are snake_case, which is consistent, but the style is mixed between verb_noun (analyze_csv, search_entries, locate_wiztree) and bare noun phrases (extension_summary, top_entries, old_large_files). Readable overall, but there is no single predictable pattern an agent can rely on.
At 12 tools the surface is well-scoped: one locator, one scanner, and a focused set of snapshot analysis/query tools. Each tool maps to a distinct workflow step with little redundancy.
The lifecycle is well covered: locate the executable, scan and produce a snapshot, then analyze, drill down, search, compare, and manage exported files. Minor gaps exist around inspecting a single entry's details or managing snapshots beyond delete-older (e.g., explicit retention/selection), but agents can work around these.