mcp-server-git
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| git_statusC | Shows the working tree status |
| git_diff_unstagedB | Shows changes in the working directory that are not yet staged |
| git_diff_stagedC | Shows changes that are staged for commit |
| git_diffC | Shows differences between branches or commits |
| git_commitC | Records changes to the repository |
| git_addC | Adds file contents to the staging area |
| git_resetC | Unstages all staged changes |
| git_logC | Shows the commit logs |
| git_create_branchC | Creates a new branch from an optional base branch |
| git_checkoutC | Switches branches |
| git_showC | Shows the contents of a commit |
| git_initC | Initialize a new Git repository |
| git_branchC | List Git branches |
| git_cherry_pickC | Cherry-pick a commit to the current branch |
| git_list_remotesC | List configured remotes |
| git_pullC | Pull changes from remote repository |
| git_pushC | Push changes to remote repository |
| git_fetchC | Fetch changes from remote repository |
| git_switch_createC | Switches to a new branch or creates it from an optional base branch |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
Most tools are clearly distinct, but the branch-related tools overlap: git_switch_create, git_create_branch, and git_checkout can be confused depending on whether creation, switching, or both are intended. The descriptions help somewhat, but the boundaries between these operations are not crisp.
All tools use a consistent git_ prefix followed by snake_case action names, matching standard Git command terminology. Even compound names like git_switch_create and git_diff_unstaged follow the same predictable pattern.
With 19 tools, the server covers a broad but reasonable set of Git operations. The count is slightly above the typical 3-15 range, but not excessive for the scope of Git workflows.
Core operations like status, diff, add, commit, log, pull, push, fetch, branch, and checkout are covered. However, notable gaps remain, including merge, stash, tag management, branch deletion, and remote add/remove operations.