git-mcp

git-mcp

3.2

If you are the rightful owner of git-mcp 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.

This project is a Model Context Protocol (MCP) server designed to interact with Git repositories.

The git-mcp is a Model Context Protocol (MCP) server that facilitates interaction with Git repositories. It provides a suite of tools for managing and interacting with Git repositories, allowing users to execute Git operations, view commit histories, track file changes, and perform diff operations. The server is built using Go and requires Git to be installed on the system. It is designed to streamline the process of managing Git repositories by providing a structured and automated way to handle common Git tasks.

Features

  • Git Repository Management: Execute Git operations and manage repositories.
  • Repository History: View commit history and file changes over time.
  • File Tracking: Track file changes and view file history.
  • Diff Operations: View detailed file differences between commits.

Tools

  1. git-log

    Display git commit history with commit hash, author, date, and message.

  2. git-changed-files

    List files changed between HEAD and a specified number of commits back.

  3. git-file-diff

    View detailed file differences between commits.

  4. git-file-history

    View the commit history for a specific file.