MCP.so
ログイン
G

Gitingest MCP Server

@deadraid

基本情報

カテゴリ

その他

トランスポート

stdio

作者

deadraid

投稿者

Alex Hold

Gitingest MCP Server について

概要はまだありません

Gitingest MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "gitingest-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gitingest-mcp-server"
      ]
    }
  }
}

Gitingest MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Gitingest Mcp?

Gitingest Mcp is a Model Context Protocol (MCP) server that converts Git repositories—local or remote—into compact, prompt-ready text digests for large-language models. It exposes an ingest_repository tool over stdio, allowing any MCP‑aware editor or tool to request an up‑to‑date representation of a repository.

How to use Gitingest Mcp?

Install the server via npx -y gitingest-mcp-server and add a configuration snippet to your MCP client’s mcpServers object. Then call the ingest_repository tool with a repository URL, local path, or shorthand (e.g., user/repo), plus optional parameters like branch, exclude patterns, or size limits.

Key features of Gitingest Mcp

  • Works with GitHub, GitLab, Bitbucket, generic git, or a local path.
  • Supports shallow cloning, sparse checkout, and submodule recursion.
  • Honors both .gitignore and custom .gitingestignore files.
  • Powerful include/exclude glob patterns for filtering files.
  • Hard limits for file size, file count, total size, and token budget.
  • Built‑in retry and timeout logic for flaky networks.

Use cases of Gitingest Mcp

  • Converting a codebase into a digest for conversational code understanding.
  • Preparing a repository snapshot for LLM‑powered code review.
  • Feeding a condensed repository representation into a Retrieval‑Augmented Generation (RAG) pipeline.

よくある質問

1

What does the tool return?

It returns a single text document containing a summary (branch, commit, size, token count), a human‑readable directory tree, and the concatenated contents of every included file.

2

Which Git hosting services are supported?

GitHub, GitLab, Bitbucket, generic Git remotes, and local file paths are all supported. The server automatically detects the provider or lets you force one with the `source` parameter.

3

How do I filter which files are included?

You can use `.gitignore` and `.gitingestignore` files, plus additional `excludePatterns` and `includePatterns` globs. By default `.gitignore` is respected, and you can opt to include git‑ignored files via `includeGitignored`.

4

Are there any built‑in size or token limits?

Yes. You can set `maxFileSize`, `maxFiles` (default 1000), `maxTotalSize` (default 50 MiB), and `maxTokens` to trim the output. The server also enforces retry and timeout settings for network operations.

5

Can I access private repositories?

Yes. Pass an authentication token via the `token` parameter (e.g., a GitHub personal access token) to clone private repositories. The server uses it during the clone or fetch steps.

コメント

「その他」の他のコンテンツ