Provides a tree-like representation of a Git repository's directory structure and reads specified file contents.
This Node.js tool, leveraging the Model Context Protocol (MCP), enables users to browse Git repositories programmatically. It exposes two key functionalities: generating an ASCII tree representation of a repository's directory structure and retrieving the contents of specified files. The tool is designed for efficiency by reusing cloned repositories and employs robust error handling. It integrates with MCP via stdio, allowing seamless interaction with MCP clients. Requires Node.js 14.x or higher and Git to be installed.