mcp-git-ingest
MCP server that clones Git repositories to show directory trees and read specific files.
Install
See the repository for setupWhat it does
This MCP server exposes two tools for inspecting remote Git repositories. The directory structure tool returns a tree-style listing of a cloned repository, and the file reader returns the contents of named files, so an assistant can examine a codebase without manual browsing. It is aimed at developers and agent workflows that need to understand repository layout or pull in source files for analysis.
It runs as a stdio MCP server, typically launched with uvx from the project's Git URL and registered in an MCP client configuration such as the JSON snippet shown in the README. Repositories are cloned into a temporary directory, and the URL must use https://, ssh://, or scp-style syntax; file:// and local paths are rejected. Hosts can be restricted with an environment variable.
- Path checks block absolute paths, parent traversal, and symlink escapes outside the clone
- Access to the .git directory is refused
- Individual files are capped at 512 KiB unless overridden by an environment variable
The tool has no broader hosting or collaboration features and depends on network access to clone repositories.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 316
- Last push
- Nov 10, 2026
- License
- MIT
- Archived
- No
Other GitHub MCP servers
Compare serversFAQ
- What license does mcp-git-ingest use?
- MIT
- Does mcp-git-ingest run locally or remotely?
- It runs locally.
- Is mcp-git-ingest an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/mcp-git-ingest"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.