Git MCP Server
JSON →An MCP server for performing Git operations.
Install
npm install -g git-mcp-server Tools · 14
- 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
Links
★ 2 GitHub stars