Back to MCP marketplace
operations-admin
In Review
cyanheads/git-mcp-server
Added by github
About
A Git MCP server for AI agents. STDIO & Streamable HTTP.
Tools
- git_addStage files for commit. Add file contents to the staging area (index) to prepare for the next commit.
- git_blameShow line-by-line authorship information for a file, displaying who last modified each line and when. For large files, use startLine/endLine to limit output.
- git_branchManage branches: list all branches, show current branch, create a new branch, delete a branch, or rename a branch.
- git_changelog_analyzeGather git history context (commits, tags) and structured review instructions to support LLM-driven changelog analysis. Changelog file should be read separately; this tool provides the supporting git data and analysis framework. Pass one or
- git_checkoutSwitch branches or restore working tree files. Can checkout an existing branch, create a new branch, or restore specific files.
- git_cherry_pickCherry-pick commits from other branches. Apply specific commits to the current branch without merging entire branches.
- git_cleanRemove untracked files from the working directory. Requires force flag for safety. Use dry-run to preview files that would be removed.
- git_clear_working_dirClear the session working directory setting. This resets the context without restarting the server. Subsequent git operations will require an explicit path parameter unless git_set_working_dir is called again.
- git_cloneClone a repository from a remote URL or local path. Accepts HTTP(S), SSH, git://, file://, and bare filesystem paths, with optional shallow cloning.
- git_commitCreate a new commit with staged changes in the repository. Records a snapshot of the staging area with a commit message. **Commit Message Format:** Pass commit messages as JSON string parameters. Multi-line messages are supported using sta
- git_diffView differences between commits, branches, or working tree. Shows changes in unified diff format.
- git_fetchFetch updates from a remote repository. Downloads objects and refs without merging them.
- git_initInitialize a new Git repository at the specified path. Creates a .git directory and sets up the initial branch.
- git_logView commit history with optional filtering by author, date range, file path, or commit message pattern.
- git_mergeMerge branches together. Integrates changes from another branch into the current branch with optional merge strategies.
- git_pullPull changes from a remote repository. Fetches and integrates changes into the current branch.
- git_pushPush changes to a remote repository. Uploads local commits to the remote branch.
- git_rebaseRebase commits onto another branch. Reapplies commits on top of another base tip for a cleaner history.
- git_reflogView the reference logs (reflog) to track when branch tips and other references were updated. Useful for recovering lost commits.
- git_remoteManage remote repositories: list remotes, add new remotes, remove remotes, rename remotes, or get/set remote URLs.
Playground
Tested live
Checking your session…
Community reviews
Reports from signed-in users. These reviews describe individual experiences and are not security audits.
No published reviews yet. Share a specific setup result to help the next user evaluate this server.
Used this MCP server?
Sign in before writing so your review is never lost.