@zereight/mcp-gitlab 2.0.4 → 2.0.6
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 +24 -18
- package/build/index.js +332 -96
- package/build/schemas.js +169 -99
- package/build/test/comprehensive-mcp-tests.js +378 -0
- package/build/test/readonly-mcp-tests.js +381 -0
- package/build/test/simple-mcp-tests.js +190 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -171,10 +171,11 @@ docker run -i --rm \
|
|
|
171
171
|
- `GITLAB_DENIED_TOOLS_REGEX`: When set as a regular expression, it excludes the matching tools.
|
|
172
172
|
- `USE_GITLAB_WIKI`: When set to 'true', enables the wiki-related tools (list_wiki_pages, get_wiki_page, create_wiki_page, update_wiki_page, delete_wiki_page). By default, wiki features are disabled.
|
|
173
173
|
- `USE_MILESTONE`: When set to 'true', enables the milestone-related tools (list_milestones, get_milestone, create_milestone, edit_milestone, delete_milestone, get_milestone_issue, get_milestone_merge_requests, promote_milestone, get_milestone_burndown_events). By default, milestone features are disabled.
|
|
174
|
-
- `USE_PIPELINE`: When set to 'true', enables the pipeline-related tools (list_pipelines, get_pipeline, list_pipeline_jobs, get_pipeline_job, get_pipeline_job_output, create_pipeline, retry_pipeline, cancel_pipeline). By default, pipeline features are disabled.
|
|
174
|
+
- `USE_PIPELINE`: When set to 'true', enables the pipeline-related tools (list_pipelines, get_pipeline, list_pipeline_jobs, list_pipeline_trigger_jobs, get_pipeline_job, get_pipeline_job_output, create_pipeline, retry_pipeline, cancel_pipeline, play_pipeline_job, retry_pipeline_job, cancel_pipeline_job). By default, pipeline features are disabled.
|
|
175
175
|
- `GITLAB_AUTH_COOKIE_PATH`: Path to an authentication cookie file for GitLab instances that require cookie-based authentication. When provided, the cookie will be included in all GitLab API requests.
|
|
176
176
|
- `SSE`: When set to 'true', enables the Server-Sent Events transport.
|
|
177
177
|
- `STREAMABLE_HTTP`: When set to 'true', enables the Streamable HTTP transport. If both **SSE** and **STREAMABLE_HTTP** are set to 'true', the server will prioritize Streamable HTTP over SSE transport.
|
|
178
|
+
- `GITLAB_COMMIT_FILES_PER_PAGE`: The number of files per page that GitLab returns for commit diffs. This value should match the server-side GitLab setting. Adjust this if your GitLab instance uses a custom per-page value for commit diffs.
|
|
178
179
|
|
|
179
180
|
## Tools 🛠️
|
|
180
181
|
|
|
@@ -249,23 +250,28 @@ docker run -i --rm \
|
|
|
249
250
|
64. `create_pipeline` - Create a new pipeline for a branch or tag
|
|
250
251
|
65. `retry_pipeline` - Retry a failed or canceled pipeline
|
|
251
252
|
66. `cancel_pipeline` - Cancel a running pipeline
|
|
252
|
-
67. `
|
|
253
|
-
68. `
|
|
254
|
-
69. `
|
|
255
|
-
70. `
|
|
256
|
-
71. `
|
|
257
|
-
72. `
|
|
258
|
-
73. `
|
|
259
|
-
74. `
|
|
260
|
-
75. `
|
|
261
|
-
76. `
|
|
262
|
-
77. `
|
|
263
|
-
78. `
|
|
264
|
-
79. `
|
|
265
|
-
80. `
|
|
266
|
-
81. `
|
|
267
|
-
82. `
|
|
268
|
-
83. `
|
|
253
|
+
67. `play_pipeline_job` - Run a manual pipeline job
|
|
254
|
+
68. `retry_pipeline_job` - Retry a failed or canceled pipeline job
|
|
255
|
+
69. `cancel_pipeline_job` - Cancel a running pipeline job
|
|
256
|
+
70. `list_merge_requests` - List merge requests in a GitLab project with filtering options
|
|
257
|
+
71. `list_milestones` - List milestones in a GitLab project with filtering options
|
|
258
|
+
72. `get_milestone` - Get details of a specific milestone
|
|
259
|
+
73. `create_milestone` - Create a new milestone in a GitLab project
|
|
260
|
+
74. `edit_milestone` - Edit an existing milestone in a GitLab project
|
|
261
|
+
75. `delete_milestone` - Delete a milestone from a GitLab project
|
|
262
|
+
76. `get_milestone_issue` - Get issues associated with a specific milestone
|
|
263
|
+
77. `get_milestone_merge_requests` - Get merge requests associated with a specific milestone
|
|
264
|
+
78. `promote_milestone` - Promote a milestone to the next stage
|
|
265
|
+
79. `get_milestone_burndown_events` - Get burndown events for a specific milestone
|
|
266
|
+
80. `get_users` - Get GitLab user details by usernames
|
|
267
|
+
81. `list_commits` - List repository commits with filtering options
|
|
268
|
+
82. `get_commit` - Get details of a specific commit
|
|
269
|
+
83. `get_commit_diff` - Get changes/diffs of a specific commit
|
|
270
|
+
84. `list_group_iterations` - List group iterations with filtering options
|
|
271
|
+
85. `upload_markdown` - Upload a file to a GitLab project for use in markdown content
|
|
272
|
+
86. `download_attachment` - Download an uploaded file from a GitLab project by secret and filename
|
|
273
|
+
87. `list_events` - List all events for the currently authenticated user
|
|
274
|
+
88. `get_project_events` - List all visible events for a specified project
|
|
269
275
|
<!-- TOOLS-END -->
|
|
270
276
|
|
|
271
277
|
</details>
|