@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,187 @@
1
+ export const STEPS_TOOLS = [
2
+ {
3
+ "name": "steps_list",
4
+ "description": "List steps (/api/v2/{project_id}/steps)",
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": "steps_get",
26
+ "description": "Get step by ID",
27
+ "inputSchema": {
28
+ "type": "object",
29
+ "properties": {
30
+ "step_id": {
31
+ "type": "integer"
32
+ }
33
+ },
34
+ "required": [
35
+ "step_id"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "steps_create",
42
+ "description": "Create step (/api/v2/{project_id}/steps)",
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": "steps_update",
95
+ "description": "Update step (/api/v2/{project_id}/steps/{id})",
96
+ "inputSchema": {
97
+ "type": "object",
98
+ "properties": {
99
+ "step_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
+ "step_id"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ },
149
+ {
150
+ "name": "steps_delete",
151
+ "description": "Delete step (/api/v2/{project_id}/steps/{id})",
152
+ "inputSchema": {
153
+ "type": "object",
154
+ "properties": {
155
+ "step_id": {
156
+ "type": "integer"
157
+ }
158
+ },
159
+ "required": [
160
+ "step_id"
161
+ ],
162
+ "additionalProperties": false
163
+ }
164
+ },
165
+ {
166
+ "name": "steps_search",
167
+ "description": "Search steps (delegates to steps 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
+ ];
@@ -0,0 +1,329 @@
1
+ export const SUITES_TOOLS = [
2
+ {
3
+ "name": "suites_list",
4
+ "description": "List suites as tree (/api/v2/{project_id}/suites)",
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
+ "file_type": {
18
+ "type": "string",
19
+ "enum": [
20
+ "file",
21
+ "folder"
22
+ ]
23
+ },
24
+ "tag": {
25
+ "type": "string"
26
+ },
27
+ "labels": {
28
+ "type": "string"
29
+ },
30
+ "search_text": {
31
+ "type": "string"
32
+ },
33
+ "query": {
34
+ "type": "string"
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ {
41
+ "name": "suites_get",
42
+ "description": "Get suite by ID",
43
+ "inputSchema": {
44
+ "type": "object",
45
+ "properties": {
46
+ "suite_id": {
47
+ "type": "string"
48
+ }
49
+ },
50
+ "required": [
51
+ "suite_id"
52
+ ],
53
+ "additionalProperties": false
54
+ }
55
+ },
56
+ {
57
+ "name": "suites_create",
58
+ "description": "Create suite (/api/v2/{project_id}/suites)",
59
+ "inputSchema": {
60
+ "type": "object",
61
+ "properties": {
62
+ "title": {
63
+ "type": "string"
64
+ },
65
+ "description": {
66
+ "type": "string"
67
+ },
68
+ "emoji": {
69
+ "type": "string"
70
+ },
71
+ "parent_id": {
72
+ "type": "string"
73
+ },
74
+ "file_type": {
75
+ "type": "string"
76
+ },
77
+ "assigned_to": {
78
+ "type": "string"
79
+ },
80
+ "file": {
81
+ "type": "string"
82
+ },
83
+ "children": {
84
+ "type": "array"
85
+ },
86
+ "link": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "object",
90
+ "properties": {
91
+ "action": {
92
+ "type": "string",
93
+ "enum": [
94
+ "add",
95
+ "remove"
96
+ ]
97
+ },
98
+ "type": {
99
+ "type": "string",
100
+ "enum": [
101
+ "label",
102
+ "custom_field",
103
+ "tag",
104
+ "issue",
105
+ "jira"
106
+ ]
107
+ },
108
+ "value": {
109
+ "type": "string"
110
+ }
111
+ },
112
+ "required": [
113
+ "action",
114
+ "type",
115
+ "value"
116
+ ],
117
+ "additionalProperties": false
118
+ }
119
+ }
120
+ },
121
+ "required": [
122
+ "title"
123
+ ],
124
+ "additionalProperties": false
125
+ }
126
+ },
127
+ {
128
+ "name": "suites_update",
129
+ "description": "Update suite (/api/v2/{project_id}/suites/{id})",
130
+ "inputSchema": {
131
+ "type": "object",
132
+ "properties": {
133
+ "suite_id": {
134
+ "type": "string"
135
+ },
136
+ "title": {
137
+ "type": "string"
138
+ },
139
+ "description": {
140
+ "type": "string"
141
+ },
142
+ "emoji": {
143
+ "type": "string"
144
+ },
145
+ "parent_id": {
146
+ "type": "string"
147
+ },
148
+ "file_type": {
149
+ "type": "string"
150
+ },
151
+ "assigned_to": {
152
+ "type": "string"
153
+ },
154
+ "file": {
155
+ "type": "string"
156
+ },
157
+ "children": {
158
+ "type": "array"
159
+ },
160
+ "link": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "properties": {
165
+ "action": {
166
+ "type": "string",
167
+ "enum": [
168
+ "add",
169
+ "remove"
170
+ ]
171
+ },
172
+ "type": {
173
+ "type": "string",
174
+ "enum": [
175
+ "label",
176
+ "custom_field",
177
+ "tag",
178
+ "issue",
179
+ "jira"
180
+ ]
181
+ },
182
+ "value": {
183
+ "type": "string"
184
+ }
185
+ },
186
+ "required": [
187
+ "action",
188
+ "type",
189
+ "value"
190
+ ],
191
+ "additionalProperties": false
192
+ }
193
+ }
194
+ },
195
+ "required": [
196
+ "suite_id"
197
+ ],
198
+ "additionalProperties": false
199
+ }
200
+ },
201
+ {
202
+ "name": "suites_delete",
203
+ "description": "Delete suite",
204
+ "inputSchema": {
205
+ "type": "object",
206
+ "properties": {
207
+ "suite_id": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": [
212
+ "suite_id"
213
+ ],
214
+ "additionalProperties": false
215
+ }
216
+ },
217
+ {
218
+ "name": "suites_search",
219
+ "description": "Search suites by title (delegates to suites list with search_text)",
220
+ "inputSchema": {
221
+ "type": "object",
222
+ "properties": {
223
+ "search_text": {
224
+ "type": "string"
225
+ },
226
+ "query": {
227
+ "type": "string"
228
+ },
229
+ "page": {
230
+ "type": "integer",
231
+ "minimum": 1
232
+ },
233
+ "per_page": {
234
+ "type": "integer",
235
+ "minimum": 1,
236
+ "maximum": 100
237
+ },
238
+ "file_type": {
239
+ "type": "string",
240
+ "enum": [
241
+ "file",
242
+ "folder"
243
+ ]
244
+ },
245
+ "tag": {
246
+ "type": "string"
247
+ },
248
+ "labels": {
249
+ "type": "string"
250
+ }
251
+ },
252
+ "additionalProperties": false
253
+ }
254
+ },
255
+ {
256
+ "name": "suites_issues_list",
257
+ "description": "List linked issues for a suite (/api/v2/{project_id}/issues?suite_id=...)",
258
+ "inputSchema": {
259
+ "type": "object",
260
+ "properties": {
261
+ "suite_id": {
262
+ "type": "string"
263
+ },
264
+ "page": {
265
+ "type": "integer",
266
+ "minimum": 1
267
+ },
268
+ "per_page": {
269
+ "type": "integer",
270
+ "minimum": 1,
271
+ "maximum": 100
272
+ },
273
+ "source": {
274
+ "type": "string"
275
+ }
276
+ },
277
+ "required": [
278
+ "suite_id"
279
+ ],
280
+ "additionalProperties": false
281
+ }
282
+ },
283
+ {
284
+ "name": "suites_issues_link",
285
+ "description": "Link issue to a suite (/api/v2/{project_id}/issues)",
286
+ "inputSchema": {
287
+ "type": "object",
288
+ "properties": {
289
+ "suite_id": {
290
+ "type": "string"
291
+ },
292
+ "url": {
293
+ "type": "string"
294
+ },
295
+ "jira_id": {
296
+ "type": "string"
297
+ }
298
+ },
299
+ "required": [
300
+ "suite_id"
301
+ ],
302
+ "additionalProperties": false
303
+ }
304
+ },
305
+ {
306
+ "name": "suites_issues_unlink",
307
+ "description": "Unlink issue from a suite (/api/v2/{project_id}/issues/{id})",
308
+ "inputSchema": {
309
+ "type": "object",
310
+ "properties": {
311
+ "issue_id": {
312
+ "type": "integer"
313
+ },
314
+ "type": {
315
+ "type": "string",
316
+ "enum": [
317
+ "issue",
318
+ "jira_issue"
319
+ ]
320
+ }
321
+ },
322
+ "required": [
323
+ "issue_id",
324
+ "type"
325
+ ],
326
+ "additionalProperties": false
327
+ }
328
+ }
329
+ ];
@@ -0,0 +1,10 @@
1
+ export const SYSTEM_TOOLS = [
2
+ {
3
+ "name": "system_ping",
4
+ "description": "Check server status and active configuration",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {}
8
+ }
9
+ }
10
+ ];
@@ -0,0 +1,43 @@
1
+ export const TAGS_TOOLS = [
2
+ {
3
+ "name": "tags_list",
4
+ "description": "List tags with counts (/api/v2/{project_id}/tags)",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {},
8
+ "additionalProperties": false
9
+ }
10
+ },
11
+ {
12
+ "name": "tags_get",
13
+ "description": "Get tests by tag title (/api/v2/{project_id}/tags/{id})",
14
+ "inputSchema": {
15
+ "type": "object",
16
+ "properties": {
17
+ "tag_id": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": [
22
+ "tag_id"
23
+ ],
24
+ "additionalProperties": false
25
+ }
26
+ },
27
+ {
28
+ "name": "tags_search",
29
+ "description": "Search by tag title (delegates to tags_get)",
30
+ "inputSchema": {
31
+ "type": "object",
32
+ "properties": {
33
+ "tag_id": {
34
+ "type": "string"
35
+ },
36
+ "query": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ }
42
+ }
43
+ ];