@zereight/mcp-gitlab 1.0.48 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +5 -3
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -359,7 +359,7 @@ const allTools = [
|
|
|
359
359
|
inputSchema: zodToJsonSchema(CreateProjectMilestoneSchema),
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
|
-
name: "edit_milestone
|
|
362
|
+
name: "edit_milestone",
|
|
363
363
|
description: "Edit an existing milestone in a GitLab project",
|
|
364
364
|
inputSchema: zodToJsonSchema(EditProjectMilestoneSchema),
|
|
365
365
|
},
|
|
@@ -420,7 +420,7 @@ const readOnlyTools = [
|
|
|
420
420
|
"get_milestone",
|
|
421
421
|
"get_milestone_issue",
|
|
422
422
|
"get_milestone_merge_requests",
|
|
423
|
-
"get_milestone_burndown_events"
|
|
423
|
+
"get_milestone_burndown_events",
|
|
424
424
|
];
|
|
425
425
|
// Define which tools are related to wiki and can be toggled by USE_GITLAB_WIKI
|
|
426
426
|
const wikiToolNames = [
|
|
@@ -2568,7 +2568,9 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
2568
2568
|
const args = ListMergeRequestsSchema.parse(request.params.arguments);
|
|
2569
2569
|
const mergeRequests = await listMergeRequests(args.project_id, args);
|
|
2570
2570
|
return {
|
|
2571
|
-
content: [
|
|
2571
|
+
content: [
|
|
2572
|
+
{ type: "text", text: JSON.stringify(mergeRequests, null, 2) },
|
|
2573
|
+
],
|
|
2572
2574
|
};
|
|
2573
2575
|
}
|
|
2574
2576
|
case "list_milestones": {
|