MCP.so
登录
G

Gitingest Mcp

@deadraid

关于 Gitingest Mcp

暂无概览

基本信息

分类

其他

传输方式

stdio

发布者

deadraid

提交者

Alex Hold

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from Gitingest Mcp

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.

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.

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.

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.

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.

评论

其他 分类下的更多 MCP 服务器