@zereight/mcp-gitlab 2.3.18 โ 2.3.19-next.194
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 +3 -3
- package/README.md +217 -216
- package/README.pt-BR.md +3 -3
- package/README.zh-CN.md +3 -3
- package/build/index.js +30 -1
- package/build/schemas.js +18 -0
- package/build/server/mcp-help.js +1 -0
- package/build/tools/registry.js +7 -1
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
๐ **[๋ฌธ์ โ](https://zereight.github.io/gitlab-mcp/)** ยท [llms.txt](./llms.txt) ยท [llms-full.txt](./llms-full.txt)
|
|
8
8
|
|
|
9
|
-
**๊ธฐ๋ณธ ๋
ธ์ถ: 40๊ฐ ๋๊ตฌ** (`core` 38๊ฐ + `discover_tools` + `help`). ์ ์ฒด๋
|
|
9
|
+
**๊ธฐ๋ณธ ๋
ธ์ถ: 40๊ฐ ๋๊ตฌ** (`core` 38๊ฐ + `discover_tools` + `help`). ์ ์ฒด๋ 288๊ฐ(toolset 285๊ฐ + `execute_graphql` + `discover_tools` + `help`). ์๊ฒ ์์ํ๊ณ , ์ธ์
์์ `discover_tools`๋ก ํ์ฅํ์ธ์.
|
|
10
10
|
|
|
11
11
|
`zereight-mcp-gitlab` ๋ฐ์ด๋๋ฆฌ๋ฅผ ๋จผ์ ์ค์นํ์ธ์. `npm install -g @zereight/mcp-gitlab`, ๋๋ Homebrew `brew tap zereight/gitlab-mcp https://github.com/zereight/gitlab-mcp` ๋ค์ `brew install zereight/gitlab-mcp/zereight-mcp-gitlab`. ๊ณต์ MCP Registry ํญ๋ชฉ: [`io.github.zereight/gitlab-mcp`](https://registry.modelcontextprotocol.io/?q=io.github.zereight%2Fgitlab-mcp). ํ ์ค ์ค์น: `npx -y @zereight/mcp-gitlab@latest`.
|
|
12
12
|
|
|
@@ -138,7 +138,7 @@ PAT, OAuth, ์ฝ๊ธฐ ์ ์ฉ ๋ชจ๋, ๋์ API URL, ์๊ฒฉ ์ธ์ฆ์ ์ง์ํ๋ฉฐ
|
|
|
138
138
|
|
|
139
139
|
### ์ ์ด GitLab MCP๋ฅผ ์ฌ์ฉํ๋์?
|
|
140
140
|
|
|
141
|
-
- **๊ธฐ๋ณธ 40๊ฐ ๋๊ตฌ(`core` 38 + `discover_tools` + `help`); ์ ์ฒด
|
|
141
|
+
- **๊ธฐ๋ณธ 40๊ฐ ๋๊ตฌ(`core` 38 + `discover_tools` + `help`); ์ ์ฒด 288๊ฐ** โ ์๊ฒ ์์ํ๊ณ , `discover_tools`๋ก ์ธ์
์์ ํ์ฅ
|
|
142
142
|
- **MR 2๋จ๊ณ ๋ฆฌ๋ทฐ** โ `list_merge_request_changed_files` โ ๋ฐฐ์น `get_merge_request_file_diff`
|
|
143
143
|
- **Agent Skill ๋ด์ฅ** โ `skills/gitlab-mcp/` ์ํฌํ๋ก์ฐ ๊ฐ์ด๋
|
|
144
144
|
- **์ ์ฐํ ์ธ์ฆ** โ Personal Access Token, ๋ก์ปฌ OAuth2 ๋ธ๋ผ์ฐ์ ํ๋ก์ฐ, MCP OAuth ํ๋ก์, ์์ฒญ๋ณ ์๊ฒฉ ์ธ์ฆ
|
|
@@ -152,7 +152,7 @@ PAT, OAuth, ์ฝ๊ธฐ ์ ์ฉ ๋ชจ๋, ๋์ API URL, ์๊ฒฉ ์ธ์ฆ์ ์ง์ํ๋ฉฐ
|
|
|
152
152
|
| | @zereight/mcp-gitlab | GitLab MCP A (์ปค๋ฎค๋ํฐ CQRSํ) | GitLab ๊ณต์ MCP ์๋ฒ |
|
|
153
153
|
| --------------- | ---------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
154
154
|
| **์ ํฉํ ๊ฒฝ์ฐ** | AI ์์ด์ ํธ ์ํฌํ๋ก์ฐ | ์ํฐํ๋ผ์ด์ฆ ๋ฉํฐ ์ธ์คํด์ค / ๊ทธ๋ฃนํ ๋๊ตฌ | GitLab์ ๋ด์ฅ, ๋ณ๋ ์ค์น ์์ |
|
|
155
|
-
| **๋๊ตฌ ๋ชจ๋ธ** |
|
|
155
|
+
| **๋๊ตฌ ๋ชจ๋ธ** | 288๊ฐ ๋๊ตฌ: toolset 285๊ฐ + `execute_graphql` + `discover_tools` + `help` | ~50โ60๊ฐ `browse_*` / `manage_*` ๊ทธ๋ฃน ๋๊ตฌ | HTTP ํค๋๋ก ๊ณ ๋ฅด๋ toolset |
|
|
156
156
|
| **MR ๋ฆฌ๋ทฐ** | 2๋จ๊ณ ๋ฐฐ์น diff | ์๋ฒ๋ง๋ค ๋ค๋ฆ | `get_merge_request`์ diffs |
|
|
157
157
|
| **Node.js** | >=20.0.0 | ๋ณดํต >=24 | stdio๋ `mcp-remote`, Node.js 20+ |
|
|
158
158
|
| **๋ผ์ด์ ์ค** | MIT | ์๋ฒ๋ง๋ค ๋ค๋ฆ | GitLab์ ์ผ๋ถ |
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
๐ **[Documentation โ](https://zereight.github.io/gitlab-mcp/)** ยท [llms.txt](./llms.txt) ยท [llms-full.txt](./llms-full.txt)
|
|
14
14
|
|
|
15
|
-
**Default: 40 tools** (38 `core` + `discover_tools` + `help`).
|
|
15
|
+
**Default: 40 tools** (38 `core` + `discover_tools` + `help`). 288 tools exist in total (285 in toolsets + `execute_graphql` + `discover_tools` + `help`). Start lean; call `discover_tools` to activate more for this session.
|
|
16
16
|
|
|
17
17
|
Install the `zereight-mcp-gitlab` binary first with `npm install -g @zereight/mcp-gitlab`, or Homebrew `brew tap zereight/gitlab-mcp https://github.com/zereight/gitlab-mcp` and `brew install zereight/gitlab-mcp/zereight-mcp-gitlab`. Official MCP Registry listing: [`io.github.zereight/gitlab-mcp`](https://registry.modelcontextprotocol.io/?q=io.github.zereight%2Fgitlab-mcp). One-liner: `npx -y @zereight/mcp-gitlab@latest`.
|
|
18
18
|
|
|
@@ -144,7 +144,7 @@ Supports PAT, OAuth, read-only mode, dynamic API URLs, and remote authorization
|
|
|
144
144
|
|
|
145
145
|
### Why use this GitLab MCP?
|
|
146
146
|
|
|
147
|
-
- **Default 40 tools (38 `core` + `discover_tools` + `help`);
|
|
147
|
+
- **Default 40 tools (38 `core` + `discover_tools` + `help`); 288 total** โ start lean; call `discover_tools` to activate more without CQRS-style grouping
|
|
148
148
|
- **MR 2-step review** โ `list_merge_request_changed_files` โ batched `get_merge_request_file_diff`
|
|
149
149
|
- **Agent Skill built in** โ workflow guidance in `skills/gitlab-mcp/`
|
|
150
150
|
- **Flexible auth** โ Personal Access Token, local OAuth2 browser flow, MCP OAuth proxy, and per-request remote authorization
|
|
@@ -158,7 +158,7 @@ Supports PAT, OAuth, read-only mode, dynamic API URLs, and remote authorization
|
|
|
158
158
|
| | @zereight/mcp-gitlab | GitLab MCP A (community CQRS-style) | GitLab official MCP server |
|
|
159
159
|
| -------------- | ----------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
160
160
|
| **Best for** | AI agent workflows | Enterprise multi-instance / grouped tools | Built into GitLab, no separate install |
|
|
161
|
-
| **Tool model** |
|
|
161
|
+
| **Tool model** | 288 tools: 285 in toolsets + `execute_graphql` + `discover_tools` + `help` | ~50โ60 grouped `browse_*` / `manage_*` tools | Toolsets chosen with an HTTP header |
|
|
162
162
|
| **MR review** | 2-step batched diff | Varies | `get_merge_request` with diffs |
|
|
163
163
|
| **Node.js** | >=20.0.0 | Often >=24 | Node.js 20+ for stdio via `mcp-remote` |
|
|
164
164
|
| **License** | MIT | Varies | Part of GitLab |
|
|
@@ -851,219 +851,220 @@ Register the skill directory in your AI client to get optimal tool usage guidanc
|
|
|
851
851
|
72. `get_issue` - Get details of a specific issue. Returns the issue with a slim nested milestone by default; set full_response=true for the complete milestone object
|
|
852
852
|
73. `update_issue` - Update an issue. Returns a slim confirmation by default; set full_response=true for the complete updated issue object
|
|
853
853
|
74. `update_issue_description_patch` - Apply a patch (search/replace or unified diff) to an issue description. Reduces token usage by allowing small changes without sending the full description. Supports dry_run to preview changes and create_note to summarize updates.
|
|
854
|
-
75. `
|
|
855
|
-
76. `
|
|
856
|
-
77. `
|
|
857
|
-
78. `
|
|
858
|
-
79. `
|
|
859
|
-
80. `
|
|
860
|
-
81. `
|
|
861
|
-
82. `
|
|
862
|
-
83. `
|
|
863
|
-
84. `
|
|
864
|
-
85. `
|
|
865
|
-
86. `
|
|
866
|
-
87. `
|
|
867
|
-
88. `
|
|
868
|
-
89. `
|
|
869
|
-
90. `
|
|
870
|
-
91. `
|
|
871
|
-
92. `
|
|
872
|
-
93. `
|
|
873
|
-
94. `
|
|
874
|
-
95. `
|
|
875
|
-
96. `
|
|
876
|
-
97. `
|
|
877
|
-
98. `
|
|
878
|
-
99. `
|
|
879
|
-
100. `
|
|
880
|
-
101. `
|
|
881
|
-
102. `
|
|
882
|
-
103. `
|
|
883
|
-
104. `
|
|
884
|
-
105. `
|
|
885
|
-
106. `
|
|
886
|
-
107. `
|
|
887
|
-
108. `
|
|
888
|
-
109. `
|
|
889
|
-
110. `
|
|
890
|
-
111. `
|
|
891
|
-
112. `
|
|
892
|
-
113. `
|
|
893
|
-
114. `
|
|
894
|
-
115. `
|
|
895
|
-
116. `
|
|
896
|
-
117. `
|
|
897
|
-
118. `
|
|
898
|
-
119. `
|
|
899
|
-
120. `
|
|
900
|
-
121. `
|
|
901
|
-
122. `
|
|
902
|
-
123. `
|
|
903
|
-
124. `
|
|
904
|
-
125. `
|
|
905
|
-
126. `
|
|
906
|
-
127. `
|
|
907
|
-
128. `
|
|
908
|
-
129. `
|
|
909
|
-
130. `
|
|
910
|
-
131. `
|
|
911
|
-
132. `
|
|
912
|
-
133. `
|
|
913
|
-
134. `
|
|
914
|
-
135. `
|
|
915
|
-
136. `
|
|
916
|
-
137. `
|
|
917
|
-
138. `
|
|
918
|
-
139. `
|
|
919
|
-
140. `
|
|
920
|
-
141. `
|
|
921
|
-
142. `
|
|
922
|
-
143. `
|
|
923
|
-
144. `
|
|
924
|
-
145. `
|
|
925
|
-
146. `
|
|
926
|
-
147. `
|
|
927
|
-
148. `
|
|
928
|
-
149. `
|
|
929
|
-
150. `
|
|
930
|
-
151. `
|
|
931
|
-
152. `
|
|
932
|
-
153. `
|
|
933
|
-
154. `
|
|
934
|
-
155. `
|
|
935
|
-
156. `
|
|
936
|
-
157. `
|
|
937
|
-
158. `
|
|
938
|
-
159. `
|
|
939
|
-
160. `
|
|
940
|
-
161. `
|
|
941
|
-
162. `
|
|
942
|
-
163. `
|
|
943
|
-
164. `
|
|
944
|
-
165. `
|
|
945
|
-
166. `
|
|
946
|
-
167. `
|
|
947
|
-
168. `
|
|
948
|
-
169. `
|
|
949
|
-
170. `
|
|
950
|
-
171. `
|
|
951
|
-
172. `
|
|
952
|
-
173. `
|
|
953
|
-
174. `
|
|
954
|
-
175. `
|
|
955
|
-
176. `
|
|
956
|
-
177. `
|
|
957
|
-
178. `
|
|
958
|
-
179. `
|
|
959
|
-
180. `
|
|
960
|
-
181. `
|
|
961
|
-
182. `
|
|
962
|
-
183. `
|
|
963
|
-
184. `
|
|
964
|
-
185. `
|
|
965
|
-
186. `
|
|
966
|
-
187. `
|
|
967
|
-
188. `
|
|
968
|
-
189. `
|
|
969
|
-
190. `
|
|
970
|
-
191. `
|
|
971
|
-
192. `
|
|
972
|
-
193. `
|
|
973
|
-
194. `
|
|
974
|
-
195. `
|
|
975
|
-
196. `
|
|
976
|
-
197. `
|
|
977
|
-
198. `
|
|
978
|
-
199. `
|
|
979
|
-
200. `
|
|
980
|
-
201. `
|
|
981
|
-
202. `
|
|
982
|
-
203. `
|
|
983
|
-
204. `
|
|
984
|
-
205. `
|
|
985
|
-
206. `
|
|
986
|
-
207. `
|
|
987
|
-
208. `
|
|
988
|
-
209. `
|
|
989
|
-
210. `
|
|
990
|
-
211. `
|
|
991
|
-
212. `
|
|
992
|
-
213. `
|
|
993
|
-
214. `
|
|
994
|
-
215. `
|
|
995
|
-
216. `
|
|
996
|
-
217. `
|
|
997
|
-
218. `
|
|
998
|
-
219. `
|
|
999
|
-
220. `
|
|
1000
|
-
221. `
|
|
1001
|
-
222. `
|
|
1002
|
-
223. `
|
|
1003
|
-
224. `
|
|
1004
|
-
225. `
|
|
1005
|
-
226. `
|
|
1006
|
-
227. `
|
|
1007
|
-
228. `
|
|
1008
|
-
229. `
|
|
1009
|
-
230. `
|
|
1010
|
-
231. `
|
|
1011
|
-
232. `
|
|
1012
|
-
233. `
|
|
1013
|
-
234. `
|
|
1014
|
-
235. `
|
|
1015
|
-
236. `
|
|
1016
|
-
237. `
|
|
1017
|
-
238. `
|
|
1018
|
-
239. `
|
|
1019
|
-
240. `
|
|
1020
|
-
241. `
|
|
1021
|
-
242. `
|
|
1022
|
-
243. `
|
|
1023
|
-
244. `
|
|
1024
|
-
245. `
|
|
1025
|
-
246. `
|
|
1026
|
-
247. `
|
|
1027
|
-
248. `
|
|
1028
|
-
249. `
|
|
1029
|
-
250. `
|
|
1030
|
-
251. `
|
|
1031
|
-
252. `
|
|
1032
|
-
253. `
|
|
1033
|
-
254. `
|
|
1034
|
-
255. `
|
|
1035
|
-
256. `
|
|
1036
|
-
257. `
|
|
1037
|
-
258. `
|
|
1038
|
-
259. `
|
|
1039
|
-
260. `
|
|
1040
|
-
261. `
|
|
1041
|
-
262. `
|
|
1042
|
-
263. `
|
|
1043
|
-
264. `
|
|
1044
|
-
265. `
|
|
1045
|
-
266. `
|
|
1046
|
-
267. `
|
|
1047
|
-
268. `
|
|
1048
|
-
269. `
|
|
1049
|
-
270. `
|
|
1050
|
-
271. `
|
|
1051
|
-
272. `
|
|
1052
|
-
273. `
|
|
1053
|
-
274. `
|
|
1054
|
-
275. `
|
|
1055
|
-
276. `
|
|
1056
|
-
277. `
|
|
1057
|
-
278. `
|
|
1058
|
-
279. `
|
|
1059
|
-
280. `
|
|
1060
|
-
281. `
|
|
1061
|
-
282. `
|
|
1062
|
-
283. `
|
|
1063
|
-
284. `
|
|
1064
|
-
285. `
|
|
1065
|
-
286. `
|
|
1066
|
-
287. `
|
|
854
|
+
75. `reorder_issue` - Move an issue within the manual sort order shown on issue boards. move_after_id and move_before_id take the neighbor issue's global id (the `id` field), not its iid; pass at least one. Returns the reordered issue.
|
|
855
|
+
76. `delete_issue` - Delete an issue
|
|
856
|
+
77. `list_todos` - List GitLab to-do items for the current user
|
|
857
|
+
78. `mark_todo_done` - Mark a GitLab to-do item as done
|
|
858
|
+
79. `mark_all_todos_done` - Mark all pending GitLab to-do items as done for the current user
|
|
859
|
+
80. `list_issue_links` - List all issue links for a specific issue
|
|
860
|
+
81. `list_issue_discussions` - List discussions for an issue
|
|
861
|
+
82. `get_issue_link` - Get a specific issue link
|
|
862
|
+
83. `create_issue_link` - Create an issue link between two issues
|
|
863
|
+
84. `delete_issue_link` - Delete an issue link
|
|
864
|
+
85. `list_namespaces` - List all namespaces (users and groups) available to the current user. Filter by kind='group' for groups only.
|
|
865
|
+
86. `get_namespace` - Get details of a namespace (user or group) by ID or path. Groups are namespaces with kind='group'.
|
|
866
|
+
87. `verify_namespace` - Verify if a namespace path exists. Use parent_id to scope the check to a specific parent namespace โ required for nested namespaces where the same path may exist under different parents.
|
|
867
|
+
88. `get_project` - Get details of a specific project
|
|
868
|
+
89. `list_projects` - List projects accessible by the current user
|
|
869
|
+
90. `update_project` - Update project settings such as description, visibility, default branch, and feature access levels
|
|
870
|
+
91. `list_project_members` - List members of a GitLab project
|
|
871
|
+
92. `list_group_members` - List members of a GitLab group with optional name or username search
|
|
872
|
+
93. `list_labels` - List labels for a project
|
|
873
|
+
94. `get_label` - Get a single label from a project
|
|
874
|
+
95. `create_label` - Create a new label in a project
|
|
875
|
+
96. `update_label` - Update an existing label in a project
|
|
876
|
+
97. `delete_label` - Delete a label from a project
|
|
877
|
+
98. `list_group_projects` - List projects in a group
|
|
878
|
+
99. `list_wiki_pages` - List wiki pages in a project
|
|
879
|
+
100. `get_wiki_page` - Get details of a specific wiki page
|
|
880
|
+
101. `create_wiki_page` - Create a wiki page in a project
|
|
881
|
+
102. `update_wiki_page` - Update a wiki page in a project
|
|
882
|
+
103. `delete_wiki_page` - Delete a wiki page from a project
|
|
883
|
+
104. `list_group_wiki_pages` - List wiki pages in a group
|
|
884
|
+
105. `get_group_wiki_page` - Get details of a specific group wiki page
|
|
885
|
+
106. `create_group_wiki_page` - Create a wiki page in a group
|
|
886
|
+
107. `update_group_wiki_page` - Update a wiki page in a group
|
|
887
|
+
108. `delete_group_wiki_page` - Delete a wiki page from a group
|
|
888
|
+
109. `get_repository_tree` - List files and directories in a repository
|
|
889
|
+
110. `list_pipelines` - List pipelines with filtering options
|
|
890
|
+
111. `get_pipeline` - Get details of a specific pipeline
|
|
891
|
+
112. `get_pipeline_variables` - Get variables configured for a pipeline
|
|
892
|
+
113. `get_pipeline_test_report` - Get pipeline test report
|
|
893
|
+
114. `get_pipeline_test_report_summary` - Get pipeline test report summary
|
|
894
|
+
115. `delete_pipeline` - Delete a pipeline. Requires the project Owner role, cannot be undone, and does not automatically delete child pipelines.
|
|
895
|
+
116. `update_pipeline_metadata` - Update pipeline metadata
|
|
896
|
+
117. `list_deployments` - List deployments with filtering options
|
|
897
|
+
118. `get_deployment` - Get deployment details, including approval_summary, approvals, and pending_approval_count when GitLab provides them
|
|
898
|
+
119. `create_deployment` - Create a deployment
|
|
899
|
+
120. `update_deployment` - Update a deployment status
|
|
900
|
+
121. `delete_deployment` - Delete a deployment
|
|
901
|
+
122. `list_deployment_merge_requests` - List merge requests shipped with a deployment
|
|
902
|
+
123. `approve_deployment` - Approve or reject a protected-environment deployment
|
|
903
|
+
124. `list_environments` - List environments in a project
|
|
904
|
+
125. `get_environment` - Get details of a specific environment
|
|
905
|
+
126. `update_environment` - Update an environment
|
|
906
|
+
127. `delete_environment` - Delete a stopped environment
|
|
907
|
+
128. `stop_environment` - Stop an environment
|
|
908
|
+
129. `stop_stale_environments` - Stop eligible stale environments; protected environments are excluded and environments are stopped, not deleted
|
|
909
|
+
130. `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
|
|
910
|
+
131. `list_pipeline_triggers` - List project pipeline trigger tokens
|
|
911
|
+
132. `get_pipeline_trigger` - Get a project pipeline trigger
|
|
912
|
+
133. `create_pipeline_trigger` - Create a project pipeline trigger
|
|
913
|
+
134. `update_pipeline_trigger` - Update a project pipeline trigger
|
|
914
|
+
135. `delete_pipeline_trigger` - Delete a project pipeline trigger
|
|
915
|
+
136. `trigger_pipeline` - Trigger a pipeline with a pipeline trigger token
|
|
916
|
+
137. `list_pipeline_jobs` - List all jobs in a specific pipeline
|
|
917
|
+
138. `list_pipeline_trigger_jobs` - List trigger jobs (bridges) in a pipeline
|
|
918
|
+
139. `get_pipeline_job` - Get details of a GitLab pipeline job number
|
|
919
|
+
140. `get_pipeline_job_output` - Get a pipeline job trace, with end-based pagination or full-log substring/regex search
|
|
920
|
+
141. `validate_ci_lint` - Validate provided GitLab CI/CD YAML content for a project
|
|
921
|
+
142. `validate_project_ci_lint` - Validate an existing .gitlab-ci.yml configuration for a project
|
|
922
|
+
143. `list_ci_catalog_resources` - List GitLab CI/CD Catalog resources/components visible to the user
|
|
923
|
+
144. `get_ci_catalog_resource` - Get details for a GitLab CI/CD Catalog resource, including versions and components
|
|
924
|
+
145. `create_pipeline` - Create a new pipeline for a branch or tag
|
|
925
|
+
146. `retry_pipeline` - Retry a failed or canceled pipeline
|
|
926
|
+
147. `cancel_pipeline` - Cancel a running pipeline
|
|
927
|
+
148. `list_pipeline_schedules` - List pipeline schedules in a project, optionally filtered to active or inactive
|
|
928
|
+
149. `get_pipeline_schedule` - Get details of a specific pipeline schedule, including its variables and last pipeline
|
|
929
|
+
150. `list_pipeline_schedule_pipelines` - List the pipelines that a pipeline schedule has triggered
|
|
930
|
+
151. `create_pipeline_schedule` - Create a new pipeline schedule for a branch or tag
|
|
931
|
+
152. `update_pipeline_schedule` - Update an existing pipeline schedule
|
|
932
|
+
153. `delete_pipeline_schedule` - Delete a pipeline schedule
|
|
933
|
+
154. `play_pipeline_schedule` - Run a pipeline schedule immediately
|
|
934
|
+
155. `take_ownership_pipeline_schedule` - Take ownership of a pipeline schedule
|
|
935
|
+
156. `get_pipeline_schedule_variable` - Get a single variable of a pipeline schedule
|
|
936
|
+
157. `create_pipeline_schedule_variable` - Create a variable for a pipeline schedule
|
|
937
|
+
158. `update_pipeline_schedule_variable` - Update a variable of a pipeline schedule
|
|
938
|
+
159. `delete_pipeline_schedule_variable` - Delete a variable from a pipeline schedule
|
|
939
|
+
160. `play_pipeline_job` - Run a manual pipeline job
|
|
940
|
+
161. `play_pipeline_jobs` - Play multiple manual pipeline jobs sequentially
|
|
941
|
+
162. `retry_pipeline_job` - Retry a failed or canceled pipeline job
|
|
942
|
+
163. `cancel_pipeline_job` - Cancel a running pipeline job
|
|
943
|
+
164. `erase_pipeline_job` - Erase a pipeline job log and artifacts
|
|
944
|
+
165. `wait_for_pipeline` - Wait for a pipeline to reach a terminal status
|
|
945
|
+
166. `wait_for_job` - Wait for a job to reach a terminal status
|
|
946
|
+
167. `list_job_artifacts` - List artifact files in a job's archive
|
|
947
|
+
168. `download_job_artifacts` - Download job artifact archive (zip) and save it under the download directory
|
|
948
|
+
169. `get_job_artifact_file` - Get content of a single file from a job's artifacts
|
|
949
|
+
170. `list_merge_requests` - List merge requests (without project_id: user's MRs; with project_id: project MRs)
|
|
950
|
+
171. `list_group_merge_requests` - List merge requests across all projects of a group and its subgroups
|
|
951
|
+
172. `list_milestones` - List milestones with filtering options
|
|
952
|
+
173. `get_milestone` - Get details of a specific milestone
|
|
953
|
+
174. `create_milestone` - Create a new milestone
|
|
954
|
+
175. `edit_milestone` - Edit an existing milestone
|
|
955
|
+
176. `delete_milestone` - Delete a milestone
|
|
956
|
+
177. `get_milestone_issue` - Get issues associated with a specific milestone
|
|
957
|
+
178. `get_milestone_merge_requests` - Get merge requests associated with a specific milestone
|
|
958
|
+
179. `promote_milestone` - Promote a milestone to the next stage
|
|
959
|
+
180. `get_milestone_burndown_events` - Get burndown events for a specific milestone
|
|
960
|
+
181. `list_group_milestones` - List group milestones with filtering options
|
|
961
|
+
182. `get_group_milestone` - Get details of a specific group milestone
|
|
962
|
+
183. `create_group_milestone` - Create a new group milestone
|
|
963
|
+
184. `edit_group_milestone` - Edit an existing group milestone
|
|
964
|
+
185. `delete_group_milestone` - Delete a group milestone
|
|
965
|
+
186. `get_group_milestone_issue` - Get issues associated with a specific group milestone
|
|
966
|
+
187. `get_group_milestone_merge_requests` - Get merge requests associated with a specific group milestone
|
|
967
|
+
188. `get_group_milestone_burndown_events` - Get burndown events for a specific group milestone
|
|
968
|
+
189. `get_users` - Get GitLab user details by usernames
|
|
969
|
+
190. `get_user` - Get user details by ID
|
|
970
|
+
191. `whoami` - Get current authenticated user details
|
|
971
|
+
192. `list_commits` - List repository commits with filtering options
|
|
972
|
+
193. `get_commit` - Get details of a specific commit
|
|
973
|
+
194. `get_commit_diff` - Get changes/diffs of a specific commit
|
|
974
|
+
195. `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.
|
|
975
|
+
196. `list_commit_statuses` - List statuses for a commit
|
|
976
|
+
197. `create_commit_status` - Create or update the status of a commit
|
|
977
|
+
198. `list_group_iterations` - List group iterations with filtering options
|
|
978
|
+
199. `get_group_iteration` - Get a group iteration by ID, IID, or GraphQL GID
|
|
979
|
+
200. `update_group_iteration` - Update a manual group iteration's title, description, or dates
|
|
980
|
+
201. `create_group_iteration` - Create a group iteration, optionally in a given iteration cadence
|
|
981
|
+
202. `delete_group_iteration` - Delete a group iteration by ID, IID, or GraphQL GID
|
|
982
|
+
203. `list_project_iterations` - List the iterations available to a project with filtering options
|
|
983
|
+
204. `list_group_iteration_cadences` - List a group's iteration cadences with filtering options
|
|
984
|
+
205. `create_group_iteration_cadence` - Create an iteration cadence in a group
|
|
985
|
+
206. `update_group_iteration_cadence` - Update an iteration cadence's title, description, schedule, or automation
|
|
986
|
+
207. `delete_group_iteration_cadence` - Delete an iteration cadence
|
|
987
|
+
208. `upload_markdown` - Upload a file for use in markdown content
|
|
988
|
+
209. `download_attachment` - Download an uploaded file from a project (images returned as base64; other files, or images with local_path, are saved as new files under the download directory)
|
|
989
|
+
210. `health_check` - Verify server status and authentication. Always reports the MCP server version (mcp_server_version). When authenticated, also reports the GitLab instance version from GET /api/v4/version (version, revision, enterprise). Version lookup failures do not fail the health check โ those fields are omitted.
|
|
990
|
+
211. `list_events` - List events for the authenticated user (before/after: YYYY-MM-DD)
|
|
991
|
+
212. `get_project_events` - List events for a project (before/after: YYYY-MM-DD)
|
|
992
|
+
213. `list_releases` - List all releases for a project
|
|
993
|
+
214. `get_release` - Get a release by tag name
|
|
994
|
+
215. `create_release` - Create a new release
|
|
995
|
+
216. `update_release` - Update an existing release
|
|
996
|
+
217. `delete_release` - Delete a release (does not delete the tag)
|
|
997
|
+
218. `create_release_evidence` - Create release evidence (Premium/Ultimate)
|
|
998
|
+
219. `download_release_asset` - Download a release asset file by direct asset path
|
|
999
|
+
220. `list_tags` - List repository tags for a project
|
|
1000
|
+
221. `get_tag` - Get a repository tag by name
|
|
1001
|
+
222. `create_tag` - Create a new repository tag
|
|
1002
|
+
223. `delete_tag` - Delete a repository tag
|
|
1003
|
+
224. `get_tag_signature` - Get the X.509 signature of a signed tag (404 if unsigned)
|
|
1004
|
+
225. `list_protected_tags` - List protected tags in a project
|
|
1005
|
+
226. `get_protected_tag` - Get details of a single protected tag or wildcard (create access levels)
|
|
1006
|
+
227. `protect_tag` - Protect a repository tag or wildcard (set who can create it)
|
|
1007
|
+
228. `unprotect_tag` - Remove protection from a previously protected tag or wildcard
|
|
1008
|
+
229. `get_work_item` - Get a work item with full details including status, hierarchy, type, and widgets
|
|
1009
|
+
230. `list_work_items` - List work items with filters (type, state, search, assignees, labels)
|
|
1010
|
+
231. `create_work_item` - Create a work item (issue, task, incident, epic, etc.) with full field support
|
|
1011
|
+
232. `update_work_item` - Update a work item (title, description, labels, assignees, state, parent, custom fields, etc.)
|
|
1012
|
+
233. `convert_work_item_type` - Convert a work item to a different type
|
|
1013
|
+
234. `list_work_item_statuses` - List available statuses for a work item type (Premium/Ultimate)
|
|
1014
|
+
235. `list_custom_field_definitions` - List custom field definitions for a work item type
|
|
1015
|
+
236. `move_work_item` - Move a work item to a different project
|
|
1016
|
+
237. `list_work_item_notes` - List notes and discussions on a work item
|
|
1017
|
+
238. `create_work_item_note` - Add a note to a work item (supports Markdown, internal notes, threads)
|
|
1018
|
+
239. `list_work_item_emoji_reactions` - List all emoji reactions on a work item
|
|
1019
|
+
240. `list_work_item_note_emoji_reactions` - List all emoji reactions on a work item note (comment, thread, or thread reply)
|
|
1020
|
+
241. `create_work_item_emoji_reaction` - Add an emoji reaction to a work item (e.g. thumbsup, rocket, eyes)
|
|
1021
|
+
242. `delete_work_item_emoji_reaction` - Remove an emoji reaction from a work item
|
|
1022
|
+
243. `create_work_item_note_emoji_reaction` - Add an emoji reaction to a work item note (comment, thread, or thread reply)
|
|
1023
|
+
244. `delete_work_item_note_emoji_reaction` - Remove an emoji reaction from a work item note (comment, thread, or thread reply)
|
|
1024
|
+
245. `get_timeline_events` - List timeline events for an incident
|
|
1025
|
+
246. `create_timeline_event` - Create a timeline event on an incident
|
|
1026
|
+
247. `list_webhooks` - List webhooks for a project or group
|
|
1027
|
+
248. `create_webhook` - Create a webhook on a project or group
|
|
1028
|
+
249. `update_webhook` - Update an existing project or group webhook
|
|
1029
|
+
250. `delete_webhook` - Delete a project or group webhook
|
|
1030
|
+
251. `list_webhook_events` - List recent webhook events (past 7 days)
|
|
1031
|
+
252. `get_webhook_event` - Get full details of a specific webhook event
|
|
1032
|
+
253. `search_code` - Search for code across all projects (requires advanced search or Zoekt)
|
|
1033
|
+
254. `search_project_code` - Search for code within a specific project (requires advanced search or Zoekt)
|
|
1034
|
+
255. `search_group_code` - Search for code within a specific group (requires advanced search or Zoekt)
|
|
1035
|
+
256. `list_project_variables` - List CI/CD variables for a project
|
|
1036
|
+
257. `get_project_variable` - Get a single CI/CD variable from a project
|
|
1037
|
+
258. `create_project_variable` - Create a CI/CD variable for a project
|
|
1038
|
+
259. `update_project_variable` - Update an existing CI/CD variable in a project
|
|
1039
|
+
260. `delete_project_variable` - Delete a CI/CD variable from a project
|
|
1040
|
+
261. `list_group_variables` - List CI/CD variables for a group
|
|
1041
|
+
262. `get_group_variable` - Get a single CI/CD variable from a group
|
|
1042
|
+
263. `create_group_variable` - Create a CI/CD variable for a group
|
|
1043
|
+
264. `update_group_variable` - Update an existing CI/CD variable in a group
|
|
1044
|
+
265. `delete_group_variable` - Delete a CI/CD variable from a group
|
|
1045
|
+
266. `get_dependency_proxy_settings` - Get dependency proxy settings for a group
|
|
1046
|
+
267. `update_dependency_proxy_settings` - Update dependency proxy settings for a group (enable/disable, credentials for authenticated Docker Hub pulls)
|
|
1047
|
+
268. `list_dependency_proxy_blobs` - List cached dependency proxy blobs for a group
|
|
1048
|
+
269. `purge_dependency_proxy_cache` - Schedule purge of all cached dependency proxy blobs for a group
|
|
1049
|
+
270. `list_project_vulnerabilities` - List vulnerabilities for a project with optional state, severity, and report type filters (GraphQL-backed, cursor pagination)
|
|
1050
|
+
271. `get_vulnerability` - Get full details of a specific vulnerability
|
|
1051
|
+
272. `dismiss_vulnerability` - Dismiss a vulnerability with a reason (acceptable_risk, false_positive, used_in_tests, mitigating_control, not_applicable) and optional comment
|
|
1052
|
+
273. `confirm_vulnerability` - Confirm a vulnerability as a real finding requiring remediation
|
|
1053
|
+
274. `orbit_query` - Execute a GitLab Orbit graph query over the indexed SDLC knowledge graph
|
|
1054
|
+
275. `orbit_get_schema` - Fetch the current GitLab Orbit graph schema (node and edge types)
|
|
1055
|
+
276. `orbit_get_status` - Check GitLab Orbit indexing status for the enabled scope
|
|
1056
|
+
277. `orbit_list_tools` - List the MCP tool definitions exposed by GitLab Orbit
|
|
1057
|
+
278. `list_snippets` - List snippets โ project snippets when project_id is given, otherwise personal snippets
|
|
1058
|
+
279. `get_snippet` - Get a snippet's metadata. Set include_content=true to also fetch the raw file content.
|
|
1059
|
+
280. `create_snippet` - Create a snippet โ project-scoped when project_id is given, otherwise a personal snippet. Requires title plus either file_name + content (single file) or files[] (multi-file); the two shapes cannot be mixed.
|
|
1060
|
+
281. `update_snippet` - Update an existing snippet (provide at least one field to change). For multi-file edits โ renames, deletions, additions โ pass files[] with action (create/update/delete/move) and previous_path. The file_name + content shortcut still works for single-file content replacement.
|
|
1061
|
+
282. `delete_snippet` - Delete a snippet
|
|
1062
|
+
283. `list_project_runners` - List runners available to a project (type, status, paused, tag_list). Omits registration and authentication tokens.
|
|
1063
|
+
284. `get_runner` - Get a runner's tag_list, run_untagged, locked, and access_level. When a project allowlist is active, the runner must be available to an allowed project. Omits registration and authentication tokens.
|
|
1064
|
+
285. `rebase_merge_request` - Rebase the source branch of a merge request onto its target branch
|
|
1065
|
+
286. `gitlab_api_request` - Send one GitLab REST call under /api/v4. Enabled only when GITLAB_TOOLSETS lists api. Readonly allows GET; modify rejects DELETE.
|
|
1066
|
+
287. `discover_tools` - Discover and activate additional tool categories for this session. Available categories: core, merge_requests, issues, repositories, branches, projects, labels, ci, groups, pipelines, milestones, wiki, releases, tags, snippets, users, workitems, webhooks, search, variables, dependency_proxy, vulnerabilities, orbit. Already-active categories are listed in the response.
|
|
1067
|
+
288. `help` - Return a short GitLab workflow guide. Omit topic for the overview and topic list.
|
|
1067
1068
|
|
|
1068
1069
|
<!-- TOOLS-END -->
|
|
1069
1070
|
|
package/README.pt-BR.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
๐ **[Documentaรงรฃo โ](https://zereight.github.io/gitlab-mcp/)** ยท [llms.txt](./llms.txt) ยท [llms-full.txt](./llms-full.txt)
|
|
8
8
|
|
|
9
|
-
**Padrรฃo: 40 ferramentas** (38 `core` + `discover_tools` + `help`). Existem
|
|
9
|
+
**Padrรฃo: 40 ferramentas** (38 `core` + `discover_tools` + `help`). Existem 288 no total (285 em toolsets + `execute_graphql` + `discover_tools` + `help`). Comece enxuto; chame `discover_tools` para ativar mais nesta sessรฃo.
|
|
10
10
|
|
|
11
11
|
Instale o binรกrio `zereight-mcp-gitlab` antes. `npm install -g @zereight/mcp-gitlab`, ou Homebrew `brew tap zereight/gitlab-mcp https://github.com/zereight/gitlab-mcp` e `brew install zereight/gitlab-mcp/zereight-mcp-gitlab`. Listagem oficial no MCP Registry: [`io.github.zereight/gitlab-mcp`](https://registry.modelcontextprotocol.io/?q=io.github.zereight%2Fgitlab-mcp). Instalaรงรฃo em uma linha: `npx -y @zereight/mcp-gitlab@latest`.
|
|
12
12
|
|
|
@@ -138,7 +138,7 @@ Suporta PAT, OAuth, modo somente leitura, URLs de API dinรขmicas e autorizaรงรฃo
|
|
|
138
138
|
|
|
139
139
|
### Por que usar este GitLab MCP?
|
|
140
140
|
|
|
141
|
-
- **40 ferramentas por padrรฃo (38 `core` + `discover_tools` + `help`);
|
|
141
|
+
- **40 ferramentas por padrรฃo (38 `core` + `discover_tools` + `help`); 288 no total** โ comece enxuto; chame `discover_tools` para expandir nesta sessรฃo
|
|
142
142
|
- **Revisรฃo de MR em 2 etapas** โ `list_merge_request_changed_files` โ `get_merge_request_file_diff` em lote
|
|
143
143
|
- **Agent Skill integrado** โ orientaรงรฃo de workflows em `skills/gitlab-mcp/`
|
|
144
144
|
- **Autenticaรงรฃo flexรญvel** โ Personal Access Token, fluxo OAuth2 local no navegador, proxy MCP OAuth e autorizaรงรฃo remota por requisiรงรฃo
|
|
@@ -152,7 +152,7 @@ Suporta PAT, OAuth, modo somente leitura, URLs de API dinรขmicas e autorizaรงรฃo
|
|
|
152
152
|
| | @zereight/mcp-gitlab | GitLab MCP A (comunidade, estilo CQRS) | Servidor MCP oficial do GitLab |
|
|
153
153
|
| ------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
154
154
|
| **Mais indicado para** | Workflows de agentes de IA | Mรบltiplas instรขncias corporativas / ferramentas agrupadas | Integrado ao GitLab, sem instalaรงรฃo separada |
|
|
155
|
-
| **Modelo de ferramentas** |
|
|
155
|
+
| **Modelo de ferramentas** | 288 ferramentas: 285 em toolsets + `execute_graphql` + `discover_tools` + `help` | ~50โ60 ferramentas agrupadas `browse_*` / `manage_*` | Toolsets escolhidos por cabeรงalho HTTP |
|
|
156
156
|
| **Revisรฃo de MR** | Diff em lote em 2 etapas | Varia | `get_merge_request` com diffs |
|
|
157
157
|
| **Node.js** | >=20.0.0 | Frequentemente >=24 | Node.js 20+ para stdio via `mcp-remote` |
|
|
158
158
|
| **Licenรงa** | MIT | Varia | Parte do GitLab |
|
package/README.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
๐ **[ๆๆกฃ โ](https://zereight.github.io/gitlab-mcp/)** ยท [llms.txt](./llms.txt) ยท [llms-full.txt](./llms-full.txt)
|
|
8
8
|
|
|
9
|
-
**้ป่ฎคๆด้ฒ 40 ไธชๅทฅๅ
ท**๏ผ38 ไธช `core` + `discover_tools` + `help`๏ผใๆปๅ
ฑ
|
|
9
|
+
**้ป่ฎคๆด้ฒ 40 ไธชๅทฅๅ
ท**๏ผ38 ไธช `core` + `discover_tools` + `help`๏ผใๆปๅ
ฑ 288 ไธช๏ผtoolset ไธญ 285 ไธช + `execute_graphql` + `discover_tools` + `help`๏ผใๅ
็จ็ฒพ็ฎ้๏ผๅๅจๆฌไผ่ฏไธญ็จ `discover_tools` ๆฉๅฑใ
|
|
10
10
|
|
|
11
11
|
ๅ
ๅฎ่ฃ
`zereight-mcp-gitlab` ไบ่ฟๅถใ`npm install -g @zereight/mcp-gitlab`๏ผๆ Homebrew `brew tap zereight/gitlab-mcp https://github.com/zereight/gitlab-mcp` ็ถๅ `brew install zereight/gitlab-mcp/zereight-mcp-gitlab`ใๅฎๆน MCP Registry ๆก็ฎ๏ผ[`io.github.zereight/gitlab-mcp`](https://registry.modelcontextprotocol.io/?q=io.github.zereight%2Fgitlab-mcp)ใไธ้ฎๅฎ่ฃ
๏ผ`npx -y @zereight/mcp-gitlab@latest`ใ
|
|
12
12
|
|
|
@@ -138,7 +138,7 @@ GitLab ๅๅนถ่ฏทๆฑใ่ฎฎ้ขๅๆตๆฐด็บฟ่ตฐๆญค MCP๏ผ@zereight/mcp-gitlab๏ผใ
|
|
|
138
138
|
|
|
139
139
|
### ไธบไปไนไฝฟ็จ่ฟไธช GitLab MCP๏ผ
|
|
140
140
|
|
|
141
|
-
- **้ป่ฎค 40 ไธชๅทฅๅ
ท๏ผ38 ไธช `core` + `discover_tools` + `help`๏ผ๏ผๅ
ฑ
|
|
141
|
+
- **้ป่ฎค 40 ไธชๅทฅๅ
ท๏ผ38 ไธช `core` + `discover_tools` + `help`๏ผ๏ผๅ
ฑ 288 ไธช** โ ๅ
็ฒพ็ฎ๏ผๅ็จ `discover_tools` ๅจๆฌไผ่ฏๆฉๅฑ
|
|
142
142
|
- **MR ไธคๆญฅๅฎกๆฅ** โ `list_merge_request_changed_files` โ ๆน้ `get_merge_request_file_diff`
|
|
143
143
|
- **ๅ
็ฝฎ Agent Skill** โ `skills/gitlab-mcp/` ๅทฅไฝๆตๆๅ
|
|
144
144
|
- **่ฎค่ฏ็ตๆดป** โ Personal Access Tokenใๆฌๅฐ OAuth2 ๆต่งๅจๆต็จใMCP OAuth ไปฃ็ใๆ่ฏทๆฑ่ฟ็จๆๆ
|
|
@@ -152,7 +152,7 @@ GitLab ๅๅนถ่ฏทๆฑใ่ฎฎ้ขๅๆตๆฐด็บฟ่ตฐๆญค MCP๏ผ@zereight/mcp-gitlab๏ผใ
|
|
|
152
152
|
| | @zereight/mcp-gitlab | GitLab MCP A๏ผ็คพๅบ CQRS ๅ๏ผ | GitLab ๅฎๆน MCP ๆๅกๅจ |
|
|
153
153
|
| ------------ | -------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
154
154
|
| **ๆด้ๅ** | AI ไปฃ็ๅทฅไฝๆต | ไผไธๅคๅฎไพ / ๅ็ปๅทฅๅ
ท | ๅ
็ฝฎไบ GitLab๏ผๆ ้ๅ็ฌๅฎ่ฃ
|
|
|
155
|
-
| **ๅทฅๅ
ทๆจกๅ** |
|
|
155
|
+
| **ๅทฅๅ
ทๆจกๅ** | 288 ไธชๅทฅๅ
ท๏ผtoolset ไธญ 285 ไธช + `execute_graphql` + `discover_tools` + `help` | ~50โ60 ไธช `browse_*` / `manage_*` ๅ็ปๅทฅๅ
ท | ็จ HTTP ๅคด้ๆฉ toolset |
|
|
156
156
|
| **MR ๅฎกๆฅ** | ไธคๆญฅๆน้ diff | ๅ ๆๅกๅจ่ๅผ | `get_merge_request` ๅธฆ diffs |
|
|
157
157
|
| **Node.js** | >=20.0.0 | ้ๅธธ >=24 | stdio ็ป `mcp-remote`๏ผ้่ฆ Node.js 20+ |
|
|
158
158
|
| **่ฎธๅฏ่ฏ** | MIT | ๅ ๆๅกๅจ่ๅผ | GitLab ็ไธ้จๅ |
|
package/build/index.js
CHANGED
|
@@ -145,7 +145,7 @@ GitLabDiscussionNoteSchema, // Added
|
|
|
145
145
|
GitLabDiscussionSchema,
|
|
146
146
|
// Draft Notes Schemas
|
|
147
147
|
GitLabDraftNoteSchema, GitLabForkSchema, GitLabBranchSchema, GitLabProtectedBranchSchema, GitLabProtectedTagSchema, GitLabGroupSchema, GitLabIssueLinkSchema, GitLabIssueSchema, GitLabIssueWithLinkDetailsSchema, GitLabMarkdownUploadSchema, GitLabMergeRequestPipelineSchema, GitLabMergeRequestSchema, GitLabMilestonesSchema, GitLabGroupMilestonesSchema, GitLabNamespaceExistsResponseSchema, GitLabNamespaceSchema, GitLabPipelineJobSchema, GitLabDeploymentSchema, GitLabEnvironmentSchema, GitLabPipelineSchema, GitLabPipelineScheduleSchema, GitLabPipelineScheduleVariableSchema, GitLabPipelineSchedulePlayResultSchema, ListPipelineSchedulesSchema, GetPipelineScheduleSchema, ListPipelineSchedulePipelinesSchema, CreatePipelineScheduleSchema, UpdatePipelineScheduleSchema, DeletePipelineScheduleSchema, PlayPipelineScheduleSchema, TakeOwnershipPipelineScheduleSchema, GetPipelineScheduleVariableSchema, CreatePipelineScheduleVariableSchema, UpdatePipelineScheduleVariableSchema, DeletePipelineScheduleVariableSchema, GitLabPipelineTriggerJobSchema, GitLabProjectMemberSchema, GitLabProjectSchema, GitLabTodoSchema, GitLabReferenceSchema, GitLabRepositorySchema, GitLabSearchBlobResultSchema, GitLabSearchResponseSchema, GitLabTreeItemSchema, GitLabUserSchema, GitLabUsersResponseSchema, GitLabWikiPageSchema, GroupIteration, ListCommitStatusesSchema, ListBranchesSchema, ListCommitsSchema, ListDraftNotesSchema, ListGroupIterationsSchema, GetGroupIterationSchema, UpdateGroupIterationSchema, CreateGroupIterationSchema, GroupIterationCadence, ListGroupIterationCadencesSchema, DeleteGroupIterationSchema, ListProjectIterationsSchema, CreateGroupIterationCadenceSchema, UpdateGroupIterationCadenceSchema, DeleteGroupIterationCadenceSchema, ListGroupProjectsSchema, GitLabCiVariableSchema, ListProjectVariablesSchema, GetProjectVariableSchema, CreateProjectVariableSchema, UpdateProjectVariableSchema, DeleteProjectVariableSchema, ListGroupVariablesSchema, GetGroupVariableSchema, CreateGroupVariableSchema, UpdateGroupVariableSchema, DeleteGroupVariableSchema, GitLabDependencyProxySchema, GitLabDependencyProxyBlobSchema, GetDependencyProxySettingsSchema, UpdateDependencyProxySettingsSchema, ListDependencyProxyBlobsSchema, PurgeDependencyProxyCacheSchema, ListProjectVulnerabilitiesSchema, GetVulnerabilitySchema, DismissVulnerabilitySchema, ConfirmVulnerabilitySchema, ListIssueDiscussionsSchema, ListIssueLinksSchema, ListIssuesSchema, ListTodosSchema, ListLabelsSchema, ListMergeRequestDiffsSchema, // Added
|
|
148
|
-
GetMergeRequestFileDiffSchema, ListMergeRequestChangedFilesSchema, ListMergeRequestDiscussionsSchema, ListMergeRequestPipelinesSchema, ListMergeRequestsSchema, ListGroupMergeRequestsSchema, ListMergeRequestVersionsSchema, GetMergeRequestVersionSchema, GitLabMergeRequestVersionSchema, GitLabMergeRequestVersionDetailSchema, ListNamespacesSchema, ListPipelineJobsSchema, ListPipelinesSchema, ListDeploymentsSchema, ListEnvironmentsSchema, ListProjectRunnersSchema, GetRunnerSchema, ListPipelineTriggerJobsSchema, ValidateCiLintSchema, ValidateProjectCiLintSchema, ListCiCatalogResourcesSchema, GetCiCatalogResourceSchema, ListProjectMembersSchema, ListGroupMembersSchema, ListProjectMilestonesSchema, ListGroupMilestonesSchema, ListProjectsSchema, ListWikiPagesSchema, GetGroupWikiPageSchema, ListGroupWikiPagesSchema, UpdateGroupWikiPageSchema, MarkdownUploadSchema, MarkdownUploadRemoteSchema, DownloadAttachmentSchema, DownloadJobArtifactsSchema, GetJobArtifactFileSchema, GitLabArtifactEntrySchema, ListJobArtifactsSchema, MergeMergeRequestSchema, ApproveMergeRequestSchema, UnapproveMergeRequestSchema, RebaseMergeRequestSchema, GetMergeRequestApprovalStateSchema, GetMergeRequestConflictsSchema, GitLabMergeRequestApprovalStateSchema, MyIssuesSchema, OrbitQuerySchema, OrbitSchemaSchema, OrbitStatusSchema, OrbitToolsSchema, MarkAllTodosDoneSchema, MarkTodoDoneSchema, PaginatedDiscussionsResponseSchema, PromoteProjectMilestoneSchema, PublishDraftNoteSchema, PlayPipelineJobSchema, PushFilesSchema, RetryPipelineJobSchema, RetryPipelineSchema, SearchCodeSchema, SearchGroupCodeSchema, SearchProjectCodeSchema, SearchRepositoriesSchema, UpdateDraftNoteSchema, UpdateIssueNoteSchema, UpdateIssueSchema, UpdateIssueDescriptionPatchSchema, UpdateLabelSchema, UpdateProjectSchema, UpdateMergeRequestNoteSchema, UpdateMergeRequestDiscussionNoteSchema, UpdateMergeRequestSchema, UpdateWikiPageSchema, VerifyNamespaceSchema, GitLabEventSchema, ListEventsSchema, GetProjectEventsSchema, ExecuteGraphQLSchema, GitLabReleaseSchema, ListReleasesSchema, GetReleaseSchema, CreateReleaseSchema, UpdateReleaseSchema, DeleteReleaseSchema, CreateReleaseEvidenceSchema, DownloadReleaseAssetSchema, ListTagsSchema, GetTagSchema, CreateTagSchema, DeleteTagSchema, GetTagSignatureSchema, ListProtectedTagsSchema, GetProtectedTagSchema, ProtectTagSchema, UnprotectTagSchema, GitLabTagSchema, GitLabTagSignatureSchema, ListSnippetsSchema, GetSnippetSchema, CreateSnippetSchema, UpdateSnippetSchema, DeleteSnippetSchema, GitLabSnippetSchema, GetMergeRequestNotesSchema, GetMergeRequestNoteSchema, GetMergeRequestDiscussionSchema, DeleteMergeRequestDiscussionNoteSchema, ResolveMergeRequestThreadSchema, GetWorkItemSchema, ListWorkItemsSchema, CreateWorkItemSchema, UpdateWorkItemSchema, ConvertWorkItemTypeSchema, ListWorkItemStatusesSchema, ListWorkItemNotesSchema, CreateWorkItemNoteSchema, CreateWorkItemEmojiReactionSchema, CreateWorkItemNoteEmojiReactionSchema, ListWorkItemEmojiReactionsSchema, ListWorkItemNoteEmojiReactionsSchema, DeleteWorkItemEmojiReactionSchema, DeleteWorkItemNoteEmojiReactionSchema, MoveWorkItemSchema, ListCustomFieldDefinitionsSchema, GetTimelineEventsSchema, CreateTimelineEventSchema, ListWebhooksSchema, CreateWebhookSchema, UpdateWebhookSchema, DeleteWebhookSchema, ListWebhookEventsSchema, GetWebhookEventSchema, HealthCheckSchema, } from "./schemas.js";
|
|
148
|
+
GetMergeRequestFileDiffSchema, ListMergeRequestChangedFilesSchema, ListMergeRequestDiscussionsSchema, ListMergeRequestPipelinesSchema, ListMergeRequestsSchema, ListGroupMergeRequestsSchema, ListMergeRequestVersionsSchema, GetMergeRequestVersionSchema, GitLabMergeRequestVersionSchema, GitLabMergeRequestVersionDetailSchema, ListNamespacesSchema, ListPipelineJobsSchema, ListPipelinesSchema, ListDeploymentsSchema, ListEnvironmentsSchema, ListProjectRunnersSchema, GetRunnerSchema, ListPipelineTriggerJobsSchema, ValidateCiLintSchema, ValidateProjectCiLintSchema, ListCiCatalogResourcesSchema, GetCiCatalogResourceSchema, ListProjectMembersSchema, ListGroupMembersSchema, ListProjectMilestonesSchema, ListGroupMilestonesSchema, ListProjectsSchema, ListWikiPagesSchema, GetGroupWikiPageSchema, ListGroupWikiPagesSchema, UpdateGroupWikiPageSchema, MarkdownUploadSchema, MarkdownUploadRemoteSchema, DownloadAttachmentSchema, DownloadJobArtifactsSchema, GetJobArtifactFileSchema, GitLabArtifactEntrySchema, ListJobArtifactsSchema, MergeMergeRequestSchema, ApproveMergeRequestSchema, UnapproveMergeRequestSchema, RebaseMergeRequestSchema, GetMergeRequestApprovalStateSchema, GetMergeRequestConflictsSchema, GitLabMergeRequestApprovalStateSchema, MyIssuesSchema, OrbitQuerySchema, OrbitSchemaSchema, OrbitStatusSchema, OrbitToolsSchema, MarkAllTodosDoneSchema, MarkTodoDoneSchema, PaginatedDiscussionsResponseSchema, PromoteProjectMilestoneSchema, PublishDraftNoteSchema, PlayPipelineJobSchema, PushFilesSchema, RetryPipelineJobSchema, RetryPipelineSchema, SearchCodeSchema, SearchGroupCodeSchema, SearchProjectCodeSchema, SearchRepositoriesSchema, UpdateDraftNoteSchema, UpdateIssueNoteSchema, UpdateIssueSchema, UpdateIssueDescriptionPatchSchema, ReorderIssueSchema, UpdateLabelSchema, UpdateProjectSchema, UpdateMergeRequestNoteSchema, UpdateMergeRequestDiscussionNoteSchema, UpdateMergeRequestSchema, UpdateWikiPageSchema, VerifyNamespaceSchema, GitLabEventSchema, ListEventsSchema, GetProjectEventsSchema, ExecuteGraphQLSchema, GitLabReleaseSchema, ListReleasesSchema, GetReleaseSchema, CreateReleaseSchema, UpdateReleaseSchema, DeleteReleaseSchema, CreateReleaseEvidenceSchema, DownloadReleaseAssetSchema, ListTagsSchema, GetTagSchema, CreateTagSchema, DeleteTagSchema, GetTagSignatureSchema, ListProtectedTagsSchema, GetProtectedTagSchema, ProtectTagSchema, UnprotectTagSchema, GitLabTagSchema, GitLabTagSignatureSchema, ListSnippetsSchema, GetSnippetSchema, CreateSnippetSchema, UpdateSnippetSchema, DeleteSnippetSchema, GitLabSnippetSchema, GetMergeRequestNotesSchema, GetMergeRequestNoteSchema, GetMergeRequestDiscussionSchema, DeleteMergeRequestDiscussionNoteSchema, ResolveMergeRequestThreadSchema, GetWorkItemSchema, ListWorkItemsSchema, CreateWorkItemSchema, UpdateWorkItemSchema, ConvertWorkItemTypeSchema, ListWorkItemStatusesSchema, ListWorkItemNotesSchema, CreateWorkItemNoteSchema, CreateWorkItemEmojiReactionSchema, CreateWorkItemNoteEmojiReactionSchema, ListWorkItemEmojiReactionsSchema, ListWorkItemNoteEmojiReactionsSchema, DeleteWorkItemEmojiReactionSchema, DeleteWorkItemNoteEmojiReactionSchema, MoveWorkItemSchema, ListCustomFieldDefinitionsSchema, GetTimelineEventsSchema, CreateTimelineEventSchema, ListWebhooksSchema, CreateWebhookSchema, UpdateWebhookSchema, DeleteWebhookSchema, ListWebhookEventsSchema, GetWebhookEventSchema, HealthCheckSchema, } from "./schemas.js";
|
|
149
149
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
150
150
|
import { createLogger, flushBufferedLogs, flushStartupLogs } from "./utils/logger.js";
|
|
151
151
|
const logger = createLogger();
|
|
@@ -1765,6 +1765,27 @@ async function updateIssue(projectId, issueIid, options) {
|
|
|
1765
1765
|
const data = await response.json();
|
|
1766
1766
|
return GitLabIssueSchema.parse(data);
|
|
1767
1767
|
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Reorder an issue within the project's manual sort order (issue boards)
|
|
1770
|
+
* ์ด์ ์๋ ์ ๋ ฌ ์์ ๋ณ๊ฒฝ
|
|
1771
|
+
*
|
|
1772
|
+
* @param {string} projectId - The ID or URL-encoded path of the project
|
|
1773
|
+
* @param {number|string} issueIid - The internal ID of the project issue
|
|
1774
|
+
* @param {Object} options - move_after_id / move_before_id (global issue ids)
|
|
1775
|
+
* @returns {Promise<GitLabIssue>} The reordered issue
|
|
1776
|
+
*/
|
|
1777
|
+
async function reorderIssue(projectId, issueIid, options) {
|
|
1778
|
+
projectId = decodeURIComponent(projectId); // Decode project ID
|
|
1779
|
+
const url = new URL(`${getEffectiveApiUrl()}/projects/${encodeGitLabPathSegment(getEffectiveProjectId(projectId))}/issues/${encodeGitLabPathSegment(issueIid)}/reorder`);
|
|
1780
|
+
const response = await fetch(url.toString(), {
|
|
1781
|
+
...getFetchConfig(),
|
|
1782
|
+
method: "PUT",
|
|
1783
|
+
body: JSON.stringify(options),
|
|
1784
|
+
});
|
|
1785
|
+
await handleGitLabError(response);
|
|
1786
|
+
const data = await response.json();
|
|
1787
|
+
return GitLabIssueSchema.parse(data);
|
|
1788
|
+
}
|
|
1768
1789
|
/**
|
|
1769
1790
|
* Delete an issue from a GitLab project
|
|
1770
1791
|
* ์ด์ ์ญ์
|
|
@@ -9391,6 +9412,14 @@ async function handleToolCall(params) {
|
|
|
9391
9412
|
content: [{ type: "text", text: JSON.stringify(responseBody) }],
|
|
9392
9413
|
};
|
|
9393
9414
|
}
|
|
9415
|
+
case "reorder_issue": {
|
|
9416
|
+
const args = ReorderIssueSchema.parse(params.arguments);
|
|
9417
|
+
const { project_id, issue_iid, ...options } = args;
|
|
9418
|
+
const issue = await reorderIssue(project_id, issue_iid, options);
|
|
9419
|
+
return {
|
|
9420
|
+
content: [{ type: "text", text: JSON.stringify(issue) }],
|
|
9421
|
+
};
|
|
9422
|
+
}
|
|
9394
9423
|
case "update_issue_description_patch": {
|
|
9395
9424
|
const args = UpdateIssueDescriptionPatchSchema.parse(params.arguments);
|
|
9396
9425
|
const { project_id, issue_iid, patch_type, patch, dry_run, create_note, allow_multiple } = args;
|
package/build/schemas.js
CHANGED
|
@@ -2694,6 +2694,24 @@ export const DeleteIssueSchema = z.object({
|
|
|
2694
2694
|
project_id: z.coerce.string().describe("Project ID or URL-encoded path"),
|
|
2695
2695
|
issue_iid: z.coerce.string().describe("The internal ID of the project issue"),
|
|
2696
2696
|
});
|
|
2697
|
+
export const ReorderIssueSchema = z
|
|
2698
|
+
.object({
|
|
2699
|
+
project_id: z.coerce.string().describe("Project ID or URL-encoded path"),
|
|
2700
|
+
issue_iid: z.coerce.string().describe("The internal ID of the project issue"),
|
|
2701
|
+
move_after_id: z.coerce
|
|
2702
|
+
.number()
|
|
2703
|
+
.int()
|
|
2704
|
+
.optional()
|
|
2705
|
+
.describe("Global issue id (the `id` field, not the project-scoped `iid`) of the issue that should come after this one"),
|
|
2706
|
+
move_before_id: z.coerce
|
|
2707
|
+
.number()
|
|
2708
|
+
.int()
|
|
2709
|
+
.optional()
|
|
2710
|
+
.describe("Global issue id (the `id` field, not the project-scoped `iid`) of the issue that should come before this one"),
|
|
2711
|
+
})
|
|
2712
|
+
.refine(data => data.move_after_id !== undefined || data.move_before_id !== undefined, {
|
|
2713
|
+
message: "At least one of 'move_after_id' or 'move_before_id' must be provided",
|
|
2714
|
+
});
|
|
2697
2715
|
export const UpdateIssueDescriptionPatchSchema = z.object({
|
|
2698
2716
|
project_id: z.coerce.string().describe("Project ID or URL-encoded path"),
|
|
2699
2717
|
issue_iid: z.coerce.string().describe("The internal ID of the project issue"),
|
package/build/server/mcp-help.js
CHANGED
|
@@ -51,6 +51,7 @@ const GUIDES = {
|
|
|
51
51
|
"Issues: list_issues (default scope is issues you created; use scope=all), my_issues, get_issue.",
|
|
52
52
|
"Write: create_issue, update_issue, create_issue_note, list_issue_discussions.",
|
|
53
53
|
"Small description edits: update_issue_description_patch instead of resending the full body.",
|
|
54
|
+
"Board order: reorder_issue (move_after_id / move_before_id are global issue ids, not iids).",
|
|
54
55
|
"project_id is a numeric ID or URL-encoded path.",
|
|
55
56
|
].join("\n"),
|
|
56
57
|
pipelines: [
|
package/build/tools/registry.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toJSONSchema } from "../utils/schema.js";
|
|
2
2
|
import { USE_GITLAB_WIKI, USE_MILESTONE, USE_PIPELINE, SSE, STREAMABLE_HTTP } from "../config.js";
|
|
3
3
|
import { getToolDescription } from "./tool-descriptions.js";
|
|
4
|
-
import { ApproveMergeRequestSchema, BulkPublishDraftNotesSchema, CancelPipelineJobSchema, ErasePipelineJobSchema, CancelPipelineSchema, ConvertWorkItemTypeSchema, CreateBranchSchema, CreateDraftNoteSchema, CreateGroupSchema, CreateGroupWikiPageSchema, CreateIssueLinkSchema, CreateIssueNoteSchema, CreateIssueSchema, CreateIssueEmojiReactionSchema, CreateIssueNoteEmojiReactionSchema, ListIssueEmojiReactionsSchema, ListIssueNoteEmojiReactionsSchema, CreateLabelSchema, MarkAllTodosDoneSchema, ListTodosSchema, MarkTodoDoneSchema, CreateMergeRequestDiscussionNoteSchema, CreateMergeRequestEmojiReactionSchema, ListMergeRequestEmojiReactionsSchema, ListMergeRequestNoteEmojiReactionsSchema, CreateMergeRequestNoteSchema, CreateMergeRequestNoteEmojiReactionSchema, CreateMergeRequestSchema, CreateMergeRequestThreadSchema, CreateNoteSchema, CreateCommitStatusSchema, CreateOrUpdateFileSchema, CreatePipelineSchema, CreateProjectMilestoneSchema, CreateGroupMilestoneSchema, CreateReleaseEvidenceSchema, CreateReleaseSchema, CreateRepositorySchema, CreateTagSchema, CreateTimelineEventSchema, CreateWebhookSchema, CreateWikiPageSchema, CreateWorkItemNoteSchema, CreateWorkItemEmojiReactionSchema, CreateWorkItemNoteEmojiReactionSchema, ListWorkItemEmojiReactionsSchema, ListWorkItemNoteEmojiReactionsSchema, CreateWorkItemSchema, DeleteBranchSchema, GetProtectedBranchSchema, ListProtectedBranchesSchema, ProtectBranchSchema, UpdateProtectedBranchSchema, ProtectTagSchema, UnprotectBranchSchema, UnprotectTagSchema, UpdateDefaultBranchSchema, DeleteDraftNoteSchema, DeleteGroupMilestoneSchema, DeleteGroupWikiPageSchema, DeleteIssueLinkSchema, DeleteIssueSchema, DeleteIssueEmojiReactionSchema, DeleteIssueNoteEmojiReactionSchema, DeleteLabelSchema, DeleteMergeRequestDiscussionNoteSchema, DeleteMergeRequestNoteSchema, DeleteMergeRequestEmojiReactionSchema, DeleteMergeRequestNoteEmojiReactionSchema, DeleteProjectMilestoneSchema, DeleteReleaseSchema, DeleteTagSchema, DeleteWebhookSchema, DeleteWikiPageSchema, DeleteWorkItemEmojiReactionSchema, DeleteWorkItemNoteEmojiReactionSchema, DownloadAttachmentSchema, DownloadAttachmentRemoteSchema, DownloadJobArtifactsSchema, DownloadJobArtifactsRemoteSchema, DownloadReleaseAssetSchema, EditProjectMilestoneSchema, EditGroupMilestoneSchema, ExecuteGraphQLSchema, ForkRepositorySchema, HealthCheckSchema, GetBranchSchema, GetBranchDiffsSchema, GetCommitDiffSchema, GetCommitSchema, GetFileBlameSchema, GetDeploymentSchema, CreateDeploymentSchema, UpdateDeploymentSchema, DeploymentApprovalSchema, ListDeploymentMergeRequestsSchema, GetDraftNoteSchema, GetEnvironmentSchema, UpdateEnvironmentSchema, StopEnvironmentSchema, StopStaleEnvironmentsSchema, DeleteReviewAppEnvironmentsSchema, PipelineTriggerIdSchema, ListPipelineTriggersSchema, CreatePipelineTriggerSchema, UpdatePipelineTriggerSchema, TriggerPipelineSchema, GetFileContentsSchema, GetGroupWikiPageSchema, GetIssueLinkSchema, GetIssueSchema, GetJobArtifactFileSchema, GetLabelSchema, GetMergeRequestApprovalStateSchema, GetMergeRequestConflictsSchema, GetMergeRequestDiffsSchema, GetMergeRequestFileDiffSchema, GetMergeRequestDiscussionSchema, GetMergeRequestNoteSchema, GetMergeRequestNotesSchema, GetMergeRequestSchema, GetMergeRequestVersionSchema, GetMilestoneBurndownEventsSchema, GetMilestoneIssuesSchema, GetMilestoneMergeRequestsSchema, GetGroupMilestoneSchema, GetGroupMilestoneIssuesSchema, GetGroupMilestoneMergeRequestsSchema, GetGroupMilestoneBurndownEventsSchema, GetNamespaceSchema, GetPipelineJobOutputSchema, PipelineJobControlSchema, GetPipelineSchema, GetRunnerSchema, GetPipelineVariablesSchema, UpdatePipelineMetadataSchema, DeletePipelineSchema, PipelineReportSchema, WaitForPipelineSchema, WaitForPipelineJobSchema, PlayPipelineJobsSchema, GetProjectEventsSchema, GetProjectMilestoneSchema, GetProjectSchema, GetReleaseSchema, GetRepositoryTreeSchema, GetTagSchema, GetTagSignatureSchema, GetProtectedTagSchema, GetTimelineEventsSchema, GetUsersSchema, GetUserSchema, WhoAmISchema, GetWebhookEventSchema, GetWikiPageSchema, GetWorkItemSchema, ListBranchesSchema, ListCommitsSchema, ListCommitStatusesSchema, ListCustomFieldDefinitionsSchema, ListDeploymentsSchema, ListDraftNotesSchema, ListEnvironmentsSchema, ListEventsSchema, ListGroupIterationsSchema, GetGroupIterationSchema, UpdateGroupIterationSchema, CreateGroupIterationSchema, ListGroupIterationCadencesSchema, DeleteGroupIterationSchema, ListProjectIterationsSchema, CreateGroupIterationCadenceSchema, UpdateGroupIterationCadenceSchema, DeleteGroupIterationCadenceSchema, ListGroupMilestonesSchema, ListGroupProjectsSchema, ListGroupWikiPagesSchema, ListIssueDiscussionsSchema, ListIssueLinksSchema, ListIssuesSchema, ListJobArtifactsSchema, ListLabelsSchema, ListMergeRequestChangedFilesSchema, ListMergeRequestDiffsSchema, ListMergeRequestDiscussionsSchema, ListMergeRequestPipelinesSchema, ListMergeRequestVersionsSchema, ListMergeRequestsSchema, ListGroupMergeRequestsSchema, ListNamespacesSchema, ListPipelineJobsSchema, ListPipelineTriggerJobsSchema, ValidateCiLintSchema, ValidateProjectCiLintSchema, ListCiCatalogResourcesSchema, GetCiCatalogResourceSchema, ListPipelinesSchema, ListPipelineSchedulesSchema, GetPipelineScheduleSchema, ListPipelineSchedulePipelinesSchema, CreatePipelineScheduleSchema, UpdatePipelineScheduleSchema, DeletePipelineScheduleSchema, PlayPipelineScheduleSchema, TakeOwnershipPipelineScheduleSchema, GetPipelineScheduleVariableSchema, CreatePipelineScheduleVariableSchema, UpdatePipelineScheduleVariableSchema, DeletePipelineScheduleVariableSchema, ListGroupMembersSchema, ListProjectMembersSchema, ListProjectMilestonesSchema, ListProjectsSchema, ListProjectRunnersSchema, ListReleasesSchema, ListTagsSchema, ListProtectedTagsSchema, ListWebhookEventsSchema, ListWebhooksSchema, ListWikiPagesSchema, ListWorkItemNotesSchema, ListWorkItemStatusesSchema, ListWorkItemsSchema, MarkdownUploadSchema, MarkdownUploadRemoteSchema, MergeMergeRequestSchema, MoveWorkItemSchema, MyIssuesSchema, OrbitQuerySchema, OrbitSchemaSchema, OrbitStatusSchema, OrbitToolsSchema, PlayPipelineJobSchema, PromoteProjectMilestoneSchema, PublishDraftNoteSchema, PushFilesSchema, ResolveMergeRequestThreadSchema, RetryPipelineJobSchema, RetryPipelineSchema, SearchCodeSchema, SearchGroupCodeSchema, SearchProjectCodeSchema, SearchRepositoriesSchema, ListSnippetsSchema, GetSnippetSchema, CreateSnippetSchema, UpdateSnippetSchema, DeleteSnippetSchema, UnapproveMergeRequestSchema, RebaseMergeRequestSchema, UpdateDraftNoteSchema, UpdateGroupWikiPageSchema, UpdateIssueNoteSchema, UpdateIssueSchema, UpdateIssueDescriptionPatchSchema, UpdateLabelSchema, UpdateProjectSchema, UpdateMergeRequestDiscussionNoteSchema, UpdateMergeRequestNoteSchema, UpdateMergeRequestSchema, UpdateReleaseSchema, UpdateWebhookSchema, UpdateWikiPageSchema, UpdateWorkItemSchema, VerifyNamespaceSchema, ListProjectVariablesSchema, GetProjectVariableSchema, CreateProjectVariableSchema, UpdateProjectVariableSchema, DeleteProjectVariableSchema, ListGroupVariablesSchema, GetGroupVariableSchema, CreateGroupVariableSchema, UpdateGroupVariableSchema, DeleteGroupVariableSchema, GetDependencyProxySettingsSchema, UpdateDependencyProxySettingsSchema, ListDependencyProxyBlobsSchema, PurgeDependencyProxyCacheSchema, ListProjectVulnerabilitiesSchema, GetVulnerabilitySchema, DismissVulnerabilitySchema, ConfirmVulnerabilitySchema, } from "../schemas.js";
|
|
4
|
+
import { ApproveMergeRequestSchema, BulkPublishDraftNotesSchema, CancelPipelineJobSchema, ErasePipelineJobSchema, CancelPipelineSchema, ConvertWorkItemTypeSchema, CreateBranchSchema, CreateDraftNoteSchema, CreateGroupSchema, CreateGroupWikiPageSchema, CreateIssueLinkSchema, CreateIssueNoteSchema, CreateIssueSchema, CreateIssueEmojiReactionSchema, CreateIssueNoteEmojiReactionSchema, ListIssueEmojiReactionsSchema, ListIssueNoteEmojiReactionsSchema, CreateLabelSchema, MarkAllTodosDoneSchema, ListTodosSchema, MarkTodoDoneSchema, CreateMergeRequestDiscussionNoteSchema, CreateMergeRequestEmojiReactionSchema, ListMergeRequestEmojiReactionsSchema, ListMergeRequestNoteEmojiReactionsSchema, CreateMergeRequestNoteSchema, CreateMergeRequestNoteEmojiReactionSchema, CreateMergeRequestSchema, CreateMergeRequestThreadSchema, CreateNoteSchema, CreateCommitStatusSchema, CreateOrUpdateFileSchema, CreatePipelineSchema, CreateProjectMilestoneSchema, CreateGroupMilestoneSchema, CreateReleaseEvidenceSchema, CreateReleaseSchema, CreateRepositorySchema, CreateTagSchema, CreateTimelineEventSchema, CreateWebhookSchema, CreateWikiPageSchema, CreateWorkItemNoteSchema, CreateWorkItemEmojiReactionSchema, CreateWorkItemNoteEmojiReactionSchema, ListWorkItemEmojiReactionsSchema, ListWorkItemNoteEmojiReactionsSchema, CreateWorkItemSchema, DeleteBranchSchema, GetProtectedBranchSchema, ListProtectedBranchesSchema, ProtectBranchSchema, UpdateProtectedBranchSchema, ProtectTagSchema, UnprotectBranchSchema, UnprotectTagSchema, UpdateDefaultBranchSchema, DeleteDraftNoteSchema, DeleteGroupMilestoneSchema, DeleteGroupWikiPageSchema, DeleteIssueLinkSchema, DeleteIssueSchema, DeleteIssueEmojiReactionSchema, DeleteIssueNoteEmojiReactionSchema, DeleteLabelSchema, DeleteMergeRequestDiscussionNoteSchema, DeleteMergeRequestNoteSchema, DeleteMergeRequestEmojiReactionSchema, DeleteMergeRequestNoteEmojiReactionSchema, DeleteProjectMilestoneSchema, DeleteReleaseSchema, DeleteTagSchema, DeleteWebhookSchema, DeleteWikiPageSchema, DeleteWorkItemEmojiReactionSchema, DeleteWorkItemNoteEmojiReactionSchema, DownloadAttachmentSchema, DownloadAttachmentRemoteSchema, DownloadJobArtifactsSchema, DownloadJobArtifactsRemoteSchema, DownloadReleaseAssetSchema, EditProjectMilestoneSchema, EditGroupMilestoneSchema, ExecuteGraphQLSchema, ForkRepositorySchema, HealthCheckSchema, GetBranchSchema, GetBranchDiffsSchema, GetCommitDiffSchema, GetCommitSchema, GetFileBlameSchema, GetDeploymentSchema, CreateDeploymentSchema, UpdateDeploymentSchema, DeploymentApprovalSchema, ListDeploymentMergeRequestsSchema, GetDraftNoteSchema, GetEnvironmentSchema, UpdateEnvironmentSchema, StopEnvironmentSchema, StopStaleEnvironmentsSchema, DeleteReviewAppEnvironmentsSchema, PipelineTriggerIdSchema, ListPipelineTriggersSchema, CreatePipelineTriggerSchema, UpdatePipelineTriggerSchema, TriggerPipelineSchema, GetFileContentsSchema, GetGroupWikiPageSchema, GetIssueLinkSchema, GetIssueSchema, GetJobArtifactFileSchema, GetLabelSchema, GetMergeRequestApprovalStateSchema, GetMergeRequestConflictsSchema, GetMergeRequestDiffsSchema, GetMergeRequestFileDiffSchema, GetMergeRequestDiscussionSchema, GetMergeRequestNoteSchema, GetMergeRequestNotesSchema, GetMergeRequestSchema, GetMergeRequestVersionSchema, GetMilestoneBurndownEventsSchema, GetMilestoneIssuesSchema, GetMilestoneMergeRequestsSchema, GetGroupMilestoneSchema, GetGroupMilestoneIssuesSchema, GetGroupMilestoneMergeRequestsSchema, GetGroupMilestoneBurndownEventsSchema, GetNamespaceSchema, GetPipelineJobOutputSchema, PipelineJobControlSchema, GetPipelineSchema, GetRunnerSchema, GetPipelineVariablesSchema, UpdatePipelineMetadataSchema, DeletePipelineSchema, PipelineReportSchema, WaitForPipelineSchema, WaitForPipelineJobSchema, PlayPipelineJobsSchema, GetProjectEventsSchema, GetProjectMilestoneSchema, GetProjectSchema, GetReleaseSchema, GetRepositoryTreeSchema, GetTagSchema, GetTagSignatureSchema, GetProtectedTagSchema, GetTimelineEventsSchema, GetUsersSchema, GetUserSchema, WhoAmISchema, GetWebhookEventSchema, GetWikiPageSchema, GetWorkItemSchema, ListBranchesSchema, ListCommitsSchema, ListCommitStatusesSchema, ListCustomFieldDefinitionsSchema, ListDeploymentsSchema, ListDraftNotesSchema, ListEnvironmentsSchema, ListEventsSchema, ListGroupIterationsSchema, GetGroupIterationSchema, UpdateGroupIterationSchema, CreateGroupIterationSchema, ListGroupIterationCadencesSchema, DeleteGroupIterationSchema, ListProjectIterationsSchema, CreateGroupIterationCadenceSchema, UpdateGroupIterationCadenceSchema, DeleteGroupIterationCadenceSchema, ListGroupMilestonesSchema, ListGroupProjectsSchema, ListGroupWikiPagesSchema, ListIssueDiscussionsSchema, ListIssueLinksSchema, ListIssuesSchema, ListJobArtifactsSchema, ListLabelsSchema, ListMergeRequestChangedFilesSchema, ListMergeRequestDiffsSchema, ListMergeRequestDiscussionsSchema, ListMergeRequestPipelinesSchema, ListMergeRequestVersionsSchema, ListMergeRequestsSchema, ListGroupMergeRequestsSchema, ListNamespacesSchema, ListPipelineJobsSchema, ListPipelineTriggerJobsSchema, ValidateCiLintSchema, ValidateProjectCiLintSchema, ListCiCatalogResourcesSchema, GetCiCatalogResourceSchema, ListPipelinesSchema, ListPipelineSchedulesSchema, GetPipelineScheduleSchema, ListPipelineSchedulePipelinesSchema, CreatePipelineScheduleSchema, UpdatePipelineScheduleSchema, DeletePipelineScheduleSchema, PlayPipelineScheduleSchema, TakeOwnershipPipelineScheduleSchema, GetPipelineScheduleVariableSchema, CreatePipelineScheduleVariableSchema, UpdatePipelineScheduleVariableSchema, DeletePipelineScheduleVariableSchema, ListGroupMembersSchema, ListProjectMembersSchema, ListProjectMilestonesSchema, ListProjectsSchema, ListProjectRunnersSchema, ListReleasesSchema, ListTagsSchema, ListProtectedTagsSchema, ListWebhookEventsSchema, ListWebhooksSchema, ListWikiPagesSchema, ListWorkItemNotesSchema, ListWorkItemStatusesSchema, ListWorkItemsSchema, MarkdownUploadSchema, MarkdownUploadRemoteSchema, MergeMergeRequestSchema, MoveWorkItemSchema, MyIssuesSchema, OrbitQuerySchema, OrbitSchemaSchema, OrbitStatusSchema, OrbitToolsSchema, PlayPipelineJobSchema, PromoteProjectMilestoneSchema, PublishDraftNoteSchema, PushFilesSchema, ResolveMergeRequestThreadSchema, RetryPipelineJobSchema, RetryPipelineSchema, SearchCodeSchema, SearchGroupCodeSchema, SearchProjectCodeSchema, SearchRepositoriesSchema, ListSnippetsSchema, GetSnippetSchema, CreateSnippetSchema, UpdateSnippetSchema, DeleteSnippetSchema, UnapproveMergeRequestSchema, RebaseMergeRequestSchema, UpdateDraftNoteSchema, UpdateGroupWikiPageSchema, UpdateIssueNoteSchema, UpdateIssueSchema, UpdateIssueDescriptionPatchSchema, ReorderIssueSchema, UpdateLabelSchema, UpdateProjectSchema, UpdateMergeRequestDiscussionNoteSchema, UpdateMergeRequestNoteSchema, UpdateMergeRequestSchema, UpdateReleaseSchema, UpdateWebhookSchema, UpdateWikiPageSchema, UpdateWorkItemSchema, VerifyNamespaceSchema, ListProjectVariablesSchema, GetProjectVariableSchema, CreateProjectVariableSchema, UpdateProjectVariableSchema, DeleteProjectVariableSchema, ListGroupVariablesSchema, GetGroupVariableSchema, CreateGroupVariableSchema, UpdateGroupVariableSchema, DeleteGroupVariableSchema, GetDependencyProxySettingsSchema, UpdateDependencyProxySettingsSchema, ListDependencyProxyBlobsSchema, PurgeDependencyProxyCacheSchema, ListProjectVulnerabilitiesSchema, GetVulnerabilitySchema, DismissVulnerabilitySchema, ConfirmVulnerabilitySchema, } from "../schemas.js";
|
|
5
5
|
import { GitLabApiRequestSchema } from "./gitlab-api-request.js";
|
|
6
6
|
import { HelpInputSchema } from "../server/mcp-help.js";
|
|
7
7
|
const IS_REMOTE = SSE || STREAMABLE_HTTP;
|
|
@@ -381,6 +381,11 @@ export const allTools = [
|
|
|
381
381
|
"Supports dry_run to preview changes and create_note to summarize updates.",
|
|
382
382
|
inputSchema: toJSONSchema(UpdateIssueDescriptionPatchSchema),
|
|
383
383
|
},
|
|
384
|
+
{
|
|
385
|
+
name: "reorder_issue",
|
|
386
|
+
description: "Move an issue within the manual sort order shown on issue boards. move_after_id and move_before_id take the neighbor issue's global id (the `id` field), not its iid; pass at least one. Returns the reordered issue.",
|
|
387
|
+
inputSchema: toJSONSchema(ReorderIssueSchema),
|
|
388
|
+
},
|
|
384
389
|
{
|
|
385
390
|
name: "delete_issue",
|
|
386
391
|
description: "Delete an issue",
|
|
@@ -1952,6 +1957,7 @@ export const TOOLSET_DEFINITIONS = [
|
|
|
1952
1957
|
"get_issue",
|
|
1953
1958
|
"update_issue",
|
|
1954
1959
|
"update_issue_description_patch",
|
|
1960
|
+
"reorder_issue",
|
|
1955
1961
|
"delete_issue",
|
|
1956
1962
|
"list_todos",
|
|
1957
1963
|
"mark_todo_done",
|
package/package.json
CHANGED