Labsco
MCP SERVER

Deep Directory Tree MCP

by andredezzy

Hand the model the whole nested tree under one path in a single call, instead of walking a project one directory listing at a time.

Local Filesystem AccessVerified
Summary
One call in place of a directory listing at every level.

get_deep_directory_tree takes a path and an options argument and returns the structure underneath, which is the shape a model needs while it is orienting in an unfamiliar repository. File contents are not part of it — the answer is structure, and reading anything in that tree is another tool's job.

What it is

A single-tool file server that walks a path and returns the structure below it.

What you get
  • Get the full nested tree under one path from a single call.
  • Shape what that walk returns through the options argument.
Requirements

The path is read on the machine the server runs on, so the walk reaches whatever that account can read; nothing else needs configuring.

Setup effort

One command — npx -y @andredezzy/deep-directory-tree-mcp