This server provides functionality for visualizing and analyzing directory structures with customizable options:
- Get deep directory tree: Retrieve the directory tree structure for a specified path.
- Configurable depth: Customize the maximum depth of the directory tree (default: 3).
- Pattern-based exclusion: Exclude specific directories or files using patterns (default exclusions: node_modules, .git, .turbo, dist, .next).
- Absolute path support: Works best with absolute paths for accurate tree generation.
Required runtime for development of the MCP server
Required runtime environment for the MCP server, used to analyze and visualize directory structures
Deep Directory Tree MCP 🌳
A powerful Model Context Protocol (MCP) implementation for visualizing and analyzing directory structures. Why? Now you can let AI assistants understand and navigate your project structure efficiently, enabling smarter code navigation and project organization insights.
Built with:
Features
- Deep directory tree visualization
- Configurable depth-based tree generation
- Smart pattern-based file/directory exclusion
- Clean and readable tree output format
- Real-time directory structure updates
- Targeted directory analysis
DEMO:
Quick Start
Prerequisites
- Node.js (v18 or higher)
Smithery Installation
The easiest way to get started is using Smithery:
Manual Installation
Cursor IDE Setup
- Open Cursor Settings → MCP → Add new MCP server
- Configure with these settings:
Claude Desktop Setup
Add the following to your MCP configuration:
Usage
Common commands for AI assistants:
- "Show me the directory structure"
- "Visualize project tree up to depth 4"
- "Show files excluding test directories"
Development
Prerequisites
- Bun Runtime (required)
Development Manual Installation
Cursor IDE Setup
- Open Cursor Settings → MCP → Add new MCP server
- Configure with these settings:
Claude Desktop Setup
Add the following to your MCP configuration:
Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature
) - Commit changes (
git commit -m 'Add feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Support
Need help? Try these resources:
License
MIT License - see LICENSE file for details.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Deep directory tree visualization tool enabling efficient visualization of complex directory structures with AI-powered analysis capabilities.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides tools for collecting and documenting code from directories.Last updated 7 months ago456514TypeScriptMIT License
- AsecurityFlicenseAqualityA TypeScript-based server that visualizes project directory structures in Markdown format, automatically documenting file contents with syntax highlighting and supporting customizable exclusion patterns.Last updated 7 months ago12482TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) implementation that provides deep filesystem tree visualization and manipulation capabilities. This tool enables efficient navigation and management of complex directory structures, enhancing development workflows with AI-powered file system operations. Compatible withLast updated 4 months ago1226TypeScriptMIT License
- AsecurityAlicenseAqualityProvides code context and analysis for AI assistants by extracting directory structures and code symbols using WebAssembly Tree-sitter parsers with zero native dependencies.Last updated 2 months ago12656JavaScriptMIT License