Skip to main content
Glama
Gitingest MCP Server

Gitingest MCP Server

by narumiruna

Самый продвинутый MCP-сервер

Реализация сервера Model Context Protocol (MCP), которая интегрируется с gitingest для превращения любого репозитория Git в простой текстовый дайджест его кодовой базы.

Функции

  • Простая интеграция с помощниками на основе искусственного интеллекта через протокол контекста модели

  • Возможности анализа и приема репозитория Git

  • Поддержка фильтрации файлов по размеру, шаблонам и ветвям

  • Возвращает полную информацию о репозитории, включая сводки, структуру файлов и содержимое.

Related MCP server: GitHub MCP Server

Использование

Параметры конфигурации

Добавьте следующую конфигурацию в настройки вашего AI-помощника, чтобы включить gitingest-mcp в качестве сервера MCP:

Установка PyPI

{
  "mcpServers": {
    "gitingestmcp": {
      "command": "uvx",
      "args": ["-U", "gitingestmcp"]
    }
  }
}

Установка GitHub

{
  "mcpServers": {
    "gitingestmcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/narumiruna/gitingest-mcp",
        "gitingestmcp"
      ]
    }
  }
}

Локальная установка

{
  "mcpServers": {
    "gitingestmcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/home/<user>/workspace/gitingest-mcp",
        "gitingestmcp"
      ]
    }
  }
}

API

Сервер предоставляет следующий инструмент:

ingest_git

Анализирует репозиторий Git и возвращает его содержимое в структурированном формате.

Параметры:

  • source : URL-адрес репозитория Git или путь к локальному каталогу

  • max_file_size (необязательно): максимально допустимый размер файла в байтах (по умолчанию: 10 МБ)

  • include_patterns (необязательно): Шаблон или набор шаблонов, указывающих файлы для включения (например, "*.md, src/")

  • exclude_patterns (необязательно): Шаблон или набор шаблонов, указывающих файлы для исключения

  • branch (необязательно): ветвь для клонирования и анализа (по умолчанию: «main»)

Возврат:

Строка, содержащая:

  1. Резюме репозитория

  2. Древовидная структура файлов

  3. Содержимое файлов репозитория

Ресурсы

Лицензия

Подробную информацию смотрите в файле ЛИЦЕНЗИЯ .

Available Tools

1 tool
ingest_gitC

This function analyzes a source (URL or local path), clones the corresponding repository (if applicable), and processes its files according to the specified query parameters. It can return a summary, a tree-like structure of the files, or the content of the files.

Inputs: source (required), branch, exclude_patterns, include_patterns, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'ingest_git' has a clearly defined purpose that is distinct by default.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency. The tool name 'ingest_git' follows a clear verb_noun pattern, and there are no other tools to create inconsistency.

    Tool Count2/5

    One tool is too few for the apparent scope of a Git ingestion server. The tool description suggests capabilities like cloning, processing files, and returning summaries, structures, or content, which could reasonably be split into multiple specialized tools (e.g., clone_repo, list_files, get_file_content). A single tool feels thin and may force agents to handle complex parameter parsing.

    Completeness3/5

    The tool covers basic ingestion and file access, but there are notable gaps for a Git domain. Missing operations include version control actions (e.g., commit, branch, diff), repository management (e.g., create, delete), and more granular file operations. Agents can work around this by using the single tool for all tasks, but it lacks lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers