git-mcp-server

elegroag/git-mcp-server

3.1

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.

The MCP Server for Git is designed to facilitate interaction with local Git repositories using SSE and stdio protocols.

Tools

Functions exposed to the LLM to take actions

git_status

Checks the status of the repository.

git_diff_unstaged

Shows unstaged changes with context lines.

git_diff_staged

Shows staged changes with context lines.

git_diff

Shows differences between commits or branches.

git_add

Adds files to the staging area.

git_reset

Resets the current HEAD to a specified state.

git_commit

Records changes to the repository.

git_log

Displays the commit history.

git_create_branch

Creates a new branch.

git_checkout

Switches branches or restores working tree files.

git_show

Shows various types of objects.

git_init

Creates an empty Git repository.

git_branch

Lists, creates, or deletes branches.

git_fetch

Downloads objects and refs from another repository.

git_pull

Fetches from and integrates with another repository or a local branch.

git_push

Updates remote refs along with associated objects.

git_stash

Stashes changes in a dirty working directory away.

git_merge

Joins two or more development histories together.

git_rebase

Reapplies commits on top of another base tip.

git_restore

Restores working tree files.

git_rm

Removes files from the working tree and from the index.

git_mv

Moves or renames a file, a directory, or a symlink.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources