Skip to main content
Glama

deep-directory-tree-mcp

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:

Cursor + Deep Directory Tree MCP Demo

Quick Start

Prerequisites

Smithery Installation

The easiest way to get started is using Smithery:

npx -y @smithery/cli install @andredezzy/deep-directory-tree-mcp --client cursor

Manual Installation

Cursor IDE Setup
  1. Open Cursor Settings → MCP → Add new MCP server
  2. Configure with these settings:
    { "deep-directory-tree": { "command": "npx", "args": ["-y", "@andredezzy/deep-directory-tree-mcp"] } }
Claude Desktop Setup

Add the following to your MCP configuration:

{ "mcpServers": { "deep-directory-tree": { "command": "npx", "args": ["-y", "@andredezzy/deep-directory-tree-mcp"] } } }

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

# Clone the repository git clone https://github.com/andredezzy/deep-directory-tree-mcp.git cd deep-directory-tree-mcp # Install dependencies bun install # Build the project bun run build

Development Manual Installation

Cursor IDE Setup
  1. Open Cursor Settings → MCP → Add new MCP server
  2. Configure with these settings:
    { "deep-directory-tree": { "command": "node", "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js"] } }
Claude Desktop Setup

Add the following to your MCP configuration:

{ "mcpServers": { "deep-directory-tree": { "command": "node", "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js"] } } }

Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

Need help? Try these resources:

License

MIT License - see LICENSE file for details.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

  1. Features
    1. Quick Start
      1. Prerequisites
      2. Smithery Installation
      3. Manual Installation
    2. Usage
      1. Development
        1. Prerequisites
        2. Development Manual Installation
      2. Contributing
        1. Support
          1. License

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Provides tools for collecting and documenting code from directories.
              Last updated 7 months ago
              4
              565
              14
              TypeScript
              MIT License
              • Apple
              • Linux
            • A
              security
              F
              license
              A
              quality
              A 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 ago
              1
              248
              2
              TypeScript
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A 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 with
              Last updated 4 months ago
              1
              22
              6
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              Provides 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 ago
              1
              265
              6
              JavaScript
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/andredezzy/deep-directory-tree-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server