list_commits
Retrieve commit history for a GitLab project, branch, or file path via MCP-gitlab, with optional date filters.
Instructions
List commit history for a project, branch, or specific file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| path | No | File path to filter commit history for (e.g. 'src/auth.js') | |
| since | No | Only commits after or on this date (ISO 8601 or YYYY-MM-DD) | |
| until | No | Only commits before or on this date | |
| per_page | Yes | ||
| ref_name | No | Branch name, tag, or commit range (default: default branch / HEAD) | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. |