A
securityA
licenseA
qualityProvides tools for collecting and documenting code from directories.
Last updated -
4
81
12
TypeScript
MIT License
这是一个在指定目录下生成文件树的 MCP 服务器。根据以 开头的目录排除特定的文件或目录.
或.gitignore
中列出的条件。与 Claude 集成可以让 Claude 快速查看项目结构并帮助他确定要编辑的文件。
.gitignore
条件排除文件/目录将以下内容添加到claude_desktop_config.json
:
请指定 src 上一级的根目录。当考虑.gitignore
时,假定.gitignore
直接存在于根目录下。 /Users/xxx/GitHub/xxx/ のソースツリーを確認してください
,它将会起作用。
其回应如下:
这使得 Claude 能够快速了解项目结构。
以 开头的目录.
将被自动排除。与.gitignore
中的模式匹配的文件和目录将自动从树中排除。例如,以下.gitignore
配置是有效的:
local-only server
The server can only run on the client's local machine because it depends on local resources.
从指定目录的“src”文件夹生成 JSON 文件树,遵守“.gitignore”规则,以便在 Claude 中快速审查项目结构。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/owayo/mcp-src-tree'
If you have feedback or need assistance with the MCP directory API, please join our Discord server