@zereight/mcp-gitlab 1.0.41 → 1.0.43
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 +4 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -332,6 +332,7 @@ const readOnlyTools = [
|
|
|
332
332
|
"list_labels",
|
|
333
333
|
"get_label",
|
|
334
334
|
"list_group_projects",
|
|
335
|
+
"get_repository_tree",
|
|
335
336
|
];
|
|
336
337
|
// Define which tools are related to wiki and can be toggled by USE_GITLAB_WIKI
|
|
337
338
|
const wikiToolNames = [
|
|
@@ -1986,7 +1987,9 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1986
1987
|
const { project_id, issue_iid, ...options } = args;
|
|
1987
1988
|
const discussions = await listIssueDiscussions(project_id, issue_iid, options);
|
|
1988
1989
|
return {
|
|
1989
|
-
content: [
|
|
1990
|
+
content: [
|
|
1991
|
+
{ type: "text", text: JSON.stringify(discussions, null, 2) },
|
|
1992
|
+
],
|
|
1990
1993
|
};
|
|
1991
1994
|
}
|
|
1992
1995
|
case "get_issue_link": {
|