git MCP server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
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 |