GitLab MCP Server

by rifqi96
Verified

gitlab_list_merge_requests

Retrieve merge requests from a GitLab project based on scope and state. Use this to filter requests by creation, assignment, or status (opened, closed, locked, merged).

Instructions

List merge requests in a GitLab project

Input Schema

NameRequiredDescriptionDefault
project_idYesThe ID or URL-encoded path of the project
scopeNoReturn merge requests for the specified scope (created_by_me, assigned_to_me, all)
stateNoReturn merge requests with specified state (opened, closed, locked, merged)

Input Schema (JSON Schema)

{ "properties": { "project_id": { "description": "The ID or URL-encoded path of the project", "type": "string" }, "scope": { "description": "Return merge requests for the specified scope (created_by_me, assigned_to_me, all)", "enum": [ "created_by_me", "assigned_to_me", "all" ], "type": "string" }, "state": { "description": "Return merge requests with specified state (opened, closed, locked, merged)", "enum": [ "opened", "closed", "locked", "merged" ], "type": "string" } }, "required": [ "project_id" ], "type": "object" }
ID: 7phkmkcd67