github_mcp.list_recent_commits
Lists recent commits from a repository's refreshed default-branch snapshot, returning SHA, author details, and subject lines for review without altering history.
Instructions
List recent commits from the refreshed default-branch snapshot. Returns redacted tab-separated lines containing SHA, author name, author email and subject; does not alter history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repository": "<repository>"
},
"name": "github_mcp.list_recent_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of commits, 1–100; default 20. | |
| repository | Yes | Allowlisted owner/repo identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |