git

git

4.1

git is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of git 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 Model Context Protocol server for Git repository interaction and automation.

mcp-server-git is a Model Context Protocol server designed to facilitate interaction and automation with Git repositories using Large Language Models. It provides a suite of tools to read, search, and manipulate Git repositories, making it easier for developers to manage their codebases. The server is currently in early development, and its functionality is expected to evolve as it matures. Users can perform various Git operations such as checking the status of the working directory, viewing diffs, committing changes, and managing branches. The server can be installed using different methods, including UV and PIP, and is compatible with platforms like Claude Desktop, VS Code, and Zed. It also supports debugging and development features to assist users in troubleshooting and extending the server's capabilities.

Features

  • Git repository interaction and automation
  • Tools for reading, searching, and manipulating Git repositories
  • Compatible with various platforms like Claude Desktop, VS Code, and Zed
  • Supports debugging and development features
  • Installation via UV and PIP

Tools

  1. git_status

    Shows the working tree status

  2. git_diff_unstaged

    Shows changes in the working directory that are not yet staged

  3. git_diff_staged

    Shows changes that are staged for commit

  4. git_diff

    Shows differences between branches or commits

  5. git_commit

    Records changes to the repository

  6. git_add

    Adds file contents to the staging area

  7. git_reset

    Unstages all staged changes

  8. git_log

    Shows the commit logs

  9. git_create_branch

    Creates a new branch from an optional base branch

  10. git_checkout

    Switches branches

  11. git_show

    Shows the contents of a commit