Skip to main content
Glama
sahmed730

WizTree MCP Server

by sahmed730

🌟 Overview

The WizTree MCP Server seamlessly bridges your AI assistant (Claude, Cursor, Antigravity, etc.) with WizTree, allowing your AI to instantly scan your hard drives, identify massive space hogs, and execute intelligent cleanups.

Turn your AI into a highly contextual storage manager!

Related MCP server: WizTree MCP

✨ Features

  • ⚑ Lightning Fast: Leverages WizTree's MFT (Master File Table) reading to scan drives in seconds.

  • 🧠 AI-Powered Workflows: Ask your AI: "What's eating up space on my C: drive?" or "Analyze my Downloads folder."

  • πŸ›‘οΈ Built-in Guardrails: Comes with a comprehensive /skills directory to teach your AI strict deletion policies and safe handling of files.

  • πŸ’» Developer Focused: Perfect for finding hidden node_modules, stray __pycache__ folders, or giant dangling Docker images.


🧠 AI Agent Skills

Unlike basic MCP servers that just dump raw data, this repository includes a dedicated /skills directory and a SYSTEM_PROMPT.md. These Markdown files teach your AI client how to use the tools effectively and safely.

Available skills include:

  • πŸ›‘οΈ Deletion Policy: Enforces a strict multi-step workflow before any files are deleted.

  • πŸ—‘οΈ Safe Delete: Defines exactly what is safe to delete (e.g., caches) and what should never be touched (e.g., system files).

  • πŸ‘¨β€πŸ’» Developer Cleanup: Gives the AI deep knowledge of where dev tools (Docker, npm, pip) hide their massive cache files.


πŸš€ Installation

1. Prerequisites

  • Windows OS

  • WizTree (installed at C:\Program Files\WizTree\WizTree64.exe)

  • Python 3.10+

2. Clone the Repository

git clone https://github.com/sahmed730/Wiztree-Mcp.git
cd Wiztree-Mcp

3. Setup Virtual Environment

python -m venv .venv
.\.venv\Scripts\Activate
pip install -r requirements.txt

βš™οΈ Configuration

Add the server to your MCP client configuration (e.g., mcp_config.json for Antigravity, or claude_desktop_config.json for Claude):

{
  "mcpServers": {
    "wiztree": {
      "command": "C:\\path\\to\\Wiztree-Mcp\\.venv\\Scripts\\python.exe",
      "args": [
        "C:\\path\\to\\Wiztree-Mcp\\server.py"
      ]
    }
  }
}

⚠️ Note: Replace C:\\path\\to\\ with the exact absolute path to your cloned directory.


πŸ€– Example Prompts

Once connected, try asking your AI:

  • πŸ’¬ "Can you find the 15 largest files on my C: drive?"

  • πŸ’¬ "My SSD is full. Find the largest folders in my user profile, skipping my personal photos."

  • πŸ’¬ "Do a developer cleanup on my machine to free up at least 20 GB."


Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search local files on Windows using the Everything search engine, supporting basic and complex file searches with filters like date, size, media type, and document type.
    4
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Read-only MCP server that wraps WizTree's CSV export and adds disk-usage analysis tools, enabling file system scanning and analysis via natural language.
    6
    3
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to clean disk space by scanning and removing temporary files, caches, and duplicates through natural language commands via MCP protocol.
    1
    -