Source Tree Generator
An MCP server for generating the directory file tree structure, supporting .gitignore rule filtering
rating : 2 points
downloads : 4.4K
What is the MCP Source Tree Server?
The MCP Source Tree Server is a tool for generating the file tree structure of a specified directory. It can parse the .gitignore rules in the project, automatically exclude hidden files, temporary files, and ignored items, helping you quickly understand the overall structure of the project.How to use the MCP Source Tree Server?
Simply specify a root directory, and the server will recursively generate the file tree structure under this directory and return it in JSON format.Applicable scenarios
It is suitable for developers who need to quickly view the project structure, such as confirming the directory layout or checking the code file distribution in collaborative development.Main features
Generate file tree structure
Recursively generate a file tree based on the specified directory, showing all files and subdirectories.
.gitignore support
Automatically filter out files and directories that do not need to be displayed according to the .gitignore rules.
JSON format output
Return the file tree in a structured JSON format for easy integration into other systems.
Advantages
Quickly view the project structure
Automatically follow the .gitignore rules
Support projects in multiple programming languages
Limitations
Require the Python environment to be installed
Only support local file system paths
How to use
Install dependencies
Ensure that Python 3.10 or a higher version is installed, and install the uv tool via curl.
Start the MCP server
Run the uv tool and specify the path to the server script.
Configure the Claude client
Edit the claude_desktop_config.json file and add the MCP server configuration.
Usage examples
View the structure of the project root directory
Send an instruction to Claude to get the file tree of the project root directory.
Analyze the structure of a specific directory
Request the sub - structure of a specific directory, such as the /src sub - directory.
Frequently Asked Questions
Which operating systems does the MCP Source Tree Server support?
Why do some files not appear in the generated file tree?
How to modify the default directory path?
Related resources
Official documentation
Official documentation for the MCP Source Tree Server
GitHub repository
Source code and sample code
Installation tutorial video
How to install and configure the MCP server

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.5K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
18.0K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
49.4K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
48.8K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.0K
5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
70.1K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.8K
4.5 points

