targetprocess-mcp-server 2.5.3 → 2.5.4
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/build/index.js +41 -41
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -82,7 +82,7 @@ server.registerTool('get_user_story_content', {
|
|
|
82
82
|
inputSchema: {
|
|
83
83
|
id: z.string()
|
|
84
84
|
.min(5)
|
|
85
|
-
.max(
|
|
85
|
+
.max(9)
|
|
86
86
|
.describe('TP (or tp) ID (e.g. 145789)')
|
|
87
87
|
},
|
|
88
88
|
}, async ({ id }) => handleGetUserStoryContent(tp, id));
|
|
@@ -227,7 +227,7 @@ server.registerTool('get_bug_content', {
|
|
|
227
227
|
inputSchema: {
|
|
228
228
|
id: z.string()
|
|
229
229
|
.min(5)
|
|
230
|
-
.max(
|
|
230
|
+
.max(9)
|
|
231
231
|
.describe('Bug card ID (e.g. 145789)')
|
|
232
232
|
},
|
|
233
233
|
}, async ({ id }) => handleGetBugContent(tp, id));
|
|
@@ -253,7 +253,7 @@ server.registerTool('add_comment_with_user', {
|
|
|
253
253
|
inputSchema: {
|
|
254
254
|
id: z.string()
|
|
255
255
|
.min(5)
|
|
256
|
-
.max(
|
|
256
|
+
.max(9)
|
|
257
257
|
.describe('TP card id, usually user story or bug ID (e.g. 145789)'),
|
|
258
258
|
comment: z.string()
|
|
259
259
|
.describe('Comment content to add'),
|
|
@@ -303,7 +303,7 @@ server.registerTool('add_comment', {
|
|
|
303
303
|
inputSchema: {
|
|
304
304
|
id: z.string()
|
|
305
305
|
.min(5)
|
|
306
|
-
.max(
|
|
306
|
+
.max(9)
|
|
307
307
|
.describe('TP card id, usually user story or bug ID (e.g. 145789)'),
|
|
308
308
|
comment: z.string()
|
|
309
309
|
.describe('Comment content to add'),
|
|
@@ -315,7 +315,7 @@ server.registerTool('get_user_story_comments', {
|
|
|
315
315
|
inputSchema: {
|
|
316
316
|
id: z.string()
|
|
317
317
|
.min(5)
|
|
318
|
-
.max(
|
|
318
|
+
.max(9)
|
|
319
319
|
.describe('TP user story ID (e.g. 145789)'),
|
|
320
320
|
results: z.number()
|
|
321
321
|
.default(25)
|
|
@@ -329,7 +329,7 @@ server.registerTool('get_bug_comments', {
|
|
|
329
329
|
inputSchema: {
|
|
330
330
|
id: z.string()
|
|
331
331
|
.min(5)
|
|
332
|
-
.max(
|
|
332
|
+
.max(9)
|
|
333
333
|
.describe('TP bug ID (e.g. 145789)'),
|
|
334
334
|
results: z.number()
|
|
335
335
|
.default(25)
|
|
@@ -354,7 +354,7 @@ server.registerTool('create_bug_based_on_card', {
|
|
|
354
354
|
card: z.object({
|
|
355
355
|
id: z.string()
|
|
356
356
|
.min(5)
|
|
357
|
-
.max(
|
|
357
|
+
.max(9)
|
|
358
358
|
.describe(`Usually user story id, bug ID, or feature ID (e.g. 145789)`),
|
|
359
359
|
type: z.enum(["UserStory", "Bug", "Feature"])
|
|
360
360
|
}),
|
|
@@ -413,7 +413,7 @@ server.registerTool('update_bug', {
|
|
|
413
413
|
inputSchema: {
|
|
414
414
|
id: z.string()
|
|
415
415
|
.min(5)
|
|
416
|
-
.max(
|
|
416
|
+
.max(9)
|
|
417
417
|
.describe('Bug card ID (e.g. 145789)'),
|
|
418
418
|
title: z.string()
|
|
419
419
|
.optional()
|
|
@@ -454,7 +454,7 @@ server.registerTool('update_user_story_state', {
|
|
|
454
454
|
inputSchema: {
|
|
455
455
|
id: z.string()
|
|
456
456
|
.min(5)
|
|
457
|
-
.max(
|
|
457
|
+
.max(9)
|
|
458
458
|
.describe('User story card ID (e.g. 145789)'),
|
|
459
459
|
entityStateId: z.string()
|
|
460
460
|
.optional()
|
|
@@ -478,7 +478,7 @@ server.registerTool('update_user_story', {
|
|
|
478
478
|
inputSchema: {
|
|
479
479
|
id: z.string()
|
|
480
480
|
.min(5)
|
|
481
|
-
.max(
|
|
481
|
+
.max(9)
|
|
482
482
|
.describe('User story card ID (e.g. 145789)'),
|
|
483
483
|
title: z.string()
|
|
484
484
|
.optional()
|
|
@@ -565,12 +565,12 @@ server.registerTool('create_user_story', {
|
|
|
565
565
|
.describe('Optional user story description (when provided, format as HTML)'),
|
|
566
566
|
featureId: z.string()
|
|
567
567
|
.min(5)
|
|
568
|
-
.max(
|
|
568
|
+
.max(9)
|
|
569
569
|
.optional()
|
|
570
570
|
.describe('Optional Feature ID to link this user story to (e.g. 145636)'),
|
|
571
571
|
releaseId: z.string()
|
|
572
572
|
.min(5)
|
|
573
|
-
.max(
|
|
573
|
+
.max(9)
|
|
574
574
|
.optional()
|
|
575
575
|
.describe('Optional Release ID to link this user story to (e.g. 145200)'),
|
|
576
576
|
projectId: z.string()
|
|
@@ -643,12 +643,12 @@ server.registerTool('create_formatted_user_story', {
|
|
|
643
643
|
.describe('Anything that helps understand the story context but does not fit other sections'),
|
|
644
644
|
featureId: z.string()
|
|
645
645
|
.min(5)
|
|
646
|
-
.max(
|
|
646
|
+
.max(9)
|
|
647
647
|
.optional()
|
|
648
648
|
.describe('Optional Feature ID to link this user story to (e.g. 145636)'),
|
|
649
649
|
releaseId: z.string()
|
|
650
650
|
.min(5)
|
|
651
|
-
.max(
|
|
651
|
+
.max(9)
|
|
652
652
|
.optional()
|
|
653
653
|
.describe('Optional Release ID to link this user story to (e.g. 145200)'),
|
|
654
654
|
projectId: z.string()
|
|
@@ -726,12 +726,12 @@ server.registerTool('create_feature', {
|
|
|
726
726
|
.describe('Optional feature description (when provided, format as HTML)'),
|
|
727
727
|
epicId: z.string()
|
|
728
728
|
.min(5)
|
|
729
|
-
.max(
|
|
729
|
+
.max(9)
|
|
730
730
|
.optional()
|
|
731
731
|
.describe('Optional Epic ID to link this feature to (e.g. 145636)'),
|
|
732
732
|
releaseId: z.string()
|
|
733
733
|
.min(5)
|
|
734
|
-
.max(
|
|
734
|
+
.max(9)
|
|
735
735
|
.optional()
|
|
736
736
|
.describe('Optional Release ID to link this feature to (e.g. 145200)'),
|
|
737
737
|
projectId: z.string()
|
|
@@ -753,7 +753,7 @@ server.registerTool('create_epic', {
|
|
|
753
753
|
.describe('Optional epic description (when provided, format as HTML)'),
|
|
754
754
|
releaseId: z.string()
|
|
755
755
|
.min(5)
|
|
756
|
-
.max(
|
|
756
|
+
.max(9)
|
|
757
757
|
.optional()
|
|
758
758
|
.describe('Optional Release ID to link this epic to (e.g. 145200)'),
|
|
759
759
|
projectId: z.string()
|
|
@@ -767,7 +767,7 @@ server.registerTool('get_epic_content', {
|
|
|
767
767
|
inputSchema: {
|
|
768
768
|
id: z.string()
|
|
769
769
|
.min(5)
|
|
770
|
-
.max(
|
|
770
|
+
.max(9)
|
|
771
771
|
.describe('Epic ID (e.g. 148813)'),
|
|
772
772
|
},
|
|
773
773
|
}, async ({ id }) => handleGetEpicContent(tp, id));
|
|
@@ -777,7 +777,7 @@ server.registerTool('update_epic', {
|
|
|
777
777
|
inputSchema: {
|
|
778
778
|
id: z.string()
|
|
779
779
|
.min(5)
|
|
780
|
-
.max(
|
|
780
|
+
.max(9)
|
|
781
781
|
.describe('Epic ID (e.g. 148813)'),
|
|
782
782
|
title: z.string()
|
|
783
783
|
.optional()
|
|
@@ -787,7 +787,7 @@ server.registerTool('update_epic', {
|
|
|
787
787
|
.describe('Updated epic description (format as HTML)'),
|
|
788
788
|
releaseId: z.string()
|
|
789
789
|
.min(5)
|
|
790
|
-
.max(
|
|
790
|
+
.max(9)
|
|
791
791
|
.optional()
|
|
792
792
|
.describe('Optional Release ID to link this epic to'),
|
|
793
793
|
projectId: z.string()
|
|
@@ -801,7 +801,7 @@ server.registerTool('get_epic_features', {
|
|
|
801
801
|
inputSchema: {
|
|
802
802
|
id: z.string()
|
|
803
803
|
.min(5)
|
|
804
|
-
.max(
|
|
804
|
+
.max(9)
|
|
805
805
|
.describe('Epic ID (e.g. 148813)'),
|
|
806
806
|
},
|
|
807
807
|
}, async ({ id }) => handleGetEpicFeatures(tp, id));
|
|
@@ -813,7 +813,7 @@ server.registerTool('create_test_plan', {
|
|
|
813
813
|
.describe('Test plan title — use the linked card name'),
|
|
814
814
|
resourceId: z.string()
|
|
815
815
|
.min(5)
|
|
816
|
-
.max(
|
|
816
|
+
.max(9)
|
|
817
817
|
.describe('ID of the card to link this test plan to (e.g. 145789)'),
|
|
818
818
|
resourceType: z.enum(['UserStory', 'Bug', 'Feature'])
|
|
819
819
|
.default('UserStory')
|
|
@@ -846,7 +846,7 @@ server.registerTool('get_not_covered_user_stories_in_feature', {
|
|
|
846
846
|
inputSchema: {
|
|
847
847
|
id: z.string()
|
|
848
848
|
.min(5)
|
|
849
|
-
.max(
|
|
849
|
+
.max(9)
|
|
850
850
|
.describe('TP feature ID (e.g. 145636)'),
|
|
851
851
|
},
|
|
852
852
|
}, async ({ id }) => {
|
|
@@ -935,7 +935,7 @@ server.registerTool('get_feature_user_stories', {
|
|
|
935
935
|
inputSchema: {
|
|
936
936
|
id: z.string()
|
|
937
937
|
.min(5)
|
|
938
|
-
.max(
|
|
938
|
+
.max(9)
|
|
939
939
|
.describe('TP feature ID (e.g. 145636)'),
|
|
940
940
|
},
|
|
941
941
|
}, async ({ id }) => handleGetFeatureUserStories(tp, id));
|
|
@@ -945,7 +945,7 @@ server.registerTool('get_user_story_bugs', {
|
|
|
945
945
|
inputSchema: {
|
|
946
946
|
id: z.string()
|
|
947
947
|
.min(5)
|
|
948
|
-
.max(
|
|
948
|
+
.max(9)
|
|
949
949
|
.describe('TP user story ID (e.g. 145789)'),
|
|
950
950
|
},
|
|
951
951
|
}, async ({ id }) => handleGetUserStoryBugs(tp, id));
|
|
@@ -971,7 +971,7 @@ server.registerTool('get_user_story_test_cases', {
|
|
|
971
971
|
inputSchema: {
|
|
972
972
|
resourceId: z.string()
|
|
973
973
|
.min(5)
|
|
974
|
-
.max(
|
|
974
|
+
.max(9)
|
|
975
975
|
.describe('TP UserStory ID (e.g. 145789)')
|
|
976
976
|
},
|
|
977
977
|
}, async ({ resourceId }) => {
|
|
@@ -1055,7 +1055,7 @@ server.registerTool('write_test_cases', {
|
|
|
1055
1055
|
inputSchema: {
|
|
1056
1056
|
resourceId: z.string()
|
|
1057
1057
|
.min(5)
|
|
1058
|
-
.max(
|
|
1058
|
+
.max(9)
|
|
1059
1059
|
.describe('TP card ID (e.g. 145789)'),
|
|
1060
1060
|
resourceType: z.enum(['UserStory', 'Bug', 'Feature'])
|
|
1061
1061
|
.default('UserStory')
|
|
@@ -1108,7 +1108,7 @@ server.registerTool('add_test_cases_to_test_plan', {
|
|
|
1108
1108
|
inputSchema: {
|
|
1109
1109
|
testPlanId: z.string()
|
|
1110
1110
|
.min(5)
|
|
1111
|
-
.max(
|
|
1111
|
+
.max(9)
|
|
1112
1112
|
.describe('Test plan ID to add test cases to (e.g. 145789)'),
|
|
1113
1113
|
testCases: z.array(z.object({
|
|
1114
1114
|
name: z.string()
|
|
@@ -1182,7 +1182,7 @@ server.registerTool('get_card_current_status', {
|
|
|
1182
1182
|
inputSchema: {
|
|
1183
1183
|
id: z.string()
|
|
1184
1184
|
.min(5)
|
|
1185
|
-
.max(
|
|
1185
|
+
.max(9)
|
|
1186
1186
|
.describe('TP card ID (e.g. 146055)'),
|
|
1187
1187
|
resourceType: z.enum(['UserStory', 'Bug', 'Feature'])
|
|
1188
1188
|
.default('UserStory')
|
|
@@ -1199,7 +1199,7 @@ server.registerTool('get_card_relations', {
|
|
|
1199
1199
|
inputSchema: {
|
|
1200
1200
|
id: z.string()
|
|
1201
1201
|
.min(5)
|
|
1202
|
-
.max(
|
|
1202
|
+
.max(9)
|
|
1203
1203
|
.describe('TP card ID (e.g. 145789)'),
|
|
1204
1204
|
},
|
|
1205
1205
|
}, async ({ id }) => handleGetCardRelations(tp, id));
|
|
@@ -1215,11 +1215,11 @@ server.registerTool('create_card_relation', {
|
|
|
1215
1215
|
inputSchema: {
|
|
1216
1216
|
masterId: z.string()
|
|
1217
1217
|
.min(5)
|
|
1218
|
-
.max(
|
|
1218
|
+
.max(9)
|
|
1219
1219
|
.describe('Master card ID — the source of the relation (e.g. 145789)'),
|
|
1220
1220
|
slaveId: z.string()
|
|
1221
1221
|
.min(5)
|
|
1222
|
-
.max(
|
|
1222
|
+
.max(9)
|
|
1223
1223
|
.describe('Slave card ID — the target of the relation (e.g. 145790)'),
|
|
1224
1224
|
relationType: z.string()
|
|
1225
1225
|
.optional()
|
|
@@ -1251,7 +1251,7 @@ server.registerTool('create_task', {
|
|
|
1251
1251
|
.describe('Task title'),
|
|
1252
1252
|
userStoryId: z.string()
|
|
1253
1253
|
.min(5)
|
|
1254
|
-
.max(
|
|
1254
|
+
.max(9)
|
|
1255
1255
|
.describe('User story ID to link the task to (e.g. 145789)'),
|
|
1256
1256
|
description: z.string()
|
|
1257
1257
|
.optional()
|
|
@@ -1349,7 +1349,7 @@ server.registerTool('get_test_plan_by_id', {
|
|
|
1349
1349
|
inputSchema: {
|
|
1350
1350
|
id: z.string()
|
|
1351
1351
|
.min(5)
|
|
1352
|
-
.max(
|
|
1352
|
+
.max(9)
|
|
1353
1353
|
.describe('Test plan ID (e.g. 145789)'),
|
|
1354
1354
|
},
|
|
1355
1355
|
}, async ({ id }) => handleGetTestPlanById(tp, id));
|
|
@@ -1359,7 +1359,7 @@ server.registerTool('get_test_plan_test_cases_by_id', {
|
|
|
1359
1359
|
inputSchema: {
|
|
1360
1360
|
id: z.string()
|
|
1361
1361
|
.min(5)
|
|
1362
|
-
.max(
|
|
1362
|
+
.max(9)
|
|
1363
1363
|
.describe('Test plan ID (e.g. 145789)'),
|
|
1364
1364
|
},
|
|
1365
1365
|
}, async ({ id }) => handleGetTestPlanTestCasesById(tp, id));
|
|
@@ -1369,7 +1369,7 @@ server.registerTool('get_test_plan_test_cases_with_steps_by_id', {
|
|
|
1369
1369
|
inputSchema: {
|
|
1370
1370
|
id: z.string()
|
|
1371
1371
|
.min(5)
|
|
1372
|
-
.max(
|
|
1372
|
+
.max(9)
|
|
1373
1373
|
.describe('Test plan ID (e.g. 145789)'),
|
|
1374
1374
|
},
|
|
1375
1375
|
}, async ({ id }) => handleGetTestPlanTestCasesWithStepsById(tp, id));
|
|
@@ -1379,7 +1379,7 @@ server.registerTool('get_test_case_by_id', {
|
|
|
1379
1379
|
inputSchema: {
|
|
1380
1380
|
id: z.string()
|
|
1381
1381
|
.min(5)
|
|
1382
|
-
.max(
|
|
1382
|
+
.max(9)
|
|
1383
1383
|
.describe('Test case ID (e.g. 145789)'),
|
|
1384
1384
|
},
|
|
1385
1385
|
}, async ({ id }) => handleGetTestCaseById(tp, id));
|
|
@@ -1389,7 +1389,7 @@ server.registerTool('update_test_case_by_id', {
|
|
|
1389
1389
|
inputSchema: {
|
|
1390
1390
|
id: z.string()
|
|
1391
1391
|
.min(5)
|
|
1392
|
-
.max(
|
|
1392
|
+
.max(9)
|
|
1393
1393
|
.describe('Test case ID (e.g. 145789)'),
|
|
1394
1394
|
name: z.string()
|
|
1395
1395
|
.optional()
|
|
@@ -1405,7 +1405,7 @@ server.registerTool('add_test_case_step_by_id', {
|
|
|
1405
1405
|
inputSchema: {
|
|
1406
1406
|
testCaseId: z.string()
|
|
1407
1407
|
.min(5)
|
|
1408
|
-
.max(
|
|
1408
|
+
.max(9)
|
|
1409
1409
|
.describe('Test case ID to append the step to (e.g. 145789)'),
|
|
1410
1410
|
description: z.string()
|
|
1411
1411
|
.describe('Step action text'),
|
|
@@ -1419,7 +1419,7 @@ server.registerTool('update_test_case_step_by_id', {
|
|
|
1419
1419
|
inputSchema: {
|
|
1420
1420
|
id: z.string()
|
|
1421
1421
|
.min(5)
|
|
1422
|
-
.max(
|
|
1422
|
+
.max(9)
|
|
1423
1423
|
.describe('Test step ID (e.g. 145789)'),
|
|
1424
1424
|
description: z.string()
|
|
1425
1425
|
.optional()
|
|
@@ -1435,7 +1435,7 @@ server.registerTool('delete_test_case_step_by_id', {
|
|
|
1435
1435
|
inputSchema: {
|
|
1436
1436
|
id: z.string()
|
|
1437
1437
|
.min(5)
|
|
1438
|
-
.max(
|
|
1438
|
+
.max(9)
|
|
1439
1439
|
.describe('Test step ID (e.g. 145789)'),
|
|
1440
1440
|
},
|
|
1441
1441
|
}, async ({ id }) => handleDeleteTestCaseStepById(tp, id));
|