深层目录树 MCP 🌳
强大的模型上下文协议 (MCP) 实现,用于可视化和分析目录结构。为什么?因为现在您可以让 AI 助手高效地理解和导航您的项目结构,从而实现更智能的代码导航和项目组织洞察。
内置:
特征
深层目录树可视化
可配置的基于深度的树生成
基于智能模式的文件/目录排除
干净易读的树输出格式
实时目录结构更新
目标目录分析
演示:
快速入门
先决条件
Node.js (v18 或更高版本)
Smithery 安装
最简单的入门方法是使用Smithery :
手动安装
光标 IDE 设置
打开游标设置 → MCP → 添加新的 MCP 服务器
使用以下设置进行配置:
{ "deep-directory-tree": { "command": "npx", "args": ["-y", "@andredezzy/deep-directory-tree-mcp"] } }
Claude 桌面设置
将以下内容添加到您的 MCP 配置中:
用法
AI助手常用命令:
“显示目录结构”
“可视化深度达 4 的项目树”
“显示不包括测试目录的文件”
发展
先决条件
Bun 运行时(必需)
开发手册安装
光标 IDE 设置
打开游标设置 → MCP → 添加新的 MCP 服务器
使用以下设置进行配置:
{ "deep-directory-tree": { "command": "node", "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js"] } }
Claude 桌面设置
将以下内容添加到您的 MCP 配置中:
贡献
分叉存储库
创建功能分支(
git checkout -b feature/amazing-feature)提交更改(
git commit -m 'Add feature')推送到分支(
git push origin feature/amazing-feature)打开拉取请求
支持
需要帮助?试试这些资源:
执照
MIT 许可证 - 详情请参阅LICENSE文件。
local-only server
The server can only run on the client's local machine because it depends on local resources.
深度目录树可视化工具,可通过 AI 驱动的分析功能高效地可视化复杂的目录结构。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityProvides tools for collecting and documenting code from directories.Last updated -47315MIT License
- Asecurity-licenseAqualityA 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 -1143
- Asecurity-licenseAqualityA 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 -15911MIT License
- Asecurity-licenseAqualityProvides 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 -14318MIT License