libregistry
Registry
Models
Docker
IAM
MCP
Docs
Sign in with Google
MCP Servers
/
version-control
/ Git MCP Server
Git MCP Server
JSON →
none
★ 2
version-control
An MCP server for performing Git operations.
github ↗
Install
How to run this server
[ { "cmd": "npm install -g git-mcp-server", "imports": [] } ]
server path:
git-mcp-server
Tools
What this server exposes
git_status
Get current git status
git_current_branch
Get current branch name
git_staged_changes
Get staged changes
git_working_directory
Get current working directory info
git_diff
Show diff between branches/commits
git_log
Get commit history
git_show_file
Show file contents at specific commit
git_branches
List all branches
git_checkout
Switch to different branch or create new branch
git_add
Add files to staging area
git_commit
Create commits with message and files
git_pull
Pull changes from remote repository
git_fetch
Fetch changes from remote without merging
git_init
Initialize a new git repository
Configuration
Environment & auth
auth
none
Resources
github
https://github.com/DanyelKirsch/git-mcp-server ↗
Git MCP Server — MCP Server · libregistry