一个强大的模型上下文协议(MCP)实现,用于可视化和分析目录结构。借助它,AI 助手能高效理解并导航你的项目结构,进而实现更智能的代码导航和项目组织洞察。
DEMO:
使用Smithery最简单的方式:
npx -y @smithery/cli install @andredezzy/deep-directory-tree-mcp --client cursor
{
"deep-directory-tree": {
"command": "npx",
"args": ["-y", "@andredezzy/deep-directory-tree-mcp"]
}
}
将以下内容添加到你的 MCP 配置中:
{
"mcpServers": {
"deep-directory-tree": {
"command": "npx",
"args": ["-y", "@andredezzy/deep-directory-tree-mcp"]
}
}
}
AI 助手常用命令:
# 克隆仓库
git clone https://github.com/andredezzy/deep-directory-tree-mcp.git
cd deep-directory-tree-mcp
# 安装依赖
bun install
# 构建项目
bun run build
{
"deep-directory-tree": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js"]
}
}
将以下内容添加到你的 MCP 配置中:
{
"mcpServers": {
"deep-directory-tree": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/bin/deep-directory-tree.js"]
}
}
}
git checkout -b feature/new-feature
如果你发现这个项目对你有帮助,请考虑支持它。你可以通过以下方式提供支持:
感谢你的支持!