Smart Tree
A directory-visualization command-line tool, written in Rust, built for AI context: compressed output for feeding into a model, semantic search, symbol-aware editing, and a scanner for supply-chain attacks on MCP integrations.
Smart Tree shows a directory as a tree, like the classic Unix tool it replaces, but adds features aimed at AI-assisted development: a compression format for representing a large tree compactly enough to fit in a model's context, an MCP server exposing more than 30 tools, and AST-aware code editing. An interactive menu gives access to a spicy terminal-UI file browser with fuzzy search, a terminal interface with AI context, a browser-based file explorer, and an HTTP daemon combining the MCP server, an LLM proxy and its custodian component.
A security scanner is intended to detect supply-chain attacks targeting AI coding assistants, inspecting certificates for their subject, issuer, serial number, fingerprint, validity dates and alternative names without verifying chain trust or revocation, and reporting malformed or skipped files explicitly; a cleanup command scans for and removes malicious AI integrations it finds. It installs through a one-line shell script for Linux, macOS or WSL, offering a precompiled or compiled build, or through Cargo now that it is published on crates.io.