The mcp-git-ingest
server is a tool for programmatically exploring and analyzing GitHub repositories. With this server, you can:
- Get Repository Structure: Clone a GitHub repository and retrieve its complete directory structure in a tree format
- Read File Contents: Access and read the contents of specified or important files within a repository
- Error Handling: Benefit from robust error handling for repository cloning and file reading operations
- Performance Optimization: Utilize hash-based temporary directory naming and existing repository checks for better performance
The server returns structured representations of file paths and directory contents for programmatic analysis and can be configured and run using mcp-client-cli
.
MCP Git Ingest
A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
Inspired by gitingest.
Configuration
Usage
Using mcp-client-cli:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Helps AI read GitHub repository structure and important files. Want to quickly understand what a repo is about? Prompt it with "read https://github.com/adhikasp/mcp-git-ingest and determine how the code technically works".
Related MCP Servers
- -securityAlicense-qualityA server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.Last updated -5JavaScriptMIT License
- -securityFlicense-qualityProvides tools for interacting with GitHub's API through the MCP protocol, allowing users to create repositories, push content, and retrieve user information.Last updated -JavaScript
- AsecurityAlicenseAqualityEnables AI models to access GitHub repository contents as context, with features to fetch entire repositories, specific file contents, and repository structures for use in AI interactions.Last updated -32JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables analyzing and querying GitHub repositories through the GitHub Chat API, allowing users to index repositories and ask questions about their code, architecture and tech stack.Last updated -253PythonMIT License