Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_get_user_open_mrs

Retrieve all open merge requests by a specific user across projects, including details like title, status, urgency indicators, and CI pipeline state. Useful for personal MR dashboards, team workload monitoring, and code review management.

Instructions

Get all open merge requests authored by a user

Retrieve all currently open MRs created by the specified user across all accessible projects, with priority and urgency indicators.

Returns MR information including:

  • Basic details: title, description, IID
  • Status: draft, conflicts, approvals needed
  • Urgency indicators: age, reviewer assignments
  • CI status: pipeline state, test results
  • Project context: name, namespace

Use cases:

  • Personal MR dashboard
  • Team workload monitoring
  • Code review queue management
  • Sprint planning and tracking

Parameters:

  • user_id: Numeric user ID
  • username: Username string (use either user_id or username)
  • sort: Sort order (updated, created, priority)
  • per_page: Results per page (default: 20)
  • page: Page number (default: 1)

Example: Get user's open MRs sorted by update time

{ "username": "johndoe", "sort": "updated", "per_page": 10 }

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets
per_pageNoNumber of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing
sortNoSort orderupdated
user_idNoNumeric user ID
usernameNoUsername string

Input Schema (JSON Schema)

{ "properties": { "page": { "default": 1, "description": "Page number for pagination\nType: integer\nRange: ≥1\nDefault: 1\nExample: 3 (to get the third page of results)\nNote: Use with per_page to navigate large result sets", "minimum": 1, "type": "integer" }, "per_page": { "default": 50, "description": "Number of results per page\nType: integer\nRange: 1-100\nDefault: 20\nExample: 50 (for faster browsing)\nTip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing", "maximum": 100, "minimum": 1, "type": "integer" }, "sort": { "default": "updated", "description": "Sort order", "enum": [ "updated", "created", "priority" ], "type": "string" }, "user_id": { "description": "Numeric user ID", "type": "string" }, "username": { "description": "Username string", "type": "string" } }, "type": "object" }

Other Tools from MCP GitLab Server

Related Tools

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

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