Skip to main content
Glama
andredezzy
by andredezzy

深层目录树 MCP 🌳

锻造工具调用 NPM 版本 NPM 下载

强大的模型上下文协议 (MCP) 实现,用于可视化和分析目录结构。为什么?因为现在您可以让 AI 助手高效地理解和导航您的项目结构,从而实现更智能的代码导航和项目组织洞察。

内置:

特征

  • 深层目录树可视化

  • 可配置的基于深度的树生成

  • 基于智能模式的文件/目录排除

  • 干净易读的树输出格式

  • 实时目录结构更新

  • 目标目录分析

演示:

游标 + 深层目录树 MCP 演示

Related MCP server: GitViz MCP

快速入门

先决条件

Smithery 安装

最简单的入门方法是使用Smithery

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

手动安装

光标 IDE 设置

  1. 打开游标设置 → MCP → 添加新的 MCP 服务器

  2. 使用以下设置进行配置:

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

Claude 桌面设置

将以下内容添加到您的 MCP 配置中:

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

用法

AI助手常用命令:

  • “显示目录结构”

  • “可视化深度达 4 的项目树”

  • “显示不包括测试目录的文件”

发展

先决条件

# 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

开发手册安装

光标 IDE 设置

  1. 打开游标设置 → MCP → 添加新的 MCP 服务器

  2. 使用以下设置进行配置:

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

Claude 桌面设置

将以下内容添加到您的 MCP 配置中:

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

贡献

  1. 分叉存储库

  2. 创建功能分支( git checkout -b feature/amazing-feature

  3. 提交更改( git commit -m 'Add feature'

  4. 推送到分支( git push origin feature/amazing-feature

  5. 打开拉取请求

支持

需要帮助?试试这些资源:

执照

MIT 许可证 - 详情请参阅LICENSE文件。

Install Server
A
license - permissive license
C
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables comprehensive directory analysis and file management operations including project structure exploration, intelligent file search, full CRUD operations on files and directories, batch operations with rollback capabilities, and Git integration.
    13
    4
  • A
    license
    Not graded
    quality
    C
    maintenance
    Visualizes Git history and commit logs with before/after animations for operations like merge, rebase, and cherry-pick. Integrates with AI assistants to provide Git analysis tools and smart command suggestions through natural language.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides LLM-optimized tools for advanced code analysis, repository complexity evaluation, and call graph generation. It enables users to visualize directory structures, detect code patterns, and build semantic context with significant token savings.
    11
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables token-efficient semantic search and analysis over any directory of files through hybrid search, directory overview, structural analysis, and dependency graphs.
    14
    MIT

View all related MCP servers

Related MCP Connectors

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

  • Give your AI agent a persistent map of your project's structure, dependencies, and bugs.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

View all MCP Connectors

Latest Blog Posts

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