Git MCP is a server implementation for managing Git operations on local repositories. Developed by Kristof Jozsa, it provides a set of methods for listing repositories, retrieving tags, creating and pushing tags, and refreshing repositories. The server is designed to be easily integrated into AI-assisted development workflows, offering a streamlined interface for Git operations without direct shell access.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Lists all Git repositories in the configured path. Parameters: None.
Finds the last Git tag in the specified repository. Parameters: repo_name (Name of the Git repository).
Lists commit messages between the last Git tag and HEAD. Parameters: repo_name (Name of the Git repository), max_count (optional: Maximum number of commits to return).
Creates a new git tag in the specified repository. Parameters: repo_name (Name of the git repository), tag_name (Name of the tag to create), message (optional: Message for annotated tag).
Pushes an existing git tag to the default remote repository. Parameters: repo_name (Name of the git repository), tag_name (Name of the tag to push).
Refreshes a repository by checking out the main branch and pulling from all remotes. Parameters: repo_name (Name of the git repository).