deep-directory-tree
Powerful Model Context Protocol (MCP) implementation for visualizing directory structures with real-time updates, configurable depth, and smart exclusions for efficient project navigation
claude mcp add --transport stdio andredezzy-deep-directory-tree-mcp npx -y @andredezzy/deep-directory-tree-mcp
How to use
Deep Directory Tree MCP visualizes and analyzes your project directory structure so AI assistants can understand and navigate it more effectively. It supports configurable depth-based tree generation, exclusion patterns for files and folders, and a clean, readable tree output that can be fed into conversations with Claude or other MCP-enabled tools. Use the MCP to request directory structures, visualize project layouts, or perform targeted analyses (e.g., excluding test folders or focusing on a specific subtree). The server is designed to work with common MCP tools like Cursor and Claude Desktop, enabling real-time or on-demand structure insights during your workflows.
How to install
Prerequisites:
- Node.js v18 or higher
- npm or npx available in your environment
Installation (Smithery):
npx -y @smithery/cli install @andredezzy/deep-directory-tree-mcp --client cursor
Manual installation (Node.js runtime):
# Install the MCP server as a local dependency (example usage with npx)
npx -y @andredezzy/deep-directory-tree-mcp
If you prefer to run directly from your project, you can install the package locally and run the server script as documented by the package:
npm install --save-dev @andredezzy/deep-directory-tree-mcp
# Then run the MCP server according to the package's bin/script entry point
Configuration for MCP clients (examples):
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": ["-y", "@andredezzy/deep-directory-tree-mcp"]
}
}
}
Additional notes
Tips:
- If you customize theCLI or package path, ensure ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js usage is aligned with your environment as shown in advanced Cursor/Claude setups.
- For performance, configure a reasonable depth and exclusion patterns to keep the tree output readable and fast.
- Check the repository wiki or issues for any environment-specific notes or recent changes to the MCP integration.
- If using Bun for development, you can follow the project-specific Bun setup steps; otherwise Node.js is sufficient for runtime MCP usage.
Related MCP Servers
mcp
🤖 A Model Context Protocol (MCP) library for use with Agentic chat bots
CanvasMCPClient
Canvas MCP Client is an open-source, self-hostable dashboard application built around an infinite, zoomable, and pannable canvas. It provides a unified interface for interacting with multiple MCP (Model Context Protocol) servers through a flexible, widget-based system.
mcp -amazon
🛍📦 Unofficial Amazon Model Context Protocol Server (MCP) - Search products and purchase directly from Claude AI! ✨
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
obsidian
MCP server for Obsidian vault management - enables Claude and other AI assistants to read, write, search, and organize your notes
driflyte
The Driflyte MCP Server exposes tools that allow AI assistants to query and retrieve topic-specific knowledge from recursively crawled and indexed web pages.