Gitingest MCP Server

Integrations

  • Analyzes Git repositories and transforms them into structured text digests, supporting filtering by file size, patterns, and branches to help AI assistants understand codebases.

  • Enables ingestion of GitHub repositories, extracting repository summaries, file structures, and content to provide comprehensive codebase insights.

  • Supports installation through PyPI, allowing the server to be easily integrated with AI assistants via package management.

Gitingest MCP サーバー

gitingestと統合して、任意の Git リポジトリをそのコードベースの単純なテキスト ダイジェストに変換する Model Context Protocol (MCP) サーバー実装。

特徴

  • モデルコンテキストプロトコルによるAIアシスタントとの簡単な統合
  • Gitリポジトリの分析と取り込み機能
  • サイズ、パターン、ブランチによるファイルのフィルタリングをサポート
  • 概要、ファイル構造、コンテンツを含む包括的なリポジトリ情報を返します

使用法

設定オプション

gitingest-mcp を MCP サーバーとして有効にするには、AI アシスタントの設定に次の構成を追加します。

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 : GitリポジトリのURLまたはローカルディレクトリのパス
  • max_file_size (オプション): 最大許容ファイルサイズ(バイト単位)(デフォルト: 10MB)
  • include_patterns (オプション): 含めるファイルを指定するパターンまたはパターンのセット (例: "*.md, src/")
  • exclude_patterns (オプション): 除外するファイルを指定するパターンまたはパターンのセット
  • branch (オプション):クローンして分析するブランチ(デフォルト: "main")
戻り値:

次の内容を含む文字列:

  1. リポジトリの概要
  2. ファイルのツリー構造
  3. リポジトリファイルの内容

リソース

ライセンス

詳細については、 LICENSEファイルを参照してください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Gitingest MCP サーバー

  1. 特徴
    1. 使用法
      1. 設定オプション
    2. API
      1. ingest_git
    3. リソース
      1. ライセンス

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          MCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.
          Last updated -
          18
          4
          1
          TypeScript
        • A
          security
          F
          license
          A
          quality
          MCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.
          Last updated -
          6
          Python

        View all related MCP servers

        ID: w4486fnhds