mcp-server-esa 1.0.6 → 1.0.7

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Alibaba Cloud
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.js CHANGED
@@ -277,7 +277,7 @@ class Client {
277
277
  const service = new Client();
278
278
  const ROUTINE_CODE_COMMIT_TOOL = {
279
279
  name: 'routine_code_commit',
280
- description: 'Commit a edge routine(ER) code. If it fails, please submit again.',
280
+ description: 'Save a code version for future modifications or release within an Edge Routine (ER).',
281
281
  inputSchema: {
282
282
  type: 'object',
283
283
  properties: {
@@ -348,7 +348,7 @@ const routine_code_commit = async (request)=>{
348
348
  };
349
349
  const ROUTINE_CODE_DEPLOY_TOOL = {
350
350
  name: 'routine_code_deploy',
351
- description: 'Deploy a routine code, must be a valid semantic version. If version is not exist, should call routine_code_commit first',
351
+ description: 'Deploy a selected code version to the staging or production environment. If version is not exist, should call routine_code_commit first',
352
352
  inputSchema: {
353
353
  type: 'object',
354
354
  properties: {
@@ -433,7 +433,7 @@ const canary_area_list = async ()=>{
433
433
  };
434
434
  const DEPLOYMENT_DELETE_TOOL = {
435
435
  name: 'deployment_delete',
436
- description: 'Delete a deployment',
436
+ description: 'Delete a specified code version associated with an Edge Routine (ER).',
437
437
  inputSchema: {
438
438
  type: 'object',
439
439
  properties: {
@@ -466,7 +466,7 @@ const deployment_delete = async (request)=>{
466
466
  };
467
467
  const ER_RECORD_CREATE_TOOL = {
468
468
  name: 'er_record_create',
469
- description: 'Create a record',
469
+ description: 'Create a new record associated with an Edge Routine (ER)',
470
470
  inputSchema: {
471
471
  type: 'object',
472
472
  properties: {
@@ -492,7 +492,7 @@ const ER_RECORD_CREATE_TOOL = {
492
492
  };
493
493
  const ER_RECORD_DELETE_TOOL = {
494
494
  name: 'er_record_delete',
495
- description: 'Delete a record',
495
+ description: 'Delete a specified record associated with an Edge Routine (ER).',
496
496
  inputSchema: {
497
497
  type: 'object',
498
498
  properties: {
@@ -522,7 +522,7 @@ const ER_RECORD_DELETE_TOOL = {
522
522
  };
523
523
  const ER_RECORD_LIST_TOOL = {
524
524
  name: 'er_record_list',
525
- description: 'List all records',
525
+ description: 'List all records associated with a specific Edge Routine (ER).',
526
526
  inputSchema: {
527
527
  type: 'object',
528
528
  properties: {
@@ -586,7 +586,7 @@ const er_record_list = async (request)=>{
586
586
  };
587
587
  const ROUTE_CREATE_TOOL = {
588
588
  name: 'route_create',
589
- description: 'Create a edge routine(ER) related route',
589
+ description: 'Create a new route associated with an Edge Routine (ER).',
590
590
  inputSchema: {
591
591
  type: 'object',
592
592
  properties: {
@@ -604,7 +604,7 @@ const ROUTE_CREATE_TOOL = {
604
604
  },
605
605
  route: {
606
606
  type: 'string',
607
- description: 'The route of the route, if mode is simple, this field is required'
607
+ description: 'The route of the route, if mode is simple, this field is required. For example: test.example.com/*'
608
608
  },
609
609
  rule: {
610
610
  type: 'string',
@@ -616,7 +616,7 @@ const ROUTE_CREATE_TOOL = {
616
616
  },
617
617
  routeName: {
618
618
  type: 'string',
619
- description: 'The name of the route, use to identify the route'
619
+ description: 'The name of the route, use to identify the route. For example: test-route'
620
620
  },
621
621
  bypass: {
622
622
  type: 'enum',
@@ -652,7 +652,7 @@ const ROUTE_CREATE_TOOL = {
652
652
  };
653
653
  const ROUTE_UPDATE_TOOL = {
654
654
  name: 'route_update',
655
- description: 'Update a routine related route',
655
+ description: 'Modify the configuration of an existing Edge Routine route.',
656
656
  inputSchema: {
657
657
  type: 'object',
658
658
  properties: {
@@ -666,7 +666,7 @@ const ROUTE_UPDATE_TOOL = {
666
666
  },
667
667
  routeName: {
668
668
  type: 'string',
669
- description: 'The name of the route, use to identify the route'
669
+ description: 'The name of the route, use to identify the route.'
670
670
  },
671
671
  routeEnable: {
672
672
  type: 'enum',
@@ -710,7 +710,7 @@ const ROUTE_UPDATE_TOOL = {
710
710
  };
711
711
  const ROUTE_DELETE_TOOL = {
712
712
  name: 'route_delete',
713
- description: 'Delete a routine related route',
713
+ description: 'Delete a specified route associated with an Edge Routine (ER).',
714
714
  inputSchema: {
715
715
  type: 'object',
716
716
  properties: {
@@ -731,7 +731,7 @@ const ROUTE_DELETE_TOOL = {
731
731
  };
732
732
  const ROUTE_GET_TOOL = {
733
733
  name: 'route_get',
734
- description: 'Get a routine related route',
734
+ description: 'Get details of a specific route associated with an Edge Routine (ER).',
735
735
  inputSchema: {
736
736
  type: 'object',
737
737
  properties: {
@@ -752,7 +752,7 @@ const ROUTE_GET_TOOL = {
752
752
  };
753
753
  const ROUTINE_ROUTE_LIST_TOOL = {
754
754
  name: 'routine_route_list',
755
- description: 'List all routes of a routine',
755
+ description: 'List all routes associated with a specific Edge Routine (ER).',
756
756
  inputSchema: {
757
757
  type: 'object',
758
758
  properties: {
@@ -780,7 +780,7 @@ const ROUTINE_ROUTE_LIST_TOOL = {
780
780
  };
781
781
  const SITE_ROUTE_LIST_TOOL = {
782
782
  name: 'site_route_list',
783
- description: 'List all routes of a site',
783
+ description: 'List all routes associated with a specific site.',
784
784
  inputSchema: {
785
785
  type: 'object',
786
786
  properties: {
@@ -916,7 +916,7 @@ const site_route_list = async (request)=>{
916
916
  };
917
917
  const ROUTINE_CREATE_TOOL = {
918
918
  name: 'routine_create',
919
- description: 'Create a edge routine(ER).',
919
+ description: 'Create a new Edge Routine (ER) in your Alibaba Cloud account.',
920
920
  inputSchema: {
921
921
  type: 'object',
922
922
  properties: {
@@ -941,7 +941,7 @@ const ROUTINE_CREATE_TOOL = {
941
941
  };
942
942
  const ROUTINE_DELETE_TOOL = {
943
943
  name: 'routine_delete',
944
- description: 'Delete a edge routine(ER).',
944
+ description: 'Delete an existing Edge Routine (ER) from your Alibaba Cloud account.',
945
945
  inputSchema: {
946
946
  type: 'object',
947
947
  properties: {
@@ -957,7 +957,7 @@ const ROUTINE_DELETE_TOOL = {
957
957
  };
958
958
  const ROUTINE_LIST_TOOL = {
959
959
  name: 'routine_list',
960
- description: 'List all edge routines',
960
+ description: 'List all Edge Routines (ERs) in your Alibaba Cloud account.',
961
961
  inputSchema: {
962
962
  type: 'object',
963
963
  properties: {}
@@ -965,7 +965,7 @@ const ROUTINE_LIST_TOOL = {
965
965
  };
966
966
  const ROUTINE_GET_TOOL = {
967
967
  name: 'routine_get',
968
- description: 'Get a edge routine detail by name',
968
+ description: 'Get a the details of a Edge Routine (ER).',
969
969
  inputSchema: {
970
970
  type: 'object',
971
971
  properties: {
@@ -1037,7 +1037,7 @@ const SITE_ACTIVE_LIST_TOOL = {
1037
1037
  };
1038
1038
  const SITE_MATCH_TOOL = {
1039
1039
  name: 'site_match',
1040
- description: 'Check which site under the account matches the user input user must input recordName',
1040
+ description: 'Identify which site in the account matches the provided input criteria.',
1041
1041
  inputSchema: {
1042
1042
  type: 'object',
1043
1043
  properties: {
@@ -1051,9 +1051,9 @@ const SITE_MATCH_TOOL = {
1051
1051
  ]
1052
1052
  }
1053
1053
  };
1054
- const SITE_DNS_TYPE_A_RECORD_CREATE_TOOL = {
1055
- name: 'site_dns_type_a_record_create',
1056
- description: 'Create a A record for a site.',
1054
+ const SITE_DNS_A_RECORD_CREATE_TOOL = {
1055
+ name: 'site_dns_a_record_create',
1056
+ description: 'Create an A DNS record for a specified site.',
1057
1057
  inputSchema: {
1058
1058
  type: 'object',
1059
1059
  properties: {
@@ -1093,9 +1093,9 @@ const SITE_DNS_TYPE_A_RECORD_CREATE_TOOL = {
1093
1093
  ]
1094
1094
  }
1095
1095
  };
1096
- const SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL = {
1097
- name: 'site_dns_cname_domain_record_create',
1098
- description: 'Create a CNAME domain record for a site.',
1096
+ const SITE_DNS_CNAME_RECORD_CREATE_TOOL = {
1097
+ name: 'site_dns_cname_record_create',
1098
+ description: 'Create a CNAME DNS record for a specified site.',
1099
1099
  inputSchema: {
1100
1100
  type: 'object',
1101
1101
  properties: {
@@ -1137,7 +1137,7 @@ const SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL = {
1137
1137
  };
1138
1138
  const SITE_RECORD_LIST_TOOL = {
1139
1139
  name: 'site_record_list',
1140
- description: 'List all records in a site',
1140
+ description: 'List DNS records associated with a specific site.',
1141
1141
  inputSchema: {
1142
1142
  type: 'object',
1143
1143
  properties: {
@@ -1148,7 +1148,7 @@ const SITE_RECORD_LIST_TOOL = {
1148
1148
  }
1149
1149
  }
1150
1150
  };
1151
- const site_dns_type_a_record_create = async (request)=>{
1151
+ const site_dns_a_record_create = async (request)=>{
1152
1152
  const res = await service.createRecord({
1153
1153
  ttl: 1,
1154
1154
  proxied: true,
@@ -1166,7 +1166,7 @@ const site_dns_type_a_record_create = async (request)=>{
1166
1166
  success: true
1167
1167
  };
1168
1168
  };
1169
- const site_dns_cname_domain_record_create = async (request)=>{
1169
+ const site_dns_cname_record_create = async (request)=>{
1170
1170
  const res = await service.createRecord({
1171
1171
  ttl: 1,
1172
1172
  proxied: true,
@@ -1253,16 +1253,16 @@ const ESA_OPENAPI_ER_LIST = [
1253
1253
  ER_RECORD_CREATE_TOOL,
1254
1254
  ER_RECORD_DELETE_TOOL,
1255
1255
  ER_RECORD_LIST_TOOL,
1256
- SITE_DNS_TYPE_A_RECORD_CREATE_TOOL,
1257
- SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL,
1256
+ SITE_DNS_A_RECORD_CREATE_TOOL,
1257
+ SITE_DNS_CNAME_RECORD_CREATE_TOOL,
1258
1258
  SITE_RECORD_LIST_TOOL
1259
1259
  ];
1260
1260
  const ESA_OPENAPI_LIST = [
1261
1261
  ...ESA_OPENAPI_ER_LIST
1262
1262
  ];
1263
1263
  const routineHandlers = {
1264
- site_dns_type_a_record_create: site_dns_type_a_record_create,
1265
- site_dns_cname_domain_record_create: site_dns_cname_domain_record_create,
1264
+ site_dns_a_record_create: site_dns_a_record_create,
1265
+ site_dns_cname_record_create: site_dns_cname_record_create,
1266
1266
  site_active_list: site_active_list,
1267
1267
  site_match: site_match,
1268
1268
  site_route_list: site_route_list,
package/dist/index.mjs CHANGED
@@ -251,7 +251,7 @@ class Client {
251
251
  const service = new Client();
252
252
  const ROUTINE_CODE_COMMIT_TOOL = {
253
253
  name: 'routine_code_commit',
254
- description: 'Commit a edge routine(ER) code. If it fails, please submit again.',
254
+ description: 'Save a code version for future modifications or release within an Edge Routine (ER).',
255
255
  inputSchema: {
256
256
  type: 'object',
257
257
  properties: {
@@ -322,7 +322,7 @@ const routine_code_commit = async (request)=>{
322
322
  };
323
323
  const ROUTINE_CODE_DEPLOY_TOOL = {
324
324
  name: 'routine_code_deploy',
325
- description: 'Deploy a routine code, must be a valid semantic version. If version is not exist, should call routine_code_commit first',
325
+ description: 'Deploy a selected code version to the staging or production environment. If version is not exist, should call routine_code_commit first',
326
326
  inputSchema: {
327
327
  type: 'object',
328
328
  properties: {
@@ -407,7 +407,7 @@ const canary_area_list = async ()=>{
407
407
  };
408
408
  const DEPLOYMENT_DELETE_TOOL = {
409
409
  name: 'deployment_delete',
410
- description: 'Delete a deployment',
410
+ description: 'Delete a specified code version associated with an Edge Routine (ER).',
411
411
  inputSchema: {
412
412
  type: 'object',
413
413
  properties: {
@@ -440,7 +440,7 @@ const deployment_delete = async (request)=>{
440
440
  };
441
441
  const ER_RECORD_CREATE_TOOL = {
442
442
  name: 'er_record_create',
443
- description: 'Create a record',
443
+ description: 'Create a new record associated with an Edge Routine (ER)',
444
444
  inputSchema: {
445
445
  type: 'object',
446
446
  properties: {
@@ -466,7 +466,7 @@ const ER_RECORD_CREATE_TOOL = {
466
466
  };
467
467
  const ER_RECORD_DELETE_TOOL = {
468
468
  name: 'er_record_delete',
469
- description: 'Delete a record',
469
+ description: 'Delete a specified record associated with an Edge Routine (ER).',
470
470
  inputSchema: {
471
471
  type: 'object',
472
472
  properties: {
@@ -496,7 +496,7 @@ const ER_RECORD_DELETE_TOOL = {
496
496
  };
497
497
  const ER_RECORD_LIST_TOOL = {
498
498
  name: 'er_record_list',
499
- description: 'List all records',
499
+ description: 'List all records associated with a specific Edge Routine (ER).',
500
500
  inputSchema: {
501
501
  type: 'object',
502
502
  properties: {
@@ -560,7 +560,7 @@ const er_record_list = async (request)=>{
560
560
  };
561
561
  const ROUTE_CREATE_TOOL = {
562
562
  name: 'route_create',
563
- description: 'Create a edge routine(ER) related route',
563
+ description: 'Create a new route associated with an Edge Routine (ER).',
564
564
  inputSchema: {
565
565
  type: 'object',
566
566
  properties: {
@@ -578,7 +578,7 @@ const ROUTE_CREATE_TOOL = {
578
578
  },
579
579
  route: {
580
580
  type: 'string',
581
- description: 'The route of the route, if mode is simple, this field is required'
581
+ description: 'The route of the route, if mode is simple, this field is required. For example: test.example.com/*'
582
582
  },
583
583
  rule: {
584
584
  type: 'string',
@@ -590,7 +590,7 @@ const ROUTE_CREATE_TOOL = {
590
590
  },
591
591
  routeName: {
592
592
  type: 'string',
593
- description: 'The name of the route, use to identify the route'
593
+ description: 'The name of the route, use to identify the route. For example: test-route'
594
594
  },
595
595
  bypass: {
596
596
  type: 'enum',
@@ -626,7 +626,7 @@ const ROUTE_CREATE_TOOL = {
626
626
  };
627
627
  const ROUTE_UPDATE_TOOL = {
628
628
  name: 'route_update',
629
- description: 'Update a routine related route',
629
+ description: 'Modify the configuration of an existing Edge Routine route.',
630
630
  inputSchema: {
631
631
  type: 'object',
632
632
  properties: {
@@ -640,7 +640,7 @@ const ROUTE_UPDATE_TOOL = {
640
640
  },
641
641
  routeName: {
642
642
  type: 'string',
643
- description: 'The name of the route, use to identify the route'
643
+ description: 'The name of the route, use to identify the route.'
644
644
  },
645
645
  routeEnable: {
646
646
  type: 'enum',
@@ -684,7 +684,7 @@ const ROUTE_UPDATE_TOOL = {
684
684
  };
685
685
  const ROUTE_DELETE_TOOL = {
686
686
  name: 'route_delete',
687
- description: 'Delete a routine related route',
687
+ description: 'Delete a specified route associated with an Edge Routine (ER).',
688
688
  inputSchema: {
689
689
  type: 'object',
690
690
  properties: {
@@ -705,7 +705,7 @@ const ROUTE_DELETE_TOOL = {
705
705
  };
706
706
  const ROUTE_GET_TOOL = {
707
707
  name: 'route_get',
708
- description: 'Get a routine related route',
708
+ description: 'Get details of a specific route associated with an Edge Routine (ER).',
709
709
  inputSchema: {
710
710
  type: 'object',
711
711
  properties: {
@@ -726,7 +726,7 @@ const ROUTE_GET_TOOL = {
726
726
  };
727
727
  const ROUTINE_ROUTE_LIST_TOOL = {
728
728
  name: 'routine_route_list',
729
- description: 'List all routes of a routine',
729
+ description: 'List all routes associated with a specific Edge Routine (ER).',
730
730
  inputSchema: {
731
731
  type: 'object',
732
732
  properties: {
@@ -754,7 +754,7 @@ const ROUTINE_ROUTE_LIST_TOOL = {
754
754
  };
755
755
  const SITE_ROUTE_LIST_TOOL = {
756
756
  name: 'site_route_list',
757
- description: 'List all routes of a site',
757
+ description: 'List all routes associated with a specific site.',
758
758
  inputSchema: {
759
759
  type: 'object',
760
760
  properties: {
@@ -890,7 +890,7 @@ const site_route_list = async (request)=>{
890
890
  };
891
891
  const ROUTINE_CREATE_TOOL = {
892
892
  name: 'routine_create',
893
- description: 'Create a edge routine(ER).',
893
+ description: 'Create a new Edge Routine (ER) in your Alibaba Cloud account.',
894
894
  inputSchema: {
895
895
  type: 'object',
896
896
  properties: {
@@ -915,7 +915,7 @@ const ROUTINE_CREATE_TOOL = {
915
915
  };
916
916
  const ROUTINE_DELETE_TOOL = {
917
917
  name: 'routine_delete',
918
- description: 'Delete a edge routine(ER).',
918
+ description: 'Delete an existing Edge Routine (ER) from your Alibaba Cloud account.',
919
919
  inputSchema: {
920
920
  type: 'object',
921
921
  properties: {
@@ -931,7 +931,7 @@ const ROUTINE_DELETE_TOOL = {
931
931
  };
932
932
  const ROUTINE_LIST_TOOL = {
933
933
  name: 'routine_list',
934
- description: 'List all edge routines',
934
+ description: 'List all Edge Routines (ERs) in your Alibaba Cloud account.',
935
935
  inputSchema: {
936
936
  type: 'object',
937
937
  properties: {}
@@ -939,7 +939,7 @@ const ROUTINE_LIST_TOOL = {
939
939
  };
940
940
  const ROUTINE_GET_TOOL = {
941
941
  name: 'routine_get',
942
- description: 'Get a edge routine detail by name',
942
+ description: 'Get a the details of a Edge Routine (ER).',
943
943
  inputSchema: {
944
944
  type: 'object',
945
945
  properties: {
@@ -1011,7 +1011,7 @@ const SITE_ACTIVE_LIST_TOOL = {
1011
1011
  };
1012
1012
  const SITE_MATCH_TOOL = {
1013
1013
  name: 'site_match',
1014
- description: 'Check which site under the account matches the user input user must input recordName',
1014
+ description: 'Identify which site in the account matches the provided input criteria.',
1015
1015
  inputSchema: {
1016
1016
  type: 'object',
1017
1017
  properties: {
@@ -1025,9 +1025,9 @@ const SITE_MATCH_TOOL = {
1025
1025
  ]
1026
1026
  }
1027
1027
  };
1028
- const SITE_DNS_TYPE_A_RECORD_CREATE_TOOL = {
1029
- name: 'site_dns_type_a_record_create',
1030
- description: 'Create a A record for a site.',
1028
+ const SITE_DNS_A_RECORD_CREATE_TOOL = {
1029
+ name: 'site_dns_a_record_create',
1030
+ description: 'Create an A DNS record for a specified site.',
1031
1031
  inputSchema: {
1032
1032
  type: 'object',
1033
1033
  properties: {
@@ -1067,9 +1067,9 @@ const SITE_DNS_TYPE_A_RECORD_CREATE_TOOL = {
1067
1067
  ]
1068
1068
  }
1069
1069
  };
1070
- const SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL = {
1071
- name: 'site_dns_cname_domain_record_create',
1072
- description: 'Create a CNAME domain record for a site.',
1070
+ const SITE_DNS_CNAME_RECORD_CREATE_TOOL = {
1071
+ name: 'site_dns_cname_record_create',
1072
+ description: 'Create a CNAME DNS record for a specified site.',
1073
1073
  inputSchema: {
1074
1074
  type: 'object',
1075
1075
  properties: {
@@ -1111,7 +1111,7 @@ const SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL = {
1111
1111
  };
1112
1112
  const SITE_RECORD_LIST_TOOL = {
1113
1113
  name: 'site_record_list',
1114
- description: 'List all records in a site',
1114
+ description: 'List DNS records associated with a specific site.',
1115
1115
  inputSchema: {
1116
1116
  type: 'object',
1117
1117
  properties: {
@@ -1122,7 +1122,7 @@ const SITE_RECORD_LIST_TOOL = {
1122
1122
  }
1123
1123
  }
1124
1124
  };
1125
- const site_dns_type_a_record_create = async (request)=>{
1125
+ const site_dns_a_record_create = async (request)=>{
1126
1126
  const res = await service.createRecord({
1127
1127
  ttl: 1,
1128
1128
  proxied: true,
@@ -1140,7 +1140,7 @@ const site_dns_type_a_record_create = async (request)=>{
1140
1140
  success: true
1141
1141
  };
1142
1142
  };
1143
- const site_dns_cname_domain_record_create = async (request)=>{
1143
+ const site_dns_cname_record_create = async (request)=>{
1144
1144
  const res = await service.createRecord({
1145
1145
  ttl: 1,
1146
1146
  proxied: true,
@@ -1227,16 +1227,16 @@ const ESA_OPENAPI_ER_LIST = [
1227
1227
  ER_RECORD_CREATE_TOOL,
1228
1228
  ER_RECORD_DELETE_TOOL,
1229
1229
  ER_RECORD_LIST_TOOL,
1230
- SITE_DNS_TYPE_A_RECORD_CREATE_TOOL,
1231
- SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL,
1230
+ SITE_DNS_A_RECORD_CREATE_TOOL,
1231
+ SITE_DNS_CNAME_RECORD_CREATE_TOOL,
1232
1232
  SITE_RECORD_LIST_TOOL
1233
1233
  ];
1234
1234
  const ESA_OPENAPI_LIST = [
1235
1235
  ...ESA_OPENAPI_ER_LIST
1236
1236
  ];
1237
1237
  const routineHandlers = {
1238
- site_dns_type_a_record_create: site_dns_type_a_record_create,
1239
- site_dns_cname_domain_record_create: site_dns_cname_domain_record_create,
1238
+ site_dns_a_record_create: site_dns_a_record_create,
1239
+ site_dns_cname_record_create: site_dns_cname_record_create,
1240
1240
  site_active_list: site_active_list,
1241
1241
  site_match: site_match,
1242
1242
  site_route_list: site_route_list,
@@ -10,6 +10,14 @@ export declare const ESA_OPENAPI_ER_LIST: {
10
10
  } | undefined;
11
11
  };
12
12
  description?: string | undefined;
13
+ annotations?: {
14
+ [x: string]: unknown;
15
+ title?: string | undefined;
16
+ readOnlyHint?: boolean | undefined;
17
+ destructiveHint?: boolean | undefined;
18
+ idempotentHint?: boolean | undefined;
19
+ openWorldHint?: boolean | undefined;
20
+ } | undefined;
13
21
  }[];
14
22
  export declare const ESA_OPENAPI_LIST: {
15
23
  [x: string]: unknown;
@@ -22,5 +30,13 @@ export declare const ESA_OPENAPI_LIST: {
22
30
  } | undefined;
23
31
  };
24
32
  description?: string | undefined;
33
+ annotations?: {
34
+ [x: string]: unknown;
35
+ title?: string | undefined;
36
+ readOnlyHint?: boolean | undefined;
37
+ destructiveHint?: boolean | undefined;
38
+ idempotentHint?: boolean | undefined;
39
+ openWorldHint?: boolean | undefined;
40
+ } | undefined;
25
41
  }[];
26
42
  export declare const routineHandlers: ToolHandlers;
@@ -1,17 +1,17 @@
1
1
  import { CallToolRequest, Tool } from '@modelcontextprotocol/sdk/types.js';
2
2
  export declare const SITE_ACTIVE_LIST_TOOL: Tool;
3
3
  export declare const SITE_MATCH_TOOL: Tool;
4
- export declare const SITE_DNS_TYPE_A_RECORD_CREATE_TOOL: Tool;
5
- export declare const SITE_DNS_CNAME_DOMAIN_RECORD_CREATE_TOOL: Tool;
4
+ export declare const SITE_DNS_A_RECORD_CREATE_TOOL: Tool;
5
+ export declare const SITE_DNS_CNAME_RECORD_CREATE_TOOL: Tool;
6
6
  export declare const SITE_RECORD_LIST_TOOL: Tool;
7
- export declare const site_dns_type_a_record_create: (request: CallToolRequest) => Promise<{
7
+ export declare const site_dns_a_record_create: (request: CallToolRequest) => Promise<{
8
8
  content: {
9
9
  type: string;
10
10
  text: string;
11
11
  }[];
12
12
  success: boolean;
13
13
  }>;
14
- export declare const site_dns_cname_domain_record_create: (request: CallToolRequest) => Promise<{
14
+ export declare const site_dns_cname_record_create: (request: CallToolRequest) => Promise<{
15
15
  content: {
16
16
  type: string;
17
17
  text: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-server-esa",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Alibaba Cloud ESA (Edge Security Acceleration) MCP Server",
5
5
  "main": "./dist/index.js",
6
6
  "type": "commonjs",
@@ -35,7 +35,7 @@
35
35
  "registry": "https://registry.npmjs.org/"
36
36
  },
37
37
  "dependencies": {
38
- "@alicloud/esa20240910": "^2.23.0",
38
+ "@alicloud/esa20240910": "^2.25.0",
39
39
  "@alicloud/openapi-client": "^0.4.13",
40
40
  "@alicloud/tea-util": "^1.4.10",
41
41
  "@modelcontextprotocol/sdk": "^1.7.0",