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.

评论

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