MCP server for Git — structured status, log, diff, and branch data for AI agents
Inferred from the transports this listing declares (stdio). A client not listed here hasn’t been ruled out — it just isn’t something Forge can confirm.
Verification confirms publisher identity (repo ownership), not code safety. The security scan covers known CVEs and suspicious install scripts.
Read out of the source npm actually ships, at scan time. The package was never executed. Tools registered dynamically at runtime, or hidden inside bundled or minified code, can be missed — so this is a floor on the tool surface, not a complete census of it.
addStages files for commit. Returns structured data with count and list of staged files, including how many were newly staged. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's (see #876).Stages files for commit. Returns structured data with count and list of staged files, including how many were newly staged. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's (see #876).
No input schema was published for this tool.
archiveCreates an archive of files from a git repository. Supports tar, tar.gz, and zip formats. Returns structured data with success status, format, output file, and treeish.Creates an archive of files from a git repository. Supports tar, tar.gz, and zip formats. Returns structured data with success status, format, output file, and treeish.
No input schema was published for this tool.
bisectBinary search for the commit that introduced a bug. Returns structured data with action taken, current commit, remaining steps estimate, and result.Binary search for the commit that introduced a bug. Returns structured data with action taken, current commit, remaining steps estimate, and result.
No input schema was published for this tool.
blameShows commit annotations for a file, grouped by commit. Returns structured blame data with deduplicated commit metadata (hash, author, email, date) and their attributed lines.Shows commit annotations for a file, grouped by commit. Returns structured blame data with deduplicated commit metadata (hash, author, email, date) and their attributed lines.
No input schema was published for this tool.
branchLists, creates, renames, or deletes branches. List mode returns `{ branches, current }`. Mutations (create/delete/rename/setUpstream) return a compact confirmation `{ success, action, ... }` instead of the full listing — call again without a mutation param to list. When several mutations are combin…Lists, creates, renames, or deletes branches. List mode returns `{ branches, current }`. Mutations (create/delete/rename/setUpstream) return a compact confirmation `{ success, action, ... }` instead of the full listing — call again without a mutation param to list. When several mutations are combin…
No input schema was published for this tool.
checkoutSwitches branches or restores files. Returns structured data with ref, previous ref, whether a new branch was created, and detached HEAD status. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's, which can move branche…Switches branches or restores files. Returns structured data with ref, previous ref, whether a new branch was created, and detached HEAD status. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's, which can move branche…
No input schema was published for this tool.
cherry-pickApplies specific commits to the current branch. Returns structured data with applied commits, any conflicts, and new commit hash.Applies specific commits to the current branch. Returns structured data with applied commits, any conflicts, and new commit hash.
No input schema was published for this tool.
cleanRemoves untracked files from the working tree. DEFAULTS TO DRY-RUN MODE for safety — shows what would be removed without actually deleting. Set force=true AND dryRun=false to actually remove files.Removes untracked files from the working tree. DEFAULTS TO DRY-RUN MODE for safety — shows what would be removed without actually deleting. Set force=true AND dryRun=false to actually remove files.
No input schema was published for this tool.
commitCreates a commit with the given message. Returns structured data with hash, message, and change statistics. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's (see #876).Creates a commit with the given message. Returns structured data with hash, message, and change statistics. Pass `path` to target a specific repo or worktree — when omitted, operates on the server's own working directory, not the caller's (see #876).
No input schema was published for this tool.
configManages git configuration values. Supports get, set, list, and unset actions. Operates at local, global, system, or worktree scope.Manages git configuration values. Supports get, set, list, and unset actions. Operates at local, global, system, or worktree scope.
No input schema was published for this tool.
diffReturns file-level diff statistics as structured data. Use full=true for patch content.Returns file-level diff statistics as structured data. Use full=true for patch content.
No input schema was published for this tool.
statusReturns the working tree status as structured data (branch, staged, modified, untracked, conflicts).Returns the working tree status as structured data (branch, staged, modified, untracked, conflicts).
No input schema was published for this tool.
logReturns commit history as structured data.Returns commit history as structured data.
No input schema was published for this tool.
log-graphReturns visual branch topology as structured data. Wraps `git log --graph --oneline --decorate`.Returns visual branch topology as structured data. Wraps `git log --graph --oneline --decorate`.
No input schema was published for this tool.
showShows commit details and diff statistics for a given ref.Shows commit details and diff statistics for a given ref.
No input schema was published for this tool.
pushPushes commits to a remote repository. Returns structured data with success status, remote, branch, summary, and whether the remote branch was newly created.Pushes commits to a remote repository. Returns structured data with success status, remote, branch, summary, and whether the remote branch was newly created.
No input schema was published for this tool.
pullPulls changes from a remote repository. Returns structured data with success status, summary, change statistics, conflicts, up-to-date and fast-forward indicators.Pulls changes from a remote repository. Returns structured data with success status, summary, change statistics, conflicts, up-to-date and fast-forward indicators.
No input schema was published for this tool.
tagManages git tags. Supports list (default), create, and delete actions. List returns structured tag data with name, date, and message. Create supports lightweight and annotated tags.Manages git tags. Supports list (default), create, and delete actions. List returns structured tag data with name, date, and message. Create supports lightweight and annotated tags.
No input schema was published for this tool.
stash-listLists all stash entries with index, message, date, branch, and optional file change summary. Returns structured stash data.Lists all stash entries with index, message, date, branch, and optional file change summary. Returns structured stash data.
No input schema was published for this tool.
stashPushes, pops, applies, drops, shows, or clears stash entries. Returns structured result with action, success, message, and stash reference.Pushes, pops, applies, drops, shows, or clears stash entries. Returns structured result with action, success, message, and stash reference.
No input schema was published for this tool.
remoteManages remote repositories. Supports list (default), add, remove, rename, set-url, prune, and show actions. Returns structured remote data.Manages remote repositories. Supports list (default), add, remove, rename, set-url, prune, and show actions. Returns structured remote data.
No input schema was published for this tool.
restoreDiscards working tree changes or restores files from a specific commit. Returns structured data with restored files, source ref, and staged flag.Discards working tree changes or restores files from a specific commit. Returns structured data with restored files, source ref, and staged flag.
No input schema was published for this tool.
resetResets the current HEAD to a specified state. Supports soft, mixed, hard, merge, and keep modes. The 'hard' mode requires confirm=true as a safety guard since it permanently discards changes. Returns structured data with the ref, mode, and list of affected files.Resets the current HEAD to a specified state. Supports soft, mixed, hard, merge, and keep modes. The 'hard' mode requires confirm=true as a safety guard since it permanently discards changes. Returns structured data with the ref, mode, and list of affected files.
No input schema was published for this tool.
mergeMerges a branch into the current branch. Supports abort, continue, and quit actions. Returns structured data with merge status, fast-forward detection, conflicts, and commit hash.Merges a branch into the current branch. Supports abort, continue, and quit actions. Returns structured data with merge status, fast-forward detection, conflicts, and commit hash.
No input schema was published for this tool.
rebaseRebases the current branch onto a target branch. Supports abort, continue, skip, and quit for conflict resolution. Returns structured data with success status, branch info, conflicts, and rebased commit count.Rebases the current branch onto a target branch. Supports abort, continue, skip, and quit for conflict resolution. Returns structured data with success status, branch info, conflicts, and rebased commit count.
No input schema was published for this tool.
reflogReturns reference log entries as structured data, useful for recovery operations. Also supports checking if a reflog exists.Returns reference log entries as structured data, useful for recovery operations. Also supports checking if a reflog exists.
No input schema was published for this tool.
worktreeLists, adds, removes, locks, unlocks, or prunes git worktrees for managing multiple working trees. Returns structured data with worktree paths, branches, and HEAD commits.Lists, adds, removes, locks, unlocks, or prunes git worktrees for managing multiple working trees. Returns structured data with worktree paths, branches, and HEAD commits.
No input schema was published for this tool.
submoduleManages git submodules. Supports list (default), add, update, sync, and deinit actions. List returns structured submodule data with path, SHA, branch, and status.Manages git submodules. Supports list (default), add, update, sync, and deinit actions. List returns structured submodule data with path, SHA, branch, and status.
No input schema was published for this tool.
28 of 28 tools published a description.
Tool names and descriptions are written by the publisher and shown verbatim as inert text. They are the strings an MCP client passes to a model, so Forge scans them for prompt-injection patterns — any finding appears with the security scan above. “Privileged” is a keyword match on the tool name, not an audit of what the tool does: a benign-sounding name can still do anything.
MCP server for Git — structured status, log, diff, and branch data for AI agents
Linked names open Forge’s index of every entry observed exposing that tool. Browse all indexed tools.
The crawl stopped at the depth-4 limit. Anything below that level was never resolved.
The crawl stopped at the 60-package limit. The rest of the tree was never resolved.
36 more resolved packages are not drawn here (display cap: 24). Every dependency carrying an advisory is drawn regardless of the cap. Full inventory (CycloneDX SBOM)
54 declared dependencies never landed in the tree. They are missing from Forge's resolution, not from the package.
+42 more not listed. The counts by reason above cover all of them.
Not followed: peerDependencies. This tree covers runtime dependencies only, so anything those pull in was never resolved.