MCPServers

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. Returns: List of repository names.

get_last_git_tag

Finds the last Git tag in the specified repository. Parameters: repo_name (Name of the Git repository). Returns: Dictionary with version (tag name) and date (tag creation date).

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. Returns: List of dictionaries with hash, author, date, and message.

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. Returns: Dictionary with status, version (tag name), date (tag creation date), and type (annotated or lightweight).

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). Returns: Dictionary with status, remote (name of the remote), tag (name of the tag), and message (success message).

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). Returns: Dictionary with status, repository, branch, and pull_results (results for each remote).

Last Updated: April 25, 2025

Avis de la Communauté

0.0
0 avis
5
0
4
0
3
0
2
0
1
0

Aucun avis encore. Soyez le premier à donner votre avis !

Connectez-vous pour rejoindre la conversation

Coming soon to
HighlightHighlight AI

Langage

TypeScript

Catégories

Tags