@zereight/mcp-gitlab 2.0.30 → 2.0.33
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/README.md +8 -8
- package/build/index.js +777 -28
- package/build/oauth.js +16 -4
- package/build/schemas.js +310 -12
- package/build/test/schema-tests.js +311 -0
- package/build/test/test-deployment-tools.js +366 -0
- package/build/test/test-job-artifacts.js +194 -0
- package/build/test/test-merge-request-approval-state-tools.js +171 -0
- package/build/test/test-toolset-filtering.js +7 -6
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -353,9 +353,9 @@ docker run -i --rm \
|
|
|
353
353
|
- Multiple values `123,456,789`: MCP server can access projects 123, 456, and 789 but requires explicit project ID in requests
|
|
354
354
|
- `GITLAB_READ_ONLY_MODE`: When set to 'true', restricts the server to only expose read-only operations. Useful for enhanced security or when write access is not needed. Also useful for using with Cursor and it's 40 tool limit.
|
|
355
355
|
- `GITLAB_DENIED_TOOLS_REGEX`: When set as a regular expression, it excludes the matching tools.
|
|
356
|
-
- `USE_GITLAB_WIKI`: When set to 'true',
|
|
357
|
-
- `USE_MILESTONE`: When set to 'true',
|
|
358
|
-
- `USE_PIPELINE`: When set to 'true',
|
|
356
|
+
- `USE_GITLAB_WIKI`: Legacy flag. Wiki features are now enabled by default. When set to 'true', ensures wiki-related tools are included even if the `wiki` toolset is not explicitly listed in `GITLAB_TOOLSETS`.
|
|
357
|
+
- `USE_MILESTONE`: Legacy flag. Milestone features are now enabled by default. When set to 'true', ensures milestone-related tools are included even if the `milestones` toolset is not explicitly listed in `GITLAB_TOOLSETS`.
|
|
358
|
+
- `USE_PIPELINE`: Legacy flag. Pipeline features are now enabled by default. When set to 'true', ensures pipeline-related tools are included even if the `pipelines` toolset is not explicitly listed in `GITLAB_TOOLSETS`.
|
|
359
359
|
- `GITLAB_TOOLSETS`: Comma-separated list of toolset IDs to enable. When empty or unset, default toolsets are used. Set to `"all"` to enable every toolset. Available toolsets (default toolsets marked with `*`):
|
|
360
360
|
- `merge_requests`\* — MR operations, notes, discussions, draft notes, threads (31 tools)
|
|
361
361
|
- `issues`\* — Issue CRUD, notes, links, discussions (14 tools)
|
|
@@ -363,9 +363,9 @@ docker run -i --rm \
|
|
|
363
363
|
- `branches`\* — Branch creation, commits, diffs (4 tools)
|
|
364
364
|
- `projects`\* — Project/namespace info, group projects, iterations (8 tools)
|
|
365
365
|
- `labels`\* — Label CRUD (5 tools)
|
|
366
|
-
- `pipelines
|
|
367
|
-
- `milestones
|
|
368
|
-
- `wiki
|
|
366
|
+
- `pipelines`\* — Pipeline and job operations (19 tools)
|
|
367
|
+
- `milestones`\* — Milestone CRUD, issues, MRs, burndown (9 tools)
|
|
368
|
+
- `wiki`\* — Wiki page CRUD (5 tools)
|
|
369
369
|
- `releases`\* — Release CRUD, evidence, asset download (7 tools)
|
|
370
370
|
- `users`\* — User info, events, markdown upload, attachments (5 tools)
|
|
371
371
|
|
|
@@ -500,7 +500,7 @@ The token is stored per session (identified by `mcp-session-id` header) and reus
|
|
|
500
500
|
8. `create_merge_request` - Create a new merge request in a GitLab project
|
|
501
501
|
9. `fork_repository` - Fork a GitLab project to your account or specified namespace
|
|
502
502
|
10. `create_branch` - Create a new branch in a GitLab project
|
|
503
|
-
11. `get_merge_request` - Get details of a merge request (Either mergeRequestIid or branchName must be provided)
|
|
503
|
+
11. `get_merge_request` - Get details of a merge request with compact deployment summary, behind-count, commit addition summary, and approval summary (Either mergeRequestIid or branchName must be provided)
|
|
504
504
|
12. `get_merge_request_diffs` - Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
|
|
505
505
|
13. `list_merge_request_diffs` - List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
|
|
506
506
|
14. `get_branch_diffs` - Get the changes/diffs between two branches or commits in a GitLab project
|
|
@@ -587,7 +587,7 @@ The token is stored per session (identified by `mcp-session-id` header) and reus
|
|
|
587
587
|
95. `download_release_asset` - Download a release asset file by direct asset path
|
|
588
588
|
96. `approve_merge_request` - Approve a merge request (requires appropriate permissions)
|
|
589
589
|
97. `unapprove_merge_request` - Unapprove a previously approved merge request
|
|
590
|
-
98. `get_merge_request_approval_state` - Get
|
|
590
|
+
98. `get_merge_request_approval_state` - Get merge request approval details including approvers (uses `approval_state` when available, otherwise falls back to `approvals`)
|
|
591
591
|
<!-- TOOLS-END -->
|
|
592
592
|
|
|
593
593
|
</details>
|