mcp-server-git: A git MCP server
If you are the rightful owner of mcp-server-git: A 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 server for Git repository interaction and automation.
mcp-server-git is a Model Context Protocol server designed to facilitate interaction and automation with Git repositories using Large Language Models. It provides a suite of tools to read, search, and manipulate Git repositories, making it easier for developers to manage their codebases. The server is currently in early development, and its functionality is expected to evolve as it matures. Users can perform various Git operations such as checking the status of the working directory, viewing diffs, committing changes, and managing branches. The server can be installed using different methods, including uv, pip, and Docker, and is compatible with platforms like Claude Desktop, VS Code, and Zed. Debugging and development support are also available, making it a versatile tool for developers looking to integrate Git operations into their workflows.
Features
- Provides tools to interact with Git repositories using LLMs.
- Supports operations like git status, diff, commit, and branch management.
- Compatible with platforms like Claude Desktop, VS Code, and Zed.
- Offers multiple installation methods including uv, pip, and Docker.
- Includes debugging and development support for ease of use.
Tools
git_status
Shows the working tree status
git_diff_unstaged
Shows changes in working directory not yet staged
git_diff_staged
Shows changes that are staged for commit
git_diff
Shows differences between branches or commits
git_commit
Records changes to the repository
git_add
Adds file contents to the staging area
git_reset
Unstages all staged changes
git_log
Shows the commit logs
git_create_branch
Creates a new branch
git_checkout
Switches branches
git_show
Shows the contents of a commit
git_init
Initializes a Git repository