git-mcp-server

DanyelKirsch/git-mcp-server

3.3

If you are the rightful owner of git-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for Git operations that provides comprehensive Git functionality to MCP clients like Claude Desktop.

Tools

Functions exposed to the LLM to take actions

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

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources