Back to MCP marketplace
cyanheads/git-mcp-server
operations-admin
In Review

cyanheads/git-mcp-server

Added by github

About

A Git MCP server for AI agents. STDIO & Streamable HTTP.

Tools

  • git_add
    Stage files for commit. Add file contents to the staging area (index) to prepare for the next commit.
  • git_blame
    Show 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_branch
    Manage branches: list all branches, show current branch, create a new branch, delete a branch, or rename a branch.
  • git_changelog_analyze
    Gather 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_checkout
    Switch branches or restore working tree files. Can checkout an existing branch, create a new branch, or restore specific files.
  • git_cherry_pick
    Cherry-pick commits from other branches. Apply specific commits to the current branch without merging entire branches.
  • git_clean
    Remove untracked files from the working directory. Requires force flag for safety. Use dry-run to preview files that would be removed.
  • git_clear_working_dir
    Clear 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_clone
    Clone a repository from a remote URL or local path. Accepts HTTP(S), SSH, git://, file://, and bare filesystem paths, with optional shallow cloning.
  • git_commit
    Create 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_diff
    View differences between commits, branches, or working tree. Shows changes in unified diff format.
  • git_fetch
    Fetch updates from a remote repository. Downloads objects and refs without merging them.
  • git_init
    Initialize a new Git repository at the specified path. Creates a .git directory and sets up the initial branch.
  • git_log
    View commit history with optional filtering by author, date range, file path, or commit message pattern.
  • git_merge
    Merge branches together. Integrates changes from another branch into the current branch with optional merge strategies.
  • git_pull
    Pull changes from a remote repository. Fetches and integrates changes into the current branch.
  • git_push
    Push changes to a remote repository. Uploads local commits to the remote branch.
  • git_rebase
    Rebase commits onto another branch. Reapplies commits on top of another base tip for a cleaner history.
  • git_reflog
    View the reference logs (reflog) to track when branch tips and other references were updated. Useful for recovering lost commits.
  • git_remote
    Manage 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.