Skip to main content
Glama
ttpears

GitLab MCP Server

by ttpears

get_merge_request_commits

Retrieve commits from a GitLab merge request to review code changes, track modifications, and analyze contributions without including merge commits.

Instructions

Get commits for a merge request (excluding merge commits), with commit count and details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesFull path of the project (e.g., "group/project-name")
iidYesMerge request IID
firstNoNumber of commits to retrieve
afterNoCursor for pagination
userCredentialsNoYour GitLab credentials (optional - uses shared token if not provided)

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/ttpears/gitlab-mcp'

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