@zereight/mcp-gitlab 2.1.58 → 2.1.60
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.ko.md +13 -1
- package/README.md +163 -126
- package/README.zh-CN.md +13 -1
- package/build/index.js +303 -13
- package/build/schemas.js +157 -3
- package/build/scripts/check-skill-sync.js +5 -0
- package/build/scripts/generate-tool-docs.js +5 -0
- package/build/test/test-deployment-tools.js +84 -1
- package/build/test/test-orbit.js +155 -0
- package/build/test/test-permission-mode.js +1 -0
- package/build/test/test-toolset-filtering.js +3 -1
- package/build/tools/registry.js +136 -2
- package/build/tools/tool-descriptions.js +6 -0
- package/build/utils/redact-sensitive.js +11 -4
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -96,9 +96,21 @@ npm으로 설치할 수도 있습니다:
|
|
|
96
96
|
npm install -g @zereight/mcp-gitlab
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
또는 Nix를 사용해 이 플레이크를 자신의 플레이크에 추가할 수 있습니다:
|
|
100
|
+
|
|
101
|
+
```nix
|
|
102
|
+
# flake.nix
|
|
103
|
+
inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
|
|
104
|
+
|
|
105
|
+
# wherever you configure your MCP client:
|
|
106
|
+
command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
스토어 경로는 lock 파일에 고정되며, `nix flake update gitlab-mcp`로 업데이트합니다.
|
|
110
|
+
|
|
99
111
|
예시는 기존 `mcp-gitlab`보다 충돌 가능성이 낮은 `zereight-mcp-gitlab` 별칭을 사용합니다. MCP 클라이언트가 찾지 못하면 `which zereight-mcp-gitlab`의 절대 경로를 사용하세요.
|
|
100
112
|
|
|
101
|
-
전역 설치를 쓰지 않으려면 `npx -y @zereight/mcp-gitlab@2.1.
|
|
113
|
+
전역 설치를 쓰지 않으려면 `npx -y @zereight/mcp-gitlab@2.1.59`처럼 직전 안정 버전(문서가 권장하는 버전)으로 고정하세요. 항상 최신 버전을 원하면 `npx -y @zereight/mcp-gitlab@latest`를 사용하세요. 새 버전이 나오면 서버가 시작 시 stderr로 알려줍니다(`GITLAB_DISABLE_VERSION_CHECK=true`로 비활성화 가능).
|
|
102
114
|
|
|
103
115
|
#### CLI 인자 사용하기(환경 변수 문제가 있는 클라이언트용)
|
|
104
116
|
|
package/README.md
CHANGED
|
@@ -101,9 +101,21 @@ Or with npm:
|
|
|
101
101
|
npm install -g @zereight/mcp-gitlab
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
Or with Nix, by adding this flake to your own:
|
|
105
|
+
|
|
106
|
+
```nix
|
|
107
|
+
# flake.nix
|
|
108
|
+
inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
|
|
109
|
+
|
|
110
|
+
# wherever you configure your MCP client:
|
|
111
|
+
command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
The store path is pinned by your lock file; update it with `nix flake update gitlab-mcp`.
|
|
115
|
+
|
|
104
116
|
The examples use `zereight-mcp-gitlab`, a less collision-prone alias for the legacy `mcp-gitlab` binary. If your MCP client cannot find it, use the absolute path from `which zereight-mcp-gitlab`.
|
|
105
117
|
|
|
106
|
-
No global install? Pin `npx` to the previous stable release (the version these docs recommend), for example `npx -y @zereight/mcp-gitlab@2.1.
|
|
118
|
+
No global install? Pin `npx` to the previous stable release (the version these docs recommend), for example `npx -y @zereight/mcp-gitlab@2.1.59`. If you always want the newest release, use `npx -y @zereight/mcp-gitlab@latest` instead. The server prints a notice to stderr on startup when a newer version is available (disable with `GITLAB_DISABLE_VERSION_CHECK=true`).
|
|
107
119
|
|
|
108
120
|
#### Using CLI Arguments (for clients with env var issues)
|
|
109
121
|
|
|
@@ -679,131 +691,156 @@ Register the skill directory in your AI client to get optimal tool usage guidanc
|
|
|
679
691
|
106. `get_repository_tree` - Get the repository tree for a GitLab project (list files and directories)
|
|
680
692
|
107. `list_pipelines` - List pipelines in a GitLab project with filtering options
|
|
681
693
|
108. `get_pipeline` - Get details of a specific pipeline in a GitLab project
|
|
682
|
-
109. `
|
|
683
|
-
110. `
|
|
684
|
-
111. `
|
|
685
|
-
112. `
|
|
686
|
-
113. `
|
|
687
|
-
114. `
|
|
688
|
-
115. `
|
|
689
|
-
116. `
|
|
690
|
-
117. `
|
|
691
|
-
118. `
|
|
692
|
-
119. `
|
|
693
|
-
120. `
|
|
694
|
-
121. `
|
|
695
|
-
122. `
|
|
696
|
-
123. `
|
|
697
|
-
124. `
|
|
698
|
-
125. `
|
|
699
|
-
126. `
|
|
700
|
-
127. `
|
|
701
|
-
128. `
|
|
702
|
-
129. `
|
|
703
|
-
130. `
|
|
704
|
-
131. `
|
|
705
|
-
132. `
|
|
706
|
-
133. `
|
|
707
|
-
134. `
|
|
708
|
-
135. `
|
|
709
|
-
136. `
|
|
710
|
-
137. `
|
|
711
|
-
138. `
|
|
712
|
-
139. `
|
|
713
|
-
140. `
|
|
714
|
-
141. `
|
|
715
|
-
142. `
|
|
716
|
-
143. `
|
|
717
|
-
144. `
|
|
718
|
-
145. `
|
|
719
|
-
146. `
|
|
720
|
-
147. `
|
|
721
|
-
148. `
|
|
722
|
-
149. `
|
|
723
|
-
150. `
|
|
724
|
-
151. `
|
|
725
|
-
152. `
|
|
726
|
-
153. `
|
|
727
|
-
154. `
|
|
728
|
-
155. `
|
|
729
|
-
156. `
|
|
730
|
-
157. `
|
|
731
|
-
158. `
|
|
732
|
-
159. `
|
|
733
|
-
160. `
|
|
734
|
-
161. `
|
|
735
|
-
162. `
|
|
736
|
-
163. `
|
|
737
|
-
164. `
|
|
738
|
-
165. `
|
|
739
|
-
166. `
|
|
740
|
-
167. `
|
|
741
|
-
168. `
|
|
742
|
-
169. `
|
|
743
|
-
170. `
|
|
744
|
-
171. `
|
|
745
|
-
172. `
|
|
746
|
-
173. `
|
|
747
|
-
174. `
|
|
748
|
-
175. `
|
|
749
|
-
176. `
|
|
750
|
-
177. `
|
|
751
|
-
178. `
|
|
752
|
-
179. `
|
|
753
|
-
180. `
|
|
754
|
-
181. `
|
|
755
|
-
182. `
|
|
756
|
-
183. `
|
|
757
|
-
184. `
|
|
758
|
-
185. `
|
|
759
|
-
186. `
|
|
760
|
-
187. `
|
|
761
|
-
188. `
|
|
762
|
-
189. `
|
|
763
|
-
190. `
|
|
764
|
-
191. `
|
|
765
|
-
192. `
|
|
766
|
-
193. `
|
|
767
|
-
194. `
|
|
768
|
-
195. `
|
|
769
|
-
196. `
|
|
770
|
-
197. `
|
|
771
|
-
198. `
|
|
772
|
-
199. `
|
|
773
|
-
200. `
|
|
774
|
-
201. `
|
|
775
|
-
202. `
|
|
776
|
-
203. `
|
|
777
|
-
204. `
|
|
778
|
-
205. `
|
|
779
|
-
206. `
|
|
780
|
-
207. `
|
|
781
|
-
208. `
|
|
782
|
-
209. `
|
|
783
|
-
210. `
|
|
784
|
-
211. `
|
|
785
|
-
212. `
|
|
786
|
-
213. `
|
|
787
|
-
214. `
|
|
788
|
-
215. `
|
|
789
|
-
216. `
|
|
790
|
-
217. `
|
|
791
|
-
218. `
|
|
792
|
-
219. `
|
|
793
|
-
220. `
|
|
794
|
-
221. `
|
|
795
|
-
222. `
|
|
796
|
-
223. `
|
|
797
|
-
224. `
|
|
798
|
-
225. `
|
|
799
|
-
226. `
|
|
800
|
-
227. `
|
|
801
|
-
228. `
|
|
802
|
-
229. `
|
|
803
|
-
230. `
|
|
804
|
-
231. `
|
|
805
|
-
232. `
|
|
806
|
-
233. `
|
|
694
|
+
109. `get_pipeline_variables` - Get variables configured for a pipeline
|
|
695
|
+
110. `get_pipeline_test_report` - Get pipeline test report
|
|
696
|
+
111. `get_pipeline_test_report_summary` - Get pipeline test report summary
|
|
697
|
+
112. `delete_pipeline` - Delete a pipeline. Requires the project Owner role, cannot be undone, and does not automatically delete child pipelines.
|
|
698
|
+
113. `update_pipeline_metadata` - Update pipeline metadata
|
|
699
|
+
114. `list_deployments` - List deployments in a GitLab project with filtering options
|
|
700
|
+
115. `get_deployment` - Get details of a specific deployment in a GitLab project
|
|
701
|
+
116. `create_deployment` - Create a deployment
|
|
702
|
+
117. `update_deployment` - Update a deployment status
|
|
703
|
+
118. `delete_deployment` - Delete a deployment
|
|
704
|
+
119. `list_deployment_merge_requests` - List merge requests shipped with a deployment
|
|
705
|
+
120. `approve_deployment` - Approve or reject a protected-environment deployment
|
|
706
|
+
121. `list_environments` - List environments in a GitLab project
|
|
707
|
+
122. `get_environment` - Get details of a specific environment in a GitLab project
|
|
708
|
+
123. `update_environment` - Update an environment
|
|
709
|
+
124. `delete_environment` - Delete a stopped environment
|
|
710
|
+
125. `stop_environment` - Stop an environment
|
|
711
|
+
126. `stop_stale_environments` - Stop eligible stale environments; protected environments are excluded and environments are stopped, not deleted
|
|
712
|
+
127. `delete_review_app_environments` - Schedule deletion of stopped review-app environments one week later; `dry_run` defaults to true and actual scheduling requires `dry_run=false`
|
|
713
|
+
128. `list_pipeline_triggers` - List project pipeline trigger tokens
|
|
714
|
+
129. `get_pipeline_trigger` - Get a project pipeline trigger
|
|
715
|
+
130. `create_pipeline_trigger` - Create a project pipeline trigger
|
|
716
|
+
131. `update_pipeline_trigger` - Update a project pipeline trigger
|
|
717
|
+
132. `delete_pipeline_trigger` - Delete a project pipeline trigger
|
|
718
|
+
133. `trigger_pipeline` - Trigger a pipeline with a pipeline trigger token
|
|
719
|
+
134. `list_pipeline_jobs` - List all jobs in a specific pipeline
|
|
720
|
+
135. `list_pipeline_trigger_jobs` - List all trigger jobs (bridges) in a specific pipeline that trigger downstream pipelines
|
|
721
|
+
136. `get_pipeline_job` - Get details of a GitLab pipeline job number
|
|
722
|
+
137. `get_pipeline_job_output` - Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
|
|
723
|
+
138. `validate_ci_lint` - Validate provided GitLab CI/CD YAML content for a project
|
|
724
|
+
139. `validate_project_ci_lint` - Validate an existing `.gitlab-ci.yml` configuration for a project
|
|
725
|
+
140. `list_ci_catalog_resources` - List GitLab CI/CD Catalog resources/components visible to the user
|
|
726
|
+
141. `get_ci_catalog_resource` - Get details for a GitLab CI/CD Catalog resource, including versions and components
|
|
727
|
+
142. `create_pipeline` - Create a new pipeline for a branch or tag
|
|
728
|
+
143. `retry_pipeline` - Retry a failed or canceled pipeline
|
|
729
|
+
144. `cancel_pipeline` - Cancel a running pipeline
|
|
730
|
+
145. `list_pipeline_schedules` - List pipeline schedules in a project, optionally filtered to active or inactive
|
|
731
|
+
146. `get_pipeline_schedule` - Get details of a specific pipeline schedule, including its variables and last pipeline
|
|
732
|
+
147. `list_pipeline_schedule_pipelines` - List the pipelines that a pipeline schedule has triggered
|
|
733
|
+
148. `create_pipeline_schedule` - Create a new pipeline schedule for a branch or tag
|
|
734
|
+
149. `update_pipeline_schedule` - Update an existing pipeline schedule
|
|
735
|
+
150. `delete_pipeline_schedule` - Delete a pipeline schedule
|
|
736
|
+
151. `play_pipeline_schedule` - Run a pipeline schedule immediately, without changing its next scheduled run
|
|
737
|
+
152. `take_ownership_pipeline_schedule` - Take ownership of a pipeline schedule
|
|
738
|
+
153. `get_pipeline_schedule_variable` - Get a single variable of a pipeline schedule
|
|
739
|
+
154. `create_pipeline_schedule_variable` - Create a variable for a pipeline schedule
|
|
740
|
+
155. `update_pipeline_schedule_variable` - Update a variable of a pipeline schedule
|
|
741
|
+
156. `delete_pipeline_schedule_variable` - Delete a variable from a pipeline schedule
|
|
742
|
+
157. `play_pipeline_job` - Run a manual pipeline job
|
|
743
|
+
158. `play_pipeline_jobs` - Play multiple manual pipeline jobs sequentially
|
|
744
|
+
159. `retry_pipeline_job` - Retry a failed or canceled pipeline job
|
|
745
|
+
160. `cancel_pipeline_job` - Cancel a running pipeline job
|
|
746
|
+
161. `erase_pipeline_job` - Erase a pipeline job log and artifacts
|
|
747
|
+
162. `wait_for_pipeline` - Wait for a pipeline to reach a terminal status
|
|
748
|
+
163. `wait_for_job` - Wait for a job to reach a terminal status
|
|
749
|
+
164. `list_job_artifacts` - List artifact files in a job's artifacts archive. Returns file names, paths, types, and sizes
|
|
750
|
+
165. `download_job_artifacts` - Download the entire artifact archive (zip) for a job to a local path. Returns the saved file path
|
|
751
|
+
166. `get_job_artifact_file` - Get the content of a single file from a job's artifacts by its path within the archive
|
|
752
|
+
167. `list_merge_requests` - List merge requests globally or in a specific GitLab project with filtering options (project_id is now optional)
|
|
753
|
+
168. `list_group_merge_requests` - List merge requests across all projects of a group and its subgroups with filtering options
|
|
754
|
+
169. `list_milestones` - List milestones in a GitLab project with filtering options
|
|
755
|
+
170. `get_milestone` - Get details of a specific milestone
|
|
756
|
+
171. `create_milestone` - Create a new milestone in a GitLab project
|
|
757
|
+
172. `edit_milestone` - Edit an existing milestone in a GitLab project
|
|
758
|
+
173. `delete_milestone` - Delete a milestone from a GitLab project
|
|
759
|
+
174. `get_milestone_issue` - Get issues associated with a specific milestone
|
|
760
|
+
175. `get_milestone_merge_requests` - Get merge requests associated with a specific milestone
|
|
761
|
+
176. `promote_milestone` - Promote a milestone to the next stage
|
|
762
|
+
177. `get_milestone_burndown_events` - Get burndown events for a specific milestone
|
|
763
|
+
178. `list_group_milestones` - List milestones in a GitLab group with filtering options
|
|
764
|
+
179. `get_group_milestone` - Get details of a specific group milestone
|
|
765
|
+
180. `create_group_milestone` - Create a new milestone in a GitLab group
|
|
766
|
+
181. `edit_group_milestone` - Edit an existing group milestone
|
|
767
|
+
182. `delete_group_milestone` - Delete a milestone from a GitLab group
|
|
768
|
+
183. `get_group_milestone_issue` - Get issues associated with a specific group milestone
|
|
769
|
+
184. `get_group_milestone_merge_requests` - Get merge requests associated with a specific group milestone
|
|
770
|
+
185. `get_group_milestone_burndown_events` - Get burndown events for a specific group milestone
|
|
771
|
+
186. `get_users` - Get GitLab user details by usernames
|
|
772
|
+
187. `get_user` - Get user details by ID
|
|
773
|
+
188. `whoami` - Get current authenticated user details
|
|
774
|
+
189. `list_commits` - List repository commits with filtering options
|
|
775
|
+
190. `get_commit` - Get details of a specific commit
|
|
776
|
+
191. `get_commit_diff` - Get changes/diffs of a specific commit
|
|
777
|
+
192. `get_file_blame` - Get git blame for a file at a given ref. Each entry maps a contiguous range of source lines to the commit that last changed them (id, author, authored_date, message). Use range_start/range_end to limit blame to specific lines.
|
|
778
|
+
193. `list_commit_statuses` - List statuses for a specific commit
|
|
779
|
+
194. `create_commit_status` - Create or update the status of a specific commit
|
|
780
|
+
195. `list_group_iterations` - List group iterations with filtering options
|
|
781
|
+
196. `upload_markdown` - Upload a file to a GitLab project for use in markdown content
|
|
782
|
+
197. `download_attachment` - Download an uploaded file from a GitLab project by secret and filename
|
|
783
|
+
198. `health_check` - Verify server status and authentication; when authenticated, reports GitLab instance version from `/api/v4/version` (`version`, `revision`, `enterprise`)
|
|
784
|
+
199. `list_events` - List all events for the currently authenticated user
|
|
785
|
+
200. `get_project_events` - List all visible events for a specified project
|
|
786
|
+
201. `list_releases` - List all releases for a project
|
|
787
|
+
202. `get_release` - Get a release by tag name
|
|
788
|
+
203. `create_release` - Create a new release in a GitLab project
|
|
789
|
+
204. `update_release` - Update an existing release in a GitLab project
|
|
790
|
+
205. `delete_release` - Delete a release from a GitLab project (does not delete the associated tag)
|
|
791
|
+
206. `create_release_evidence` - Create release evidence for an existing release (GitLab Premium/Ultimate only)
|
|
792
|
+
207. `download_release_asset` - Download a release asset file by direct asset path
|
|
793
|
+
208. `list_tags` - List repository tags with filtering and pagination support
|
|
794
|
+
209. `get_tag` - Get details of a specific repository tag
|
|
795
|
+
210. `create_tag` - Create a new tag in the repository
|
|
796
|
+
211. `delete_tag` - Delete a tag from the repository
|
|
797
|
+
212. `get_tag_signature` - Get the signature of a signed tag
|
|
798
|
+
213. `get_work_item` - Get a single work item with full details including status, hierarchy (parent/children), type, labels, assignees, and all widgets
|
|
799
|
+
214. `list_work_items` - List work items in a project with filters (type, state, search, assignees, labels). Returns items with status and hierarchy info
|
|
800
|
+
215. `create_work_item` - Create a new work item (issue, task, incident, test_case, epic, key_result, objective, requirement, ticket). Supports setting title, description, labels, assignees, weight, parent, health status, start/due dates, milestone, and confidentiality
|
|
801
|
+
216. `update_work_item` - Update a work item. Can modify title, description, labels, assignees, weight, state, status, parent hierarchy, children, health status, start/due dates, milestone, confidentiality, linked items, and custom fields
|
|
802
|
+
217. `convert_work_item_type` - Convert a work item to a different type (e.g. issue to task, task to incident)
|
|
803
|
+
218. `list_work_item_statuses` - List available statuses for a work item type in a project. Requires GitLab Premium/Ultimate with configurable statuses
|
|
804
|
+
219. `list_custom_field_definitions` - List available custom field definitions for a work item type in a project. Returns field names, types, and IDs needed for setting custom fields via update_work_item
|
|
805
|
+
220. `move_work_item` - Move a work item (issue, task, etc.) to a different project. Uses GitLab GraphQL issueMove mutation
|
|
806
|
+
221. `list_work_item_notes` - List notes and discussions on a work item. Returns threaded discussions with author, body, timestamps, and system/internal flags
|
|
807
|
+
222. `create_work_item_note` - Add a note/comment to a work item. Supports Markdown, internal notes, and threaded replies
|
|
808
|
+
223. `list_work_item_emoji_reactions` - List all emoji reactions on a work item
|
|
809
|
+
224. `list_work_item_note_emoji_reactions` - List all emoji reactions on a work item note (comment, thread, or thread reply)
|
|
810
|
+
225. `create_work_item_emoji_reaction` - Add an emoji reaction to a work item (e.g. thumbsup, rocket, eyes)
|
|
811
|
+
226. `delete_work_item_emoji_reaction` - Remove an emoji reaction from a work item
|
|
812
|
+
227. `create_work_item_note_emoji_reaction` - Add an emoji reaction to a work item note (comment, thread, or thread reply)
|
|
813
|
+
228. `delete_work_item_note_emoji_reaction` - Remove an emoji reaction from a work item note (comment, thread, or thread reply)
|
|
814
|
+
229. `get_timeline_events` - List timeline events for an incident. Returns chronological events with notes, timestamps, and tags
|
|
815
|
+
230. `create_timeline_event` - Create a timeline event on an incident. Supports tags: 'Start time', 'End time', 'Impact detected', 'Response initiated', 'Impact mitigated', 'Cause identified'
|
|
816
|
+
231. `list_webhooks` - List all configured webhooks for a GitLab project or group. Provide either project_id or group_id
|
|
817
|
+
232. `create_webhook` - Create a webhook on a GitLab project or group
|
|
818
|
+
233. `update_webhook` - Update an existing project or group webhook
|
|
819
|
+
234. `delete_webhook` - Delete a project or group webhook
|
|
820
|
+
235. `list_webhook_events` - List recent webhook events (past 7 days) for a project or group webhook. Use summary mode for overview, then get_webhook_event for full details
|
|
821
|
+
236. `get_webhook_event` - Get full details of a specific webhook event by ID, including request/response payloads
|
|
822
|
+
237. `search_code` - Search for code across all projects on the GitLab instance (requires advanced search or exact code search to be enabled)
|
|
823
|
+
238. `search_project_code` - Search for code within a specific GitLab project (requires advanced search or exact code search to be enabled)
|
|
824
|
+
239. `search_group_code` - Search for code within a specific GitLab group (requires advanced search or exact code search to be enabled)
|
|
825
|
+
240. `list_project_variables` - List CI/CD variables for a project with optional environment scope filter
|
|
826
|
+
241. `get_project_variable` - Get a single CI/CD variable from a project by key, with optional environment scope filter
|
|
827
|
+
242. `create_project_variable` - Create a new CI/CD variable in a project
|
|
828
|
+
243. `update_project_variable` - Update an existing CI/CD variable in a project, with optional filter to disambiguate by environment scope
|
|
829
|
+
244. `delete_project_variable` - Delete a CI/CD variable from a project, with optional filter to disambiguate by environment scope
|
|
830
|
+
245. `list_group_variables` - List CI/CD variables for a group with optional environment scope filter
|
|
831
|
+
246. `get_group_variable` - Get a single CI/CD variable from a group by key, with optional environment scope filter
|
|
832
|
+
247. `create_group_variable` - Create a new CI/CD variable in a group
|
|
833
|
+
248. `update_group_variable` - Update an existing CI/CD variable in a group, with optional filter to disambiguate by environment scope
|
|
834
|
+
249. `delete_group_variable` - Delete a CI/CD variable from a group, with optional filter to disambiguate by environment scope
|
|
835
|
+
250. `get_dependency_proxy_settings` - Get dependency proxy settings for a group (enabled status, blob count, total size, image prefix, TTL policy)
|
|
836
|
+
251. `update_dependency_proxy_settings` - Update dependency proxy settings for a group (enable/disable, credentials for authenticated Docker Hub pulls)
|
|
837
|
+
252. `list_dependency_proxy_blobs` - List cached dependency proxy blobs for a group with cursor-based pagination
|
|
838
|
+
253. `purge_dependency_proxy_cache` - Schedule purge of all cached dependency proxy blobs for a group
|
|
839
|
+
254. `list_project_vulnerabilities` - List vulnerabilities for a project with optional state, severity, and report type filters (GraphQL-backed, cursor pagination)
|
|
840
|
+
255. `get_vulnerability` - Get full details of a specific vulnerability
|
|
841
|
+
256. `dismiss_vulnerability` - Dismiss a vulnerability with a reason (acceptable_risk, false_positive, used_in_tests, mitigating_control, not_applicable) and optional comment
|
|
842
|
+
257. `confirm_vulnerability` - Confirm a vulnerability as a real finding requiring remediation
|
|
843
|
+
258. `discover_tools` - Discover and activate additional tool categories for this session. Available categories: merge_requests, issues, repositories, branches, projects, labels, ci, groups, pipelines, milestones, wiki, releases, tags, users, workitems, webhooks, search, variables, dependency_proxy, vulnerabilities. Already-active categories are listed in the response.
|
|
807
844
|
|
|
808
845
|
<!-- TOOLS-END -->
|
|
809
846
|
|
package/README.zh-CN.md
CHANGED
|
@@ -96,9 +96,21 @@ brew install zereight/gitlab-mcp/zereight-mcp-gitlab
|
|
|
96
96
|
npm install -g @zereight/mcp-gitlab
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
也可以使用 Nix,把此 flake 添加到你自己的 flake 中:
|
|
100
|
+
|
|
101
|
+
```nix
|
|
102
|
+
# flake.nix
|
|
103
|
+
inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
|
|
104
|
+
|
|
105
|
+
# wherever you configure your MCP client:
|
|
106
|
+
command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
存储路径由你的 lock 文件固定,使用 `nix flake update gitlab-mcp` 更新。
|
|
110
|
+
|
|
99
111
|
示例使用 `zereight-mcp-gitlab`,这是比旧的 `mcp-gitlab` 更不容易冲突的别名。如果 MCP 客户端找不到它,请使用 `which zereight-mcp-gitlab` 输出的绝对路径。
|
|
100
112
|
|
|
101
|
-
如果不想全局安装,请将 `npx` 固定到上一个稳定版本(即文档推荐的版本),例如 `npx -y @zereight/mcp-gitlab@2.1.
|
|
113
|
+
如果不想全局安装,请将 `npx` 固定到上一个稳定版本(即文档推荐的版本),例如 `npx -y @zereight/mcp-gitlab@2.1.59`。如果始终想使用最新版本,请改用 `npx -y @zereight/mcp-gitlab@latest`。有新版本发布时,服务器会在启动时通过 stderr 提示(可用 `GITLAB_DISABLE_VERSION_CHECK=true` 关闭)。
|
|
102
114
|
|
|
103
115
|
#### 使用 CLI 参数(适用于环境变量有问题的客户端)
|
|
104
116
|
|