Skip to main content
Glama
archish9

GitHub MCP Server

by archish9

list_commits

Retrieve commit history for a Git repository branch or reference to track changes, view author details, and examine timestamps.

Instructions

List the commit history for a specific branch or reference.

Retrieves a list of commits starting from the specified branch (or HEAD), going back in history up to limit. Each commit includes:

  • SHA (full and short)

  • Message

  • Author details

  • Timestamp

Args: repo_path: The absolute path to the repository. branch: The branch name, tag, or commit SHA to start listing from. Defaults to "HEAD" (current checkout). limit: The maximum number of commits to return. Defaults to 50.

Returns: A JSON-formatted string containing a list of commit objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
branchNoHEAD
limitNo

Latest Blog Posts

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/archish9/github-mcp-small'

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