efficient-gitlab-mcp-server 2.6.0 → 2.6.1

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53878,7 +53878,9 @@ var ListIssueDiscussionsSchema = exports_external.object({
53878
53878
  var CreateIssueNoteSchema = exports_external.object({
53879
53879
  project_id: exports_external.string().describe("Project ID or URL-encoded path"),
53880
53880
  issue_iid: exports_external.number().describe("Issue IID"),
53881
- body: exports_external.string().describe("Note body")
53881
+ body: exports_external.string().describe("Note body"),
53882
+ discussion_id: exports_external.string().optional().describe("Discussion thread ID to reply to instead of creating a top-level note"),
53883
+ created_at: exports_external.string().optional().describe("ISO 8601 creation date (admin/project owner only)")
53882
53884
  });
53883
53885
  var UpdateIssueNoteSchema = exports_external.object({
53884
53886
  project_id: exports_external.string().describe("Project ID or URL-encoded path"),
@@ -54097,17 +54099,23 @@ function registerIssueTools(server, logger2) {
54097
54099
  tools.set("list_issue_discussions", toolRef10);
54098
54100
  const toolRef11 = server.registerTool("create_issue_note", {
54099
54101
  title: "Create Issue Note",
54100
- description: "Add a new note to an existing issue",
54102
+ description: "Add a note to an issue, or reply to a discussion thread",
54101
54103
  inputSchema: {
54102
54104
  project_id: exports_external.string().describe("Project ID or URL-encoded path"),
54103
54105
  issue_iid: exports_external.number().describe("Issue IID"),
54104
- body: exports_external.string().describe("Note body")
54106
+ body: exports_external.string().describe("Note body"),
54107
+ discussion_id: exports_external.string().optional().describe("Discussion thread ID to reply to instead of creating a top-level note"),
54108
+ created_at: exports_external.string().optional().describe("ISO 8601 creation date (admin/project owner only)")
54105
54109
  },
54106
54110
  annotations: { destructiveHint: false }
54107
54111
  }, async (params) => {
54108
54112
  const args = CreateIssueNoteSchema.parse(params);
54109
54113
  const projectId = encodeProjectId(args.project_id);
54110
- const note = await defaultClient.post(`/projects/${projectId}/issues/${args.issue_iid}/notes`, { body: args.body });
54114
+ const endpoint = args.discussion_id ? `/projects/${projectId}/issues/${args.issue_iid}/discussions/${args.discussion_id}/notes` : `/projects/${projectId}/issues/${args.issue_iid}/notes`;
54115
+ const note = await defaultClient.post(endpoint, {
54116
+ body: args.body,
54117
+ ...args.created_at && { created_at: args.created_at }
54118
+ });
54111
54119
  return { content: [{ type: "text", text: JSON.stringify(note, null, 2) }] };
54112
54120
  });
54113
54121
  toolRef11.disable();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-gitlab-mcp-server",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "mcpName": "io.github.detailobsessed/efficient-gitlab",
5
5
  "description": "Production-ready GitLab MCP Server with progressive disclosure pattern",
6
6
  "license": "MIT",