modelcontextprotocol/git
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 dayong@mcphub.com.
A Model Context Protocol server for Git repository interaction and automation.
Tools
Functions exposed to the LLM to take actions
git_status
Shows the working tree status
git_diff_unstaged
Shows changes in the working directory that are not yet staged
git_diff_staged
Shows changes that are staged for commit
git_diff
Shows differences between branches or commits
git_commit
Records changes to the repository
git_add
Adds file contents to the staging area
git_reset
Unstages all staged changes
git_log
Shows the commit logs
git_create_branch
Creates a new branch from an optional base branch
git_checkout
Switches branches
git_show
Shows the contents of a commit
git_branch
List Git branches
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client