Skip to main content
Glama

mcp-git

by ver0-project

log

Access and filter Git commit history with customizable parameters. View detailed logs, track changes by author or date, and generate formatted outputs for repository analysis.

Instructions

View commit history and log information from a git repository.

Input Schema

NameRequiredDescriptionDefault
abbrevCommitNoShow only a partial prefix instead of the full 40-byte hexadecimal commit object name (--abbrev-commit)
allNoShow commits from all branches (--all)
authorNoLimit the commits output to ones with author/committer matching the pattern (--author)
branchesNoShow commits from specific branches
firstParentNoFollow only the first parent commit upon seeing a merge commit (--first-parent)
formatNoPretty-print format for commits (--pretty)
graphNoDraw a text-based graphical representation (--graph)
grepNoLimit the commits output to ones with commit message matching the pattern (--grep)
maxCountNoLimit the number of commits to output (-n, --max-count)
mergesNoPrint only merge commits (--merges)
nameOnlyNoShow only names of changed files (--name-only)
nameStatusNoShow only names and status of changed files (--name-status)
noMergesNoDo not print commits with more than one parent (--no-merges)
pathspecNoLimit commits to those that affect the given paths
repoPathYesAbsolute path to the git repository
shortStatNoOutput only the summary line of --stat (--shortstat)
sinceNoShow commits more recent than a specific date (--since)
skipNoSkip number commits before starting to show the commit output (--skip)
statNoGenerate a diffstat (--stat)
untilNoShow commits older than a specific date (--until)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "abbrevCommit": { "description": "Show only a partial prefix instead of the full 40-byte hexadecimal commit object name (--abbrev-commit)", "type": "boolean" }, "all": { "description": "Show commits from all branches (--all)", "type": "boolean" }, "author": { "description": "Limit the commits output to ones with author/committer matching the pattern (--author)", "type": "string" }, "branches": { "description": "Show commits from specific branches", "items": { "type": "string" }, "type": "array" }, "firstParent": { "description": "Follow only the first parent commit upon seeing a merge commit (--first-parent)", "type": "boolean" }, "format": { "description": "Pretty-print format for commits (--pretty)", "enum": [ "oneline", "short", "medium", "full", "fuller", "email", "raw" ], "type": "string" }, "graph": { "description": "Draw a text-based graphical representation (--graph)", "type": "boolean" }, "grep": { "description": "Limit the commits output to ones with commit message matching the pattern (--grep)", "type": "string" }, "maxCount": { "description": "Limit the number of commits to output (-n, --max-count)", "minimum": 1, "type": "integer" }, "merges": { "description": "Print only merge commits (--merges)", "type": "boolean" }, "nameOnly": { "description": "Show only names of changed files (--name-only)", "type": "boolean" }, "nameStatus": { "description": "Show only names and status of changed files (--name-status)", "type": "boolean" }, "noMerges": { "description": "Do not print commits with more than one parent (--no-merges)", "type": "boolean" }, "pathspec": { "description": "Limit commits to those that affect the given paths", "items": { "type": "string" }, "type": "array" }, "repoPath": { "description": "Absolute path to the git repository", "type": "string" }, "shortStat": { "description": "Output only the summary line of --stat (--shortstat)", "type": "boolean" }, "since": { "description": "Show commits more recent than a specific date (--since)", "type": "string" }, "skip": { "description": "Skip number commits before starting to show the commit output (--skip)", "minimum": 0, "type": "integer" }, "stat": { "description": "Generate a diffstat (--stat)", "type": "boolean" }, "until": { "description": "Show commits older than a specific date (--until)", "type": "string" } }, "required": [ "repoPath" ], "type": "object" }
Install Server

Other Tools from mcp-git

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ver0-project/mcps'

If you have feedback or need assistance with the MCP directory API, please join our Discord server