User Merge Requests
get_user_merge_requestsFind merge requests for a specific GitLab user as author or assignee. Filter by state, project, and paginate results.
Instructions
Get merge requests for a specific user (as author or assignee) - uses proper GraphQL filtering
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Username to find merge requests for (e.g., "cdhanlon") | |
| role | No | Whether to find MRs authored by or assigned to the user | author |
| state | No | Filter by MR state (opened, closed, merged, all) | opened |
| projectPath | No | Optional: limit search to a specific project | |
| first | No | Number of merge requests to retrieve | |
| after | No | Cursor for pagination | |
| fetchAll | No | Fetch all pages up to 100 results | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |