local-git-mcp-server

okdshin/local-git-mcp-server

3.2

If you are the rightful owner of local-git-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Python-based Git repository management server using the MCP (Message-based Communication Protocol) server framework.

The Local Git MCP Server is a robust solution for managing Git repositories locally using the Message-based Communication Protocol (MCP) server framework. It allows users to create, manage, and interact with local Git repositories efficiently. The server supports a variety of Git operations such as repository creation, adding files, committing changes, pulling, pushing, and generating diffs. It ensures that repository names are validated to prevent errors and maintain consistency. The server is built with dependencies like GitPython for Git operations, Pydantic for data validation, and MCP Server for communication. Additionally, it uses Black and isort for code formatting and import sorting, respectively. The server can be easily run with a simple command, and it includes a GitHub Actions workflow for maintaining code quality.

Features

  • Create, manage, and interact with local Git repositories
  • Validate repository names
  • Perform Git operations: Repository creation, Adding files, Committing changes, Pulling and pushing, Diff generation