gitingest-mcp is a Model Context Protocol (MCP) server implementation designed to integrate with gitingest, converting any Git repository into a simple text summary of the codebase. It integrates easily with AI assistants through the MCP protocol, providing Git repository analysis and ingestion capabilities.
Main capabilities:
- Supports filtering by file size, patterns (include/exclude), and branch.
- Returns comprehensive repository information, including a summary, file tree structure, and file contents.
Usage: Add the configuration in the AI assistant's settings to enable gitingest-mcp as an MCP server. The server provides a tool for analyzing Git repositories and returning their contents in a structured format. The tool's parameters include:
- source: The URL of the Git repository or the local directory path.
- max_file_size (optional): The maximum allowed file size (in bytes), default 10MB.
- include_patterns (optional): Specifies the file patterns to include, for example "*.md, src/".
- exclude_patterns (optional): Specifies the file patterns to exclude.
- branch (optional): The branch to clone and analyze, default "main".
The return result is a string containing:
- Repository summary
- File tree structure
- Contents of the repository files
Use cases: Suitable for scenarios that require quickly converting Git repository contents into a text summary so that an AI assistant can analyze, understand, or process it.
Limitations: Information such as specific configuration details, installation steps, platform compatibility, and pricing models is not currently provided in the official materials.