Gitingest MCP Server
A Model Context Protocol (MCP) server implementation that integrates with gitingest for turning any Git repository into a simple text digest of its codebase.
Features
- Easy integration with AI assistants through the Model Context Protocol
- Git repository analysis and ingestion capabilities
- Support for filtering files by size, patterns, and branches
- Returns comprehensive repository information including summaries, file structure, and content
Usage
Configuration Options
Add the following configuration to your AI assistant's settings to enable gitingest-mcp as an MCP server:
PyPI Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": ["gitingestmcp@latest"]
}
}
}
GitHub Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/narumiruna/gitingest-mcp",
"gitingestmcp"
]
}
}
}
Local Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/home/<user>/workspace/gitingest-mcp",
"gitingestmcp"
]
}
}
}
API
The server provides the following tool:
ingest_git
Analyzes a Git repository and returns its content in a structured format.
Parameters:
source: The URL of a Git repository or a local directory pathmax_file_size(optional): Maximum allowed file size in bytes (default: 10MB)include_patterns(optional): Pattern or set of patterns specifying files to include (e.g., "*.md, src/")exclude_patterns(optional): Pattern or set of patterns specifying files to excludebranch(optional): The branch to clone and analyze (default: "main")
Returns:
A string containing:
- Repository summary
- Tree-like structure of the files
- Content of the repository files
Resources
- gitingest website: https://gitingest.com/
- gitingest repository: https://github.com/cyclotruc/gitingest
License
See the LICENSE file for details.
Metadata
Release files for iflow-mcp_narumiruna_gitingestmcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz | 4.6 kB | Without provenance | Details for iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl |
Total release size: 9.4 kB
Release files / iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz
| Download URL | iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12caa1c6992ba93e00ceb53f1469bb4296a7fd337b2e0a33b0284f50e7bfd47f
|
|
BLAKE2b-256 checksum How to use checksums |
20e771366b788fcc34143764e08aac962ba647d82fe0d4a5803dd4c26dd53f74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl
| Download URL | iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ddcfca2a38a2baf6e3072cc116300c0bd602656d83fd73c4f5244e4747d3dd2
|
|
BLAKE2b-256 checksum How to use checksums |
6cfb3970bfc83f94b898d9ee7d3b021c82e6b3353dd525648144fcea47ab3dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for iflow-mcp_narumiruna_gitingestmcp 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.