Skip to main content
Glama

Git Repo Browser MCP

git_commits_details

Retrieve detailed commit data, including messages and diffs, from Git repositories. Filter by branch, date range, author, or message content to analyze changes and history efficiently.

Instructions

Get detailed information about commits including full messages and diffs.

Input Schema

NameRequiredDescriptionDefault
authorNoFilter by author (optional)
branchNoThe branch to get commits frommain
grepNoFilter commits by message content (optional)
include_diffNoWhether to include the commit diffs
max_countNoMaximum number of commits to retrieve
repo_urlYesThe URL of the Git repository
sinceNoGet commits after this date (e.g., "1 week ago", "2023-01-01")
untilNoGet commits before this date (e.g., "yesterday", "2023-12-31")

Input Schema (JSON Schema)

{ "properties": { "author": { "description": "Filter by author (optional)", "type": "string" }, "branch": { "default": "main", "description": "The branch to get commits from", "type": "string" }, "grep": { "description": "Filter commits by message content (optional)", "type": "string" }, "include_diff": { "default": false, "description": "Whether to include the commit diffs", "type": "boolean" }, "max_count": { "default": 10, "description": "Maximum number of commits to retrieve", "type": "integer" }, "repo_url": { "description": "The URL of the Git repository", "type": "string" }, "since": { "description": "Get commits after this date (e.g., \"1 week ago\", \"2023-01-01\")", "type": "string" }, "until": { "description": "Get commits before this date (e.g., \"yesterday\", \"2023-12-31\")", "type": "string" } }, "required": [ "repo_url" ], "type": "object" }

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/bsreeram08/git-commands-mcp'

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