Gitingest MCP Server
Servidor MCP de Gitingest
Una implementación de servidor de Protocolo de contexto de modelo (MCP) que se integra con gitingest para convertir cualquier repositorio Git en un simple resumen de texto de su código base.
Características
Fácil integración con asistentes de IA a través del Protocolo de Contexto de Modelo
Capacidades de análisis e ingesta del repositorio Git
Soporte para filtrar archivos por tamaño, patrones y ramas
Devuelve información completa del repositorio, incluidos resúmenes, estructura de archivos y contenido.
Related MCP server: GitHub MCP Server
Uso
Opciones de configuración
Agregue la siguiente configuración a la configuración de su asistente de IA para habilitar gitingest-mcp como servidor MCP:
Instalación de PyPI
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": ["-U", "gitingestmcp"]
}
}
}Instalación de GitHub
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/narumiruna/gitingest-mcp",
"gitingestmcp"
]
}
}
}Instalación local
{
"mcpServers": {
"gitingestmcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/home/<user>/workspace/gitingest-mcp",
"gitingestmcp"
]
}
}
}API
El servidor proporciona la siguiente herramienta:
ingest_git
Analiza un repositorio Git y devuelve su contenido en un formato estructurado.
Parámetros:
source: La URL de un repositorio Git o una ruta de directorio localmax_file_size(opcional): tamaño máximo de archivo permitido en bytes (predeterminado: 10 MB)include_patterns(opcional): Patrón o conjunto de patrones que especifican los archivos a incluir (por ejemplo, "*.md, src/")exclude_patterns(opcional): Patrón o conjunto de patrones que especifican los archivos a excluirbranch(opcional): La rama a clonar y analizar (predeterminado: "principal")
Devoluciones:
Una cadena que contiene:
Resumen del repositorio
Estructura de los archivos en forma de árbol
Contenido de los archivos del repositorio
Recursos
Sitio web de gitingest: https://gitingest.com/
Repositorio de gitingest: https://github.com/cyclotruc/gitingest
Licencia
Consulte el archivo LICENCIA para obtener más detalles.
Available Tools
1 toolingest_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.
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | The branch to clone and ingest. | main |
| exclude_patterns | No | Pattern or set of patterns specifying which files to exclude, e.q. '*.md, src/' | |
| include_patterns | No | Pattern or set of patterns specifying which files to include, e.q. '*.md, src/' | |
| max_file_size | No | Maximum allowed file size for file ingestion.Files larger than this size are ignored, by default 10*1024*1024 (10 MB). | |
| source | Yes | The source to analyze, which can be a URL (for a Git repository) or a local directory path. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions cloning and processing behaviors but omits critical details: whether it requires authentication, rate limits, side effects (e.g., local storage), error handling, or output format specifics. For a tool with potential external operations, this is insufficient disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately concise with three sentences that efficiently outline the tool's flow: analyze source, clone if needed, process with parameters. It's front-loaded with core functionality, though slightly vague in the last sentence about return types. No wasted words, but could be tighter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and a tool that performs complex operations (cloning, processing), the description is incomplete. It lacks details on authentication, rate limits, output formats, error cases, and how return types (summary, tree, content) are selected. For a 5-parameter tool with external dependencies, this leaves significant gaps for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, providing detailed parameter documentation. The description adds minimal value beyond the schema, only implying that parameters control 'query parameters' for processing. It doesn't explain interactions between parameters (e.g., patterns vs. size limits) or usage nuances, meeting the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: analyzing a source, cloning repositories, and processing files with specific query parameters. It specifies the verb ('analyzes', 'clones', 'processes') and resource ('source', 'repository', 'files'), but lacks differentiation from siblings since none exist. It's not tautological but could be more specific about the 'analysis' aspect.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or exclusions. It mentions query parameters but doesn't explain scenarios for choosing summary, tree structure, or file content outputs. With no sibling tools, this is less critical, but overall usage context is minimal.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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.
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.
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.
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc3136MIT
- MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing your repositories on Forgejo/Gitea server.66Mozilla Public 2.0
- AGPL 3.0
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/narumiruna/gitingest-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server