Git
Summary
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.
Available Actions(6)
list_repositories
Lists all Git repositories in the configured path. Parameters: None
get_last_git_tag
Finds the last Git tag in the specified repository. Parameters: repo_name (Name of the Git repository)
list_commits_since_last_tag
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)
create_git_tag
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)
push_git_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)
refresh_repository
Refreshes a repository by checking out the main branch (or master as fallback) and pulling from all remotes. Parameters: repo_name (Name of the git repository)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论