drio
Open app

MCP Git Ingest

Source

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Catalog onlyCatalog onlySTDIO

Overview

MCP Git Ingest is a Model Context Protocol (MCP) server designed to read GitHub repository structures and important files, facilitating better understanding and analysis of codebases.

To use MCP Git Ingest, configure it with the provided JSON structure and utilize the mcp-client-cli to read repository details by executing commands that fetch directory structures and read important files.

  • Reads and analyzes GitHub repository structures. - Fetches important files for detailed examination. - Provides a tree-like representation of directory structures. - Error handling and cleanup for temporary files.
  1. Analyzing the structure of large codebases.
  2. Understanding dependencies and file organization in repositories.
  3. Extracting key information from important files like README.md and configuration files.

Add to your AI client

Use these steps to connect MCP Git Ingest in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-git-ingest-adhikasp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-git-ingest-adhikasp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-git-ingest-adhikasp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-git-ingest-adhikasp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-git-ingest-adhikasp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-git-ingest-adhikasp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-git-ingest-adhikasp"
      ]
    }
  }
}

FAQ

What programming language is MCP Git Ingest written in?

MCP Git Ingest is written in Python.

Is there a specific version of Python required?

Yes, it requires Python 3.8 or higher.

How does MCP Git Ingest handle errors?

It uses try-except blocks for error handling and ensures temporary directories are cleaned up.