@testomatio/mcp 1.0.14 → 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,173 @@
1
+ export const LABELS_TOOLS = [
2
+ {
3
+ "name": "labels_list",
4
+ "description": "List labels (/api/v2/{project_id}/labels)",
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": "labels_get",
26
+ "description": "Get label by slug",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "label_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "label_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "labels_create",
42
+ "description": "Create label (/api/v2/{project_id}/labels)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "color": {
50
+ "type": "string"
51
+ },
52
+ "visibility": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "string",
56
+ "enum": [
57
+ "filter",
58
+ "list"
59
+ ]
60
+ }
61
+ },
62
+ "scope": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string",
66
+ "enum": [
67
+ "tests",
68
+ "suites",
69
+ "runs",
70
+ "plans",
71
+ "steps",
72
+ "templates"
73
+ ]
74
+ }
75
+ },
76
+ "field": {
77
+ "type": "object"
78
+ }
79
+ },
80
+ "required": [
81
+ "title"
82
+ ],
83
+ "additionalProperties": false
84
+ }
85
+ },
86
+ {
87
+ "name": "labels_update",
88
+ "description": "Update label (/api/v2/{project_id}/labels/{id})",
89
+ "inputSchema": {
90
+ "type": "object",
91
+ "properties": {
92
+ "label_id": {
93
+ "type": "string"
94
+ },
95
+ "title": {
96
+ "type": "string"
97
+ },
98
+ "color": {
99
+ "type": "string"
100
+ },
101
+ "visibility": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "string",
105
+ "enum": [
106
+ "filter",
107
+ "list"
108
+ ]
109
+ }
110
+ },
111
+ "scope": {
112
+ "type": "array",
113
+ "items": {
114
+ "type": "string",
115
+ "enum": [
116
+ "tests",
117
+ "suites",
118
+ "runs",
119
+ "plans",
120
+ "steps",
121
+ "templates"
122
+ ]
123
+ }
124
+ },
125
+ "field": {
126
+ "type": "object"
127
+ }
128
+ },
129
+ "required": [
130
+ "label_id"
131
+ ],
132
+ "additionalProperties": false
133
+ }
134
+ },
135
+ {
136
+ "name": "labels_delete",
137
+ "description": "Delete label (/api/v2/{project_id}/labels/{id})",
138
+ "inputSchema": {
139
+ "type": "object",
140
+ "properties": {
141
+ "label_id": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "required": [
146
+ "label_id"
147
+ ],
148
+ "additionalProperties": false
149
+ }
150
+ },
151
+ {
152
+ "name": "labels_search",
153
+ "description": "Search labels (delegates to labels list; docs has no dedicated search parameter)",
154
+ "inputSchema": {
155
+ "type": "object",
156
+ "properties": {
157
+ "query": {
158
+ "type": "string"
159
+ },
160
+ "page": {
161
+ "type": "integer",
162
+ "minimum": 1
163
+ },
164
+ "per_page": {
165
+ "type": "integer",
166
+ "minimum": 1,
167
+ "maximum": 100
168
+ }
169
+ },
170
+ "additionalProperties": false
171
+ }
172
+ }
173
+ ];
@@ -0,0 +1,295 @@
1
+ export const PLANS_TOOLS = [
2
+ {
3
+ "name": "plans_list",
4
+ "description": "List plans (/api/v2/{project_id}/plans)",
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": "plans_get",
26
+ "description": "Get plan by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "plan_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "plan_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "plans_create",
42
+ "description": "Create plan (/api/v2/{project_id}/plans)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "kind": {
53
+ "type": "string",
54
+ "enum": [
55
+ "manual",
56
+ "automated",
57
+ "mixed"
58
+ ]
59
+ },
60
+ "hidden": {
61
+ "type": "boolean"
62
+ },
63
+ "as_manual": {
64
+ "type": "boolean"
65
+ },
66
+ "test_plan": {
67
+ "type": "object"
68
+ },
69
+ "link": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "object",
73
+ "properties": {
74
+ "action": {
75
+ "type": "string",
76
+ "enum": [
77
+ "add",
78
+ "remove"
79
+ ]
80
+ },
81
+ "type": {
82
+ "type": "string",
83
+ "enum": [
84
+ "label",
85
+ "custom_field",
86
+ "tag",
87
+ "issue",
88
+ "jira"
89
+ ]
90
+ },
91
+ "value": {
92
+ "type": "string"
93
+ }
94
+ },
95
+ "required": [
96
+ "action",
97
+ "type",
98
+ "value"
99
+ ],
100
+ "additionalProperties": false
101
+ }
102
+ }
103
+ },
104
+ "required": [
105
+ "title"
106
+ ],
107
+ "additionalProperties": false
108
+ }
109
+ },
110
+ {
111
+ "name": "plans_update",
112
+ "description": "Update plan (/api/v2/{project_id}/plans/{id})",
113
+ "inputSchema": {
114
+ "type": "object",
115
+ "properties": {
116
+ "plan_id": {
117
+ "type": "string"
118
+ },
119
+ "title": {
120
+ "type": "string"
121
+ },
122
+ "description": {
123
+ "type": "string"
124
+ },
125
+ "kind": {
126
+ "type": "string",
127
+ "enum": [
128
+ "manual",
129
+ "automated",
130
+ "mixed"
131
+ ]
132
+ },
133
+ "hidden": {
134
+ "type": "boolean"
135
+ },
136
+ "as_manual": {
137
+ "type": "boolean"
138
+ },
139
+ "test_plan": {
140
+ "type": "object"
141
+ },
142
+ "link": {
143
+ "type": "array",
144
+ "items": {
145
+ "type": "object",
146
+ "properties": {
147
+ "action": {
148
+ "type": "string",
149
+ "enum": [
150
+ "add",
151
+ "remove"
152
+ ]
153
+ },
154
+ "type": {
155
+ "type": "string",
156
+ "enum": [
157
+ "label",
158
+ "custom_field",
159
+ "tag",
160
+ "issue",
161
+ "jira"
162
+ ]
163
+ },
164
+ "value": {
165
+ "type": "string"
166
+ }
167
+ },
168
+ "required": [
169
+ "action",
170
+ "type",
171
+ "value"
172
+ ],
173
+ "additionalProperties": false
174
+ }
175
+ }
176
+ },
177
+ "required": [
178
+ "plan_id"
179
+ ],
180
+ "additionalProperties": false
181
+ }
182
+ },
183
+ {
184
+ "name": "plans_delete",
185
+ "description": "Delete plan",
186
+ "inputSchema": {
187
+ "type": "object",
188
+ "properties": {
189
+ "plan_id": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ "required": [
194
+ "plan_id"
195
+ ],
196
+ "additionalProperties": false
197
+ }
198
+ },
199
+ {
200
+ "name": "plans_search",
201
+ "description": "Search plans (delegates to plans list; docs has no dedicated search parameter)",
202
+ "inputSchema": {
203
+ "type": "object",
204
+ "properties": {
205
+ "query": {
206
+ "type": "string"
207
+ },
208
+ "page": {
209
+ "type": "integer",
210
+ "minimum": 1
211
+ },
212
+ "per_page": {
213
+ "type": "integer",
214
+ "minimum": 1,
215
+ "maximum": 100
216
+ }
217
+ },
218
+ "additionalProperties": false
219
+ }
220
+ },
221
+ {
222
+ "name": "plans_issues_list",
223
+ "description": "List linked issues for a plan (/api/v2/{project_id}/issues?plan_id=...)",
224
+ "inputSchema": {
225
+ "type": "object",
226
+ "properties": {
227
+ "plan_id": {
228
+ "type": "string"
229
+ },
230
+ "page": {
231
+ "type": "integer",
232
+ "minimum": 1
233
+ },
234
+ "per_page": {
235
+ "type": "integer",
236
+ "minimum": 1,
237
+ "maximum": 100
238
+ },
239
+ "source": {
240
+ "type": "string"
241
+ }
242
+ },
243
+ "required": [
244
+ "plan_id"
245
+ ],
246
+ "additionalProperties": false
247
+ }
248
+ },
249
+ {
250
+ "name": "plans_issues_link",
251
+ "description": "Link issue to a plan (/api/v2/{project_id}/issues)",
252
+ "inputSchema": {
253
+ "type": "object",
254
+ "properties": {
255
+ "plan_id": {
256
+ "type": "string"
257
+ },
258
+ "url": {
259
+ "type": "string"
260
+ },
261
+ "jira_id": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "plan_id"
267
+ ],
268
+ "additionalProperties": false
269
+ }
270
+ },
271
+ {
272
+ "name": "plans_issues_unlink",
273
+ "description": "Unlink issue from a plan (/api/v2/{project_id}/issues/{id})",
274
+ "inputSchema": {
275
+ "type": "object",
276
+ "properties": {
277
+ "issue_id": {
278
+ "type": "integer"
279
+ },
280
+ "type": {
281
+ "type": "string",
282
+ "enum": [
283
+ "issue",
284
+ "jira_issue"
285
+ ]
286
+ }
287
+ },
288
+ "required": [
289
+ "issue_id",
290
+ "type"
291
+ ],
292
+ "additionalProperties": false
293
+ }
294
+ }
295
+ ];
@@ -0,0 +1,155 @@
1
+ export const RUNGROUPS_TOOLS = [
2
+ {
3
+ "name": "rungroups_list",
4
+ "description": "List run groups as tree (/api/v2/{project_id}/rungroups)",
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": "rungroups_get",
26
+ "description": "Get run group by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "rungroup_id": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "rungroup_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "rungroups_create",
42
+ "description": "Create run group (/api/v2/{project_id}/rungroups)",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "title": {
47
+ "type": "string"
48
+ },
49
+ "description": {
50
+ "type": "string"
51
+ },
52
+ "emoji": {
53
+ "type": "string"
54
+ },
55
+ "kind": {
56
+ "type": "string"
57
+ },
58
+ "pin": {
59
+ "type": "boolean"
60
+ },
61
+ "status": {
62
+ "type": "string"
63
+ },
64
+ "parent_id": {
65
+ "type": "string"
66
+ },
67
+ "children": {
68
+ "type": "array"
69
+ }
70
+ },
71
+ "required": [
72
+ "title"
73
+ ],
74
+ "additionalProperties": false
75
+ }
76
+ },
77
+ {
78
+ "name": "rungroups_update",
79
+ "description": "Update run group (/api/v2/{project_id}/rungroups/{id})",
80
+ "inputSchema": {
81
+ "type": "object",
82
+ "properties": {
83
+ "rungroup_id": {
84
+ "type": "string"
85
+ },
86
+ "title": {
87
+ "type": "string"
88
+ },
89
+ "description": {
90
+ "type": "string"
91
+ },
92
+ "emoji": {
93
+ "type": "string"
94
+ },
95
+ "kind": {
96
+ "type": "string"
97
+ },
98
+ "pin": {
99
+ "type": "boolean"
100
+ },
101
+ "status": {
102
+ "type": "string"
103
+ },
104
+ "parent_id": {
105
+ "type": "string"
106
+ },
107
+ "children": {
108
+ "type": "array"
109
+ }
110
+ },
111
+ "required": [
112
+ "rungroup_id"
113
+ ],
114
+ "additionalProperties": false
115
+ }
116
+ },
117
+ {
118
+ "name": "rungroups_delete",
119
+ "description": "Delete run group (/api/v2/{project_id}/rungroups/{id})",
120
+ "inputSchema": {
121
+ "type": "object",
122
+ "properties": {
123
+ "rungroup_id": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "required": [
128
+ "rungroup_id"
129
+ ],
130
+ "additionalProperties": false
131
+ }
132
+ },
133
+ {
134
+ "name": "rungroups_search",
135
+ "description": "Search run groups (delegates to rungroups list; docs has no dedicated search parameter)",
136
+ "inputSchema": {
137
+ "type": "object",
138
+ "properties": {
139
+ "query": {
140
+ "type": "string"
141
+ },
142
+ "page": {
143
+ "type": "integer",
144
+ "minimum": 1
145
+ },
146
+ "per_page": {
147
+ "type": "integer",
148
+ "minimum": 1,
149
+ "maximum": 100
150
+ }
151
+ },
152
+ "additionalProperties": false
153
+ }
154
+ }
155
+ ];