MCP Git Ingest
@adhikasp
MCP Git Ingest について
A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-git-ingest": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/adhikasp/mcp-git-ingest",
"mcp-git-ingest"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Git Ingest?
MCP Git Ingest is a Model Context Protocol (MCP) server that reads GitHub repository structure and important files. It provides two tools: github_directory_structure for a tree-like directory view and github_read_important_files for reading specified file contents. It is inspired by gitingest.com and is intended for developers who need to programmatically explore repositories via an MCP client.
How to use MCP Git Ingest?
Configure the server in your MCP client’s mcpServers block using uvx with the GitHub URL. Then invoke the tools via an MCP client (e.g., mcp-client-cli). The server exposes github_directory_structure(repo_url) and github_read_important_files(repo_url, file_paths).
Key features of MCP Git Ingest
- Provides
github_directory_structureandgithub_read_important_filestools. - Uses
fastmcpfor MCP server creation. - Uses
gitpythonfor Git repository operations. - Creates deterministic temporary directories based on repo URL hash.
- Cleans up temporary files after each operation.
- Generates Unicode tree representation of directory structure.
Use cases of MCP Git Ingest
- Quickly visualize the directory layout of any public GitHub repository.
- Read key files (README, config, source code) from a repository for analysis.
- Integrate repository exploration into AI‑assisted coding workflows.
- Automate code review preparation by fetching project structure and important files.
FAQ from MCP Git Ingest
What tools does MCP Git Ingest provide?
It provides two tools: github_directory_structure to return a tree‑like directory layout, and github_read_important_files to return the contents of specified files in a repository.
What are the dependencies and runtime requirements?
It requires Python 3.8+, fastmcp, and gitpython. The server is run via uvx from the git repository.
How does MCP Git Ingest handle temporary repository data?
It clones each repository into a deterministic temporary directory named by hashing the repository URL. After processing, it removes the temporary directory using a finally block to avoid file accumulation.
Where does my data live?
All repository data is cloned into temporary directories on the local machine and is deleted after each tool call. No data is sent to external services beyond the initial GitHub clone.
What transport does MCP Git Ingest use?
The README does not specify a transport; it is assumed to use the standard MCP transport (stdio) as is typical for fastmcp‑based servers.
「バージョン管理」の他のコンテンツ
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
Bitbucket Server MCP
garc33Atlassian Bitbucket MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
コメント