This Git MCP server provides AI assistants with capabilities to interact with Git repositories. Developed as an open-source project, it integrates with the simple-git library to enable core Git operations like cloning, committing, and managing branches. The server exposes a standardized interface for Git interactions, abstracting the complexities of version control operations. By leveraging TypeScript and following modern JavaScript practices, it offers a robust and type-safe implementation. This server is particularly useful for developers and DevOps teams looking to incorporate AI-driven Git operations into their workflows, such as automated code reviews, commit analysis, or intelligent branching strategies.
No reviews yet. Be the first to review!
Sign in to join the conversation
Initialize a new git repository.
Clone a repository from a remote URL.
Check the status of the working directory and staging area.
Clean untracked files from the working tree.
Stage changes for the next commit.
Create a new commit with the staged changes.
Show changes between commits, commit and working tree, etc.
View the commit history.
Inspect a specific commit or object.
Trace authorship of each line in a file.
View the reference logs.
Gather git context and instructions for LLM-driven changelog analysis.
Manage branches.
Switch branches or restore working tree files.
Merge changes from one branch into another.
Reapply commits on top of another base tip.
Apply the changes introduced by some existing commits.
Manage set of tracked repositories.
Download objects and refs from another repository.
Fetch from a remote repository and merge.
Update remote refs along with associated objects.
Create, list, delete, or verify tags.
Stash the changes in a dirty working directory.
Reset current HEAD to the specified state.
Manage multiple working trees.
Set the session working directory.
Clear the session working directory.
Provide instructions for wrapping up git sessions.