Returns a project directory tree to the agent with configurable depth and smart exclusions, so it can understand and navigate the project layout.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add deep-directory-tree -- npx -y @andredezzy/deep-directory-tree-mcp~/.codex/config.toml
[mcp_servers.deep-directory-tree]
command = "npx"
args = ["-y", "@andredezzy/deep-directory-tree-mcp"]
# codex mcp add deep-directory-tree -- npx -y @andredezzy/deep-directory-tree-mcp~/.cursor/mcp.json
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": [
"-y",
"@andredezzy/deep-directory-tree-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"deep-directory-tree": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@andredezzy/deep-directory-tree-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": [
"-y",
"@andredezzy/deep-directory-tree-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": [
"-y",
"@andredezzy/deep-directory-tree-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": [
"-y",
"@andredezzy/deep-directory-tree-mcp"
]
}
}
}