deep-directory-tree-mcp
深层目录树 MCP 🌳
强大的模型上下文协议 (MCP) 实现,用于可视化和分析目录结构。为什么?因为现在您可以让 AI 助手高效地理解和导航您的项目结构,从而实现更智能的代码导航和项目组织洞察。
内置:
特征
深层目录树可视化
可配置的基于深度的树生成
基于智能模式的文件/目录排除
干净易读的树输出格式
实时目录结构更新
目标目录分析
演示:
Related MCP server: GitViz MCP
快速入门
先决条件
Node.js (v18 或更高版本)
Smithery 安装
最简单的入门方法是使用Smithery :
npx -y @smithery/cli install @andredezzy/deep-directory-tree-mcp --client cursor手动安装
光标 IDE 设置
打开游标设置 → MCP → 添加新的 MCP 服务器
使用以下设置进行配置:
{ "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 的项目树”
“显示不包括测试目录的文件”
发展
先决条件
Bun 运行时(必需)
# 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 设置
打开游标设置 → MCP → 添加新的 MCP 服务器
使用以下设置进行配置:
{ "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"]
}
}
}贡献
分叉存储库
创建功能分支(
git checkout -b feature/amazing-feature)提交更改(
git commit -m 'Add feature')推送到分支(
git push origin feature/amazing-feature)打开拉取请求
支持
需要帮助?试试这些资源:
执照
MIT 许可证 - 详情请参阅LICENSE文件。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables 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.134
- AlicenseNot gradedqualityCmaintenanceVisualizes 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.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides 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.11MIT
- AlicenseBqualityCmaintenanceEnables token-efficient semantic search and analysis over any directory of files through hybrid search, directory overview, structural analysis, and dependency graphs.14MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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