Git Ingest MCP Server
GitHub repository structures and file content extraction for AI model context.
Data last scanned today · Reviewed today
Overview
This MCP server enables AI assistants to ingest and analyze remote GitHub repositories. It provides specialized tools for mapping out directory hierarchies and fetching the contents of specific project files, allowing developers to supply broader context to their models during coding tasks. The server operates by cloning requested repositories into temporary local directories. It includes functionality to generate visual, tree-like representations of file structures and perform targeted reads of individual code files, streamlining the process of feeding project source code into an LLM.
Our verdict
With a security score of 28/100, this server is currently high-risk. The repository has not seen a commit in 590 days and lacks an editorial security review, meaning it may not be suitable for sensitive or strictly managed environments. Users should proceed with caution, particularly as authentication and read-only protections have not been validated.
- Zero direct external dependencies reduces supply-chain surface
- Uses standard MIT licensing
- Provides clear documentation on repository ingestion tools
- High-risk due to lack of recent commits in 590 days
- Community-maintained without official vendor support
- Security controls for read-only access and authentication are unverified
Tools
| Tool | Description | Risk |
|---|---|---|
| github_directory_structure | Returns a tree-like representation of a repository's directory structure | low |
| github_read_important_files | Reads and returns the contents of specified files in a repository | low |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›What are the system requirements for running the server?
The server requires Python 3.8 or higher to operate.
›How does the server manage disk space when cloning repositories?
It uses a hash-based directory naming strategy for temporary clones and performs cleanup after processing to prevent file accumulation.
›Are there any directories that the server ignores when generating a tree?
Yes, the directory structure generation process automatically skips all .git directories.
›What tools does this server provide for repository analysis?
It provides two primary tools: github_directory_structure for viewing the file tree and github_read_important_files for retrieving the content of specific files.
Badge
Maintain this server? Add the live badge to your README.