--- id: mcp-server-git version: "2026.7.10" license: MIT license_treatment: permissive maintenance: active --- # mcp-server-git — A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs License: permissive · Maintenance: active · Downloads: 774.5K/mo ## What it is and what it does mcp-server-git is a Model Context Protocol server that bridges Git repositories and Large Language Models. It exposes a set of Git operations—status, diff, commit, branch management, log queries, and more—as callable tools that an LLM can invoke to read and modify repositories. The server runs as a separate process and communicates with LLM clients (Claude Desktop, VS Code, Zed, etc.) via the MCP protocol, allowing an AI assistant to interact with Git repositories as if it were a developer at the command line. The package is designed for automation and AI-assisted development workflows. It depends on gitpython for Git operations, mcp for protocol handling, pydantic for validation, and click for CLI argument parsing. It is currently in early development, meaning the tool set and behavior may change. Installation is straightforward via pip or uv, and configuration varies by host application (Claude Desktop, VS Code, Zed, etc.). Use it for: - Let an LLM assistant read repository status, diffs, and logs to understand code changes and history without manual context-gathering. - Automate commit workflows where an AI agent stages files, writes commit messages, and records changes based on analysis. - Enable branch creation and switching via LLM commands for multi-branch development or experiment isolation. - Query commit history with date filtering to analyze trends, blame, or revert decisions programmatically. - Integrate Git operations into AI-driven code review or refactoring pipelines that need to inspect and modify repositories. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Exposes Git repository operations as tools for Large Language Models via the Model Context Protocol, allowing LLMs to read, search, and manipulate repositories programmatically. Yes, if you are building LLM-integrated development tools or AI assistants that need programmatic Git access. The package is actively maintained, has low install friction, and carries no security vulnerabilities. The MIT license poses no restrictions. The main caveat is that it is explicitly in early development—expect the tool set and behavior to evolve, and validate LLM-generated Git commands before execution in production repositories. ## Install pip install mcp-server-git uv add mcp-server-git poetry add mcp-server-git ## Installing mcp-server-git Before you install: Low friction install with a pure-Python wheel. Actively maintained with recent releases; last commit 2026-08-10. Requires Python 3.10+. Four runtime dependencies (click, gitpython, mcp, pydantic) are all stable, widely-used libraries. License in practice: MIT license is permissive—you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects. Quickstart: pip install mcp-server-git # Run as a server (typically configured in Claude Desktop, VS Code, or Zed) python -m mcp_server_git --repository /path/to/repo # Or via uvx (recommended) uvx mcp-server-git --repository /path/to/repo Requires Python 3.10 or later. Git must be installed on the system. The server is designed to run as a background process managed by an MCP client (Claude Desktop, VS Code, Zed, etc.), not as a standalone library in your own Python code. Verify before relying: - Whether the package handles large repositories efficiently or has known performance limits. - Whether all Git operations (especially git_commit, git_add, git_reset) are safe to invoke from untrusted LLM outputs without additional validation. - Stability guarantees beyond 'early development' status—what breaking changes are expected. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 774.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags git mcp server, llm git integration, model context protocol git, git automation for ai, programmatic git access, git tools for language models, mcp git repository, llm-integration, git-automation, mcp-protocol [View on SkillFed](https://skillfed.io/packages/mcp-server-git) · [View on PyPI](https://pypi.org/project/mcp-server-git/)