mcp-git-ingest

MCP server that clones Git repositories to show directory trees and read specific files.

Local

Install

See the repository for setup

What 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 servers
  • Turn docs, repos, and media into AI-ready knowledge assets and skills.

    • Confluence
    • Discord
    • GitHub
    Updated
  • AI-powered daily news radar that collects, filters, and summarizes feeds into briefings

    • Apify
    • Discord
    • GitHub
    Updated
  • Connect AI coding assistants to live GitHub documentation via MCP.

    • GitHub
    Updated
  • One fast workspace for email, chat, docs, tasks, calls, CRM, and agents

    • GitHub
    • WhatsApp
    Updated
  • Search your files and connected tools with cited answers

    • Discord
    • GitHub
    • Obsidian
    Updated
  • Permission-aware enterprise search context layer for AI agents and teams

    • Confluence
    • GitHub
    • Jira
    Updated

FAQ

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.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<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>
See badge options