@testomatio/mcp 1.0.13 → 2.0.0-beta.8

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.
@@ -0,0 +1,364 @@
1
+ export const RUNS_TOOLS = [
2
+ {
3
+ "name": "runs_list",
4
+ "description": "List runs (/api/v2/{project_id}/runs)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "page": {
9
+ "type": "integer",
10
+ "minimum": 1
11
+ },
12
+ "per_page": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 100
16
+ },
17
+ "query": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "runs_get",
26
+ "description": "Get run by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "run_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "run_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "runs_create",
42
+ "description": "Create run (/api/v2/{project_id}/runs)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "plan_id": {
53
+ "type": "string"
54
+ },
55
+ "kind": {
56
+ "type": "string",
57
+ "enum": [
58
+ "manual",
59
+ "automated",
60
+ "mixed"
61
+ ]
62
+ },
63
+ "rungroup_id": {
64
+ "type": "string"
65
+ },
66
+ "env": {
67
+ "type": "string"
68
+ },
69
+ "assigned_to": {
70
+ "type": "string"
71
+ },
72
+ "assign_strategy": {
73
+ "type": "string",
74
+ "enum": [
75
+ "test",
76
+ "random",
77
+ "none"
78
+ ]
79
+ },
80
+ "test_ids": {
81
+ "type": "array",
82
+ "items": {
83
+ "type": "string"
84
+ }
85
+ },
86
+ "suite_ids": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "string"
90
+ }
91
+ },
92
+ "envs": {
93
+ "type": "array",
94
+ "items": {
95
+ "type": "string"
96
+ }
97
+ },
98
+ "configuration": {
99
+ "type": "object"
100
+ },
101
+ "link": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "properties": {
106
+ "action": {
107
+ "type": "string",
108
+ "enum": [
109
+ "add",
110
+ "remove"
111
+ ]
112
+ },
113
+ "type": {
114
+ "type": "string",
115
+ "enum": [
116
+ "label",
117
+ "custom_field",
118
+ "tag",
119
+ "issue",
120
+ "jira"
121
+ ]
122
+ },
123
+ "value": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "required": [
128
+ "action",
129
+ "type",
130
+ "value"
131
+ ],
132
+ "additionalProperties": false
133
+ }
134
+ }
135
+ },
136
+ "required": [
137
+ "title"
138
+ ],
139
+ "additionalProperties": false
140
+ }
141
+ },
142
+ {
143
+ "name": "runs_update",
144
+ "description": "Update run (/api/v2/{project_id}/runs/{id})",
145
+ "inputSchema": {
146
+ "type": "object",
147
+ "properties": {
148
+ "run_id": {
149
+ "type": "string"
150
+ },
151
+ "title": {
152
+ "type": "string"
153
+ },
154
+ "description": {
155
+ "type": "string"
156
+ },
157
+ "plan_id": {
158
+ "type": "string"
159
+ },
160
+ "kind": {
161
+ "type": "string",
162
+ "enum": [
163
+ "manual",
164
+ "automated",
165
+ "mixed"
166
+ ]
167
+ },
168
+ "rungroup_id": {
169
+ "type": "string"
170
+ },
171
+ "env": {
172
+ "type": "string"
173
+ },
174
+ "status_event": {
175
+ "type": "string",
176
+ "enum": [
177
+ "finish",
178
+ "finish_manual",
179
+ "launch",
180
+ "rerun",
181
+ "scheduled",
182
+ "terminate"
183
+ ]
184
+ },
185
+ "assigned_to": {
186
+ "type": "string"
187
+ },
188
+ "assign_strategy": {
189
+ "type": "string",
190
+ "enum": [
191
+ "test",
192
+ "random",
193
+ "none"
194
+ ]
195
+ },
196
+ "test_ids": {
197
+ "type": "array",
198
+ "items": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "suite_ids": {
203
+ "type": "array",
204
+ "items": {
205
+ "type": "string"
206
+ }
207
+ },
208
+ "configuration": {
209
+ "type": "object"
210
+ },
211
+ "link": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "object",
215
+ "properties": {
216
+ "action": {
217
+ "type": "string",
218
+ "enum": [
219
+ "add",
220
+ "remove"
221
+ ]
222
+ },
223
+ "type": {
224
+ "type": "string",
225
+ "enum": [
226
+ "label",
227
+ "custom_field",
228
+ "tag",
229
+ "issue",
230
+ "jira"
231
+ ]
232
+ },
233
+ "value": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ "required": [
238
+ "action",
239
+ "type",
240
+ "value"
241
+ ],
242
+ "additionalProperties": false
243
+ }
244
+ }
245
+ },
246
+ "required": [
247
+ "run_id"
248
+ ],
249
+ "additionalProperties": false
250
+ }
251
+ },
252
+ {
253
+ "name": "runs_delete",
254
+ "description": "Delete run (/api/v2/{project_id}/runs/{id})",
255
+ "inputSchema": {
256
+ "type": "object",
257
+ "properties": {
258
+ "run_id": {
259
+ "type": "string"
260
+ }
261
+ },
262
+ "required": [
263
+ "run_id"
264
+ ],
265
+ "additionalProperties": false
266
+ }
267
+ },
268
+ {
269
+ "name": "runs_search",
270
+ "description": "Search runs (delegates to runs list; docs has no dedicated search parameter)",
271
+ "inputSchema": {
272
+ "type": "object",
273
+ "properties": {
274
+ "query": {
275
+ "type": "string"
276
+ },
277
+ "page": {
278
+ "type": "integer",
279
+ "minimum": 1
280
+ },
281
+ "per_page": {
282
+ "type": "integer",
283
+ "minimum": 1,
284
+ "maximum": 100
285
+ }
286
+ },
287
+ "additionalProperties": false
288
+ }
289
+ },
290
+ {
291
+ "name": "runs_issues_list",
292
+ "description": "List linked issues for a run (/api/v2/{project_id}/issues?run_id=...)",
293
+ "inputSchema": {
294
+ "type": "object",
295
+ "properties": {
296
+ "run_id": {
297
+ "type": "string"
298
+ },
299
+ "page": {
300
+ "type": "integer",
301
+ "minimum": 1
302
+ },
303
+ "per_page": {
304
+ "type": "integer",
305
+ "minimum": 1,
306
+ "maximum": 100
307
+ },
308
+ "source": {
309
+ "type": "string"
310
+ }
311
+ },
312
+ "required": [
313
+ "run_id"
314
+ ],
315
+ "additionalProperties": false
316
+ }
317
+ },
318
+ {
319
+ "name": "runs_issues_link",
320
+ "description": "Link issue to a run (/api/v2/{project_id}/issues)",
321
+ "inputSchema": {
322
+ "type": "object",
323
+ "properties": {
324
+ "run_id": {
325
+ "type": "string"
326
+ },
327
+ "url": {
328
+ "type": "string"
329
+ },
330
+ "jira_id": {
331
+ "type": "string"
332
+ }
333
+ },
334
+ "required": [
335
+ "run_id"
336
+ ],
337
+ "additionalProperties": false
338
+ }
339
+ },
340
+ {
341
+ "name": "runs_issues_unlink",
342
+ "description": "Unlink issue from a run (/api/v2/{project_id}/issues/{id})",
343
+ "inputSchema": {
344
+ "type": "object",
345
+ "properties": {
346
+ "issue_id": {
347
+ "type": "integer"
348
+ },
349
+ "type": {
350
+ "type": "string",
351
+ "enum": [
352
+ "issue",
353
+ "jira_issue"
354
+ ]
355
+ }
356
+ },
357
+ "required": [
358
+ "issue_id",
359
+ "type"
360
+ ],
361
+ "additionalProperties": false
362
+ }
363
+ }
364
+ ];
@@ -0,0 +1,187 @@
1
+ export const SNIPPETS_TOOLS = [
2
+ {
3
+ "name": "snippets_list",
4
+ "description": "List snippets (/api/v2/{project_id}/snippets)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "page": {
9
+ "type": "integer",
10
+ "minimum": 1
11
+ },
12
+ "per_page": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 100
16
+ },
17
+ "query": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "additionalProperties": false
22
+ }
23
+ },
24
+ {
25
+ "name": "snippets_get",
26
+ "description": "Get snippet by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "snippet_id": {
31
+ "type": "integer"
32
+ }
33
+ },
34
+ "required": [
35
+ "snippet_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "snippets_create",
42
+ "description": "Create snippet (/api/v2/{project_id}/snippets)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "link": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "action": {
58
+ "type": "string",
59
+ "enum": [
60
+ "add",
61
+ "remove"
62
+ ]
63
+ },
64
+ "type": {
65
+ "type": "string",
66
+ "enum": [
67
+ "label",
68
+ "custom_field",
69
+ "tag",
70
+ "issue",
71
+ "jira"
72
+ ]
73
+ },
74
+ "value": {
75
+ "type": "string"
76
+ }
77
+ },
78
+ "required": [
79
+ "action",
80
+ "type",
81
+ "value"
82
+ ],
83
+ "additionalProperties": false
84
+ }
85
+ }
86
+ },
87
+ "required": [
88
+ "title"
89
+ ],
90
+ "additionalProperties": false
91
+ }
92
+ },
93
+ {
94
+ "name": "snippets_update",
95
+ "description": "Update snippet (/api/v2/{project_id}/snippets/{id})",
96
+ "inputSchema": {
97
+ "type": "object",
98
+ "properties": {
99
+ "snippet_id": {
100
+ "type": "integer"
101
+ },
102
+ "title": {
103
+ "type": "string"
104
+ },
105
+ "description": {
106
+ "type": "string"
107
+ },
108
+ "link": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "action": {
114
+ "type": "string",
115
+ "enum": [
116
+ "add",
117
+ "remove"
118
+ ]
119
+ },
120
+ "type": {
121
+ "type": "string",
122
+ "enum": [
123
+ "label",
124
+ "custom_field",
125
+ "tag",
126
+ "issue",
127
+ "jira"
128
+ ]
129
+ },
130
+ "value": {
131
+ "type": "string"
132
+ }
133
+ },
134
+ "required": [
135
+ "action",
136
+ "type",
137
+ "value"
138
+ ],
139
+ "additionalProperties": false
140
+ }
141
+ }
142
+ },
143
+ "required": [
144
+ "snippet_id"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ },
149
+ {
150
+ "name": "snippets_delete",
151
+ "description": "Delete snippet (/api/v2/{project_id}/snippets/{id})",
152
+ "inputSchema": {
153
+ "type": "object",
154
+ "properties": {
155
+ "snippet_id": {
156
+ "type": "integer"
157
+ }
158
+ },
159
+ "required": [
160
+ "snippet_id"
161
+ ],
162
+ "additionalProperties": false
163
+ }
164
+ },
165
+ {
166
+ "name": "snippets_search",
167
+ "description": "Search snippets (delegates to snippets list; docs has no dedicated search parameter)",
168
+ "inputSchema": {
169
+ "type": "object",
170
+ "properties": {
171
+ "query": {
172
+ "type": "string"
173
+ },
174
+ "page": {
175
+ "type": "integer",
176
+ "minimum": 1
177
+ },
178
+ "per_page": {
179
+ "type": "integer",
180
+ "minimum": 1,
181
+ "maximum": 100
182
+ }
183
+ },
184
+ "additionalProperties": false
185
+ }
186
+ }
187
+ ];