git-mcp-server

mxxx222/git-mcp-server

3.2

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 dayong@mcphub.com.

A comprehensive Model Context Protocol (MCP) server that provides Git operations through a standardized interface.

Tools

Functions exposed to the LLM to take actions

git_status

Get git status of a repository

git_log

Show commit history with configurable formatting

git_branch

List all branches (local and remote)

git_diff

Show changes between commits or working tree

git_add

Stage files for commit (specific files or all changes)

git_commit

Create new commits with messages

git_stash

Save/apply/drop changes temporarily

git_init

Initialize new repositories

git_clone

Clone remote repositories

git_push

Push commits to remote branches

git_pull

Fetch and merge changes from remote

git_remote

Add/remove/rename remote repositories

git_reset

Reset current HEAD to specified state

git_tag

Create/delete/list tags

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources