boj_gitlab_list_mrs
Retrieve merge requests from GitLab projects to track development progress, filter by state, and manage code integration workflows.
Instructions
List merge requests
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| state | No |
Implementation Reference
- mcp-bridge/main.js:283-284 (handler)The handler logic for 'boj_gitlab_list_mrs' which performs a GET request to the GitLab API to list merge requests.
case "boj_gitlab_list_mrs": return gitlabApiCall("GET", `/projects/${encodeURIComponent(args.project_id)}/merge_requests?state=${args.state || "opened"}`); - mcp-bridge/main.js:556-556 (schema)The registration of 'boj_gitlab_list_mrs' within the tools list, including its input schema parameters.
{ name: "boj_gitlab_list_mrs", desc: "List merge requests", props: { project_id: { type: "string" }, state: { type: "string", enum: ["opened", "closed", "merged", "all"] } }, req: ["project_id"] }, - mcp-bridge/main.js:724-729 (registration)The 'tools/call' switch case that routes the 'boj_gitlab_list_mrs' request to the handleGitLabTool function.
case "boj_gitlab_list_mrs": case "boj_gitlab_list_pipelines": case "boj_gitlab_setup_mirror": { const result = await handleGitLabTool(toolName, args); sendResult(id, { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }); break;