git MCP server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
git_statusShows the working tree status
git_diff_unstagedShows changes in the working directory that are not yet staged
git_diff_stagedShows changes that are staged for commit
git_diffShows differences between branches or commits
git_commitRecords changes to the repository
git_addAdds file contents to the staging area
git_resetUnstages all staged changes
git_logShows the commit logs
git_create_branchCreates a new branch from an optional base branch
git_checkoutSwitches branches
git_showShows the contents of a commit