tree
How to use it
tree is exposed by the MCP Filesystem Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the tree tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Filesystem Server
$
docker run -i --rm ghcr.io/mark3labs/mcp-filesystem-server:latest /path/to/allowed/directory