@contentful/mcp-tools 0.12.0 → 0.12.2

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/dist/index.d.ts CHANGED
@@ -383,6 +383,7 @@ declare class ContentfulMcpTools {
383
383
  };
384
384
  annotations: {
385
385
  readOnlyHint: boolean;
386
+ destructiveHint: boolean;
386
387
  openWorldHint: boolean;
387
388
  };
388
389
  tool: (params: {
@@ -428,6 +429,7 @@ declare class ContentfulMcpTools {
428
429
  };
429
430
  annotations: {
430
431
  readOnlyHint: boolean;
432
+ destructiveHint: boolean;
431
433
  openWorldHint: boolean;
432
434
  };
433
435
  tool: (params: {
@@ -451,6 +453,7 @@ declare class ContentfulMcpTools {
451
453
  };
452
454
  annotations: {
453
455
  readOnlyHint: boolean;
456
+ destructiveHint: boolean;
454
457
  openWorldHint: boolean;
455
458
  };
456
459
  tool: (params: {
@@ -805,6 +808,7 @@ declare class ContentfulMcpTools {
805
808
  };
806
809
  annotations: {
807
810
  readOnlyHint: boolean;
811
+ destructiveHint: boolean;
808
812
  openWorldHint: boolean;
809
813
  };
810
814
  tool: (params: {
@@ -830,6 +834,7 @@ declare class ContentfulMcpTools {
830
834
  };
831
835
  annotations: {
832
836
  readOnlyHint: boolean;
837
+ destructiveHint: boolean;
833
838
  openWorldHint: boolean;
834
839
  };
835
840
  tool: (params: {
@@ -1096,6 +1101,7 @@ declare class ContentfulMcpTools {
1096
1101
  };
1097
1102
  annotations: {
1098
1103
  readOnlyHint: boolean;
1104
+ destructiveHint: boolean;
1099
1105
  openWorldHint: boolean;
1100
1106
  };
1101
1107
  tool: (params: {
@@ -1119,6 +1125,7 @@ declare class ContentfulMcpTools {
1119
1125
  };
1120
1126
  annotations: {
1121
1127
  readOnlyHint: boolean;
1128
+ destructiveHint: boolean;
1122
1129
  openWorldHint: boolean;
1123
1130
  };
1124
1131
  tool: (params: {
@@ -4118,6 +4125,7 @@ declare class ContentfulMcpTools {
4118
4125
  inputParams: {};
4119
4126
  annotations: {
4120
4127
  readOnlyHint: boolean;
4128
+ destructiveHint: boolean;
4121
4129
  openWorldHint: boolean;
4122
4130
  };
4123
4131
  tool: (params: {}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
@@ -4136,6 +4144,7 @@ declare class ContentfulMcpTools {
4136
4144
  };
4137
4145
  annotations: {
4138
4146
  readOnlyHint: boolean;
4147
+ destructiveHint: boolean;
4139
4148
  openWorldHint: boolean;
4140
4149
  };
4141
4150
  tool: (params: {
@@ -4154,6 +4163,7 @@ declare class ContentfulMcpTools {
4154
4163
  };
4155
4164
  annotations: {
4156
4165
  readOnlyHint: boolean;
4166
+ destructiveHint: boolean;
4157
4167
  openWorldHint: boolean;
4158
4168
  };
4159
4169
  tool: (params: {
@@ -4365,6 +4375,7 @@ declare class ContentfulMcpTools {
4365
4375
  };
4366
4376
  annotations: {
4367
4377
  readOnlyHint: boolean;
4378
+ destructiveHint: boolean;
4368
4379
  openWorldHint: boolean;
4369
4380
  };
4370
4381
  tool: (params: {
@@ -4411,6 +4422,7 @@ declare class ContentfulMcpTools {
4411
4422
  };
4412
4423
  annotations: {
4413
4424
  readOnlyHint: boolean;
4425
+ destructiveHint: boolean;
4414
4426
  openWorldHint: boolean;
4415
4427
  };
4416
4428
  tool: (params: {
@@ -4712,6 +4724,7 @@ declare class ContentfulMcpTools {
4712
4724
  };
4713
4725
  annotations: {
4714
4726
  readOnlyHint: boolean;
4727
+ destructiveHint: boolean;
4715
4728
  openWorldHint: boolean;
4716
4729
  };
4717
4730
  tool: (params: {
@@ -4732,6 +4745,7 @@ declare class ContentfulMcpTools {
4732
4745
  };
4733
4746
  annotations: {
4734
4747
  readOnlyHint: boolean;
4748
+ destructiveHint: boolean;
4735
4749
  openWorldHint: boolean;
4736
4750
  };
4737
4751
  tool: (params: {
@@ -4753,6 +4767,7 @@ declare class ContentfulMcpTools {
4753
4767
  };
4754
4768
  annotations: {
4755
4769
  readOnlyHint: boolean;
4770
+ destructiveHint: boolean;
4756
4771
  openWorldHint: boolean;
4757
4772
  };
4758
4773
  tool: (params: {
@@ -5204,6 +5219,7 @@ declare class ContentfulMcpTools {
5204
5219
  };
5205
5220
  annotations: {
5206
5221
  readOnlyHint: boolean;
5222
+ destructiveHint: boolean;
5207
5223
  openWorldHint: boolean;
5208
5224
  };
5209
5225
  tool: (params: {
@@ -5254,6 +5270,7 @@ declare class ContentfulMcpTools {
5254
5270
  };
5255
5271
  annotations: {
5256
5272
  readOnlyHint: boolean;
5273
+ destructiveHint: boolean;
5257
5274
  openWorldHint: boolean;
5258
5275
  };
5259
5276
  tool: (params: {
@@ -5310,6 +5327,7 @@ declare class ContentfulMcpTools {
5310
5327
  };
5311
5328
  annotations: {
5312
5329
  readOnlyHint: boolean;
5330
+ destructiveHint: boolean;
5313
5331
  openWorldHint: boolean;
5314
5332
  };
5315
5333
  tool: (params: {
@@ -5414,6 +5432,7 @@ declare class ContentfulMcpTools {
5414
5432
  };
5415
5433
  annotations: {
5416
5434
  readOnlyHint: boolean;
5435
+ destructiveHint: boolean;
5417
5436
  openWorldHint: boolean;
5418
5437
  };
5419
5438
  tool: (params: {
@@ -5431,6 +5450,7 @@ declare class ContentfulMcpTools {
5431
5450
  };
5432
5451
  annotations: {
5433
5452
  readOnlyHint: boolean;
5453
+ destructiveHint: boolean;
5434
5454
  openWorldHint: boolean;
5435
5455
  };
5436
5456
  tool: (params: {
@@ -5453,6 +5473,7 @@ declare class ContentfulMcpTools {
5453
5473
  };
5454
5474
  annotations: {
5455
5475
  readOnlyHint: boolean;
5476
+ destructiveHint: boolean;
5456
5477
  openWorldHint: boolean;
5457
5478
  };
5458
5479
  tool: (params: {
@@ -5470,6 +5491,7 @@ declare class ContentfulMcpTools {
5470
5491
  };
5471
5492
  annotations: {
5472
5493
  readOnlyHint: boolean;
5494
+ destructiveHint: boolean;
5473
5495
  openWorldHint: boolean;
5474
5496
  };
5475
5497
  tool: (params: {
@@ -5495,6 +5517,7 @@ declare class ContentfulMcpTools {
5495
5517
  };
5496
5518
  annotations: {
5497
5519
  readOnlyHint: boolean;
5520
+ destructiveHint: boolean;
5498
5521
  openWorldHint: boolean;
5499
5522
  };
5500
5523
  tool: (params: {
@@ -5653,6 +5676,7 @@ declare class ContentfulMcpTools {
5653
5676
  };
5654
5677
  annotations: {
5655
5678
  readOnlyHint: boolean;
5679
+ destructiveHint: boolean;
5656
5680
  openWorldHint: boolean;
5657
5681
  };
5658
5682
  tool: (params: {
@@ -5676,6 +5700,7 @@ declare class ContentfulMcpTools {
5676
5700
  };
5677
5701
  annotations: {
5678
5702
  readOnlyHint: boolean;
5703
+ destructiveHint: boolean;
5679
5704
  openWorldHint: boolean;
5680
5705
  };
5681
5706
  tool: (params: {
@@ -5899,6 +5924,7 @@ declare class ContentfulMcpTools {
5899
5924
  };
5900
5925
  annotations: {
5901
5926
  readOnlyHint: boolean;
5927
+ destructiveHint: boolean;
5902
5928
  openWorldHint: boolean;
5903
5929
  };
5904
5930
  tool: (params: {
@@ -5942,6 +5968,7 @@ declare class ContentfulMcpTools {
5942
5968
  };
5943
5969
  annotations: {
5944
5970
  readOnlyHint: boolean;
5971
+ destructiveHint: boolean;
5945
5972
  openWorldHint: boolean;
5946
5973
  };
5947
5974
  tool: (params: {
@@ -6296,6 +6323,7 @@ declare class ContentfulMcpTools {
6296
6323
  };
6297
6324
  annotations: {
6298
6325
  readOnlyHint: boolean;
6326
+ destructiveHint: boolean;
6299
6327
  openWorldHint: boolean;
6300
6328
  };
6301
6329
  tool: (params: {
@@ -6443,6 +6471,7 @@ declare class ContentfulMcpTools {
6443
6471
  };
6444
6472
  annotations: {
6445
6473
  readOnlyHint: boolean;
6474
+ destructiveHint: boolean;
6446
6475
  openWorldHint: boolean;
6447
6476
  };
6448
6477
  tool: (params: {
package/dist/index.js CHANGED
@@ -681,6 +681,7 @@ function createAiActionTools(config) {
681
681
  inputParams: GetAiActionInvocationToolParams.shape,
682
682
  annotations: {
683
683
  readOnlyHint: true,
684
+ destructiveHint: false,
684
685
  openWorldHint: false
685
686
  },
686
687
  tool: getAiActionInvocation
@@ -703,6 +704,7 @@ function createAiActionTools(config) {
703
704
  inputParams: GetAiActionToolParams.shape,
704
705
  annotations: {
705
706
  readOnlyHint: true,
707
+ destructiveHint: false,
706
708
  openWorldHint: false
707
709
  },
708
710
  tool: getAiAction
@@ -713,6 +715,7 @@ function createAiActionTools(config) {
713
715
  inputParams: ListAiActionToolParams.shape,
714
716
  annotations: {
715
717
  readOnlyHint: true,
718
+ destructiveHint: false,
716
719
  openWorldHint: false
717
720
  },
718
721
  tool: listAiAction
@@ -1535,6 +1538,7 @@ function createAssetTools(config) {
1535
1538
  inputParams: ListAssetsToolParams.shape,
1536
1539
  annotations: {
1537
1540
  readOnlyHint: true,
1541
+ destructiveHint: false,
1538
1542
  openWorldHint: false
1539
1543
  },
1540
1544
  tool: listAssets
@@ -1545,6 +1549,7 @@ function createAssetTools(config) {
1545
1549
  inputParams: GetAssetToolParams.shape,
1546
1550
  annotations: {
1547
1551
  readOnlyHint: true,
1552
+ destructiveHint: false,
1548
1553
  openWorldHint: false
1549
1554
  },
1550
1555
  tool: getAsset
@@ -2161,6 +2166,7 @@ function createContentTypeTools(config) {
2161
2166
  inputParams: GetContentTypeToolParams.shape,
2162
2167
  annotations: {
2163
2168
  readOnlyHint: true,
2169
+ destructiveHint: false,
2164
2170
  openWorldHint: false
2165
2171
  },
2166
2172
  tool: getContentType
@@ -2171,6 +2177,7 @@ function createContentTypeTools(config) {
2171
2177
  inputParams: ListContentTypesToolParams.shape,
2172
2178
  annotations: {
2173
2179
  readOnlyHint: true,
2180
+ destructiveHint: false,
2174
2181
  openWorldHint: false
2175
2182
  },
2176
2183
  tool: listContentTypes
@@ -2454,6 +2461,7 @@ function createContextTools(config) {
2454
2461
  inputParams: GetInitialContextToolParams.shape,
2455
2462
  annotations: {
2456
2463
  readOnlyHint: true,
2464
+ destructiveHint: false,
2457
2465
  openWorldHint: false
2458
2466
  },
2459
2467
  tool: getInitialContext
@@ -2610,6 +2618,7 @@ function createEditorInterfaceTools(config) {
2610
2618
  inputParams: ListEditorInterfacesToolParams.shape,
2611
2619
  annotations: {
2612
2620
  readOnlyHint: true,
2621
+ destructiveHint: false,
2613
2622
  openWorldHint: false
2614
2623
  },
2615
2624
  tool: listEditorInterfaces
@@ -2620,6 +2629,7 @@ function createEditorInterfaceTools(config) {
2620
2629
  inputParams: GetEditorInterfaceToolParams.shape,
2621
2630
  annotations: {
2622
2631
  readOnlyHint: true,
2632
+ destructiveHint: false,
2623
2633
  openWorldHint: false
2624
2634
  },
2625
2635
  tool: getEditorInterface
@@ -3530,6 +3540,7 @@ function createEntryTools(config) {
3530
3540
  inputParams: SearchEntriesToolParams.shape,
3531
3541
  annotations: {
3532
3542
  readOnlyHint: true,
3543
+ destructiveHint: false,
3533
3544
  openWorldHint: false
3534
3545
  },
3535
3546
  tool: searchEntries
@@ -3540,6 +3551,7 @@ function createEntryTools(config) {
3540
3551
  inputParams: SemanticSearchToolParams.shape,
3541
3552
  annotations: {
3542
3553
  readOnlyHint: true,
3554
+ destructiveHint: false,
3543
3555
  openWorldHint: false
3544
3556
  },
3545
3557
  tool: semanticSearch
@@ -3562,6 +3574,7 @@ function createEntryTools(config) {
3562
3574
  inputParams: GetEntryToolParams.shape,
3563
3575
  annotations: {
3564
3576
  readOnlyHint: true,
3577
+ destructiveHint: false,
3565
3578
  openWorldHint: false
3566
3579
  },
3567
3580
  tool: getEntry
@@ -3572,6 +3585,7 @@ function createEntryTools(config) {
3572
3585
  inputParams: ResolveEntryReferencesToolParams.shape,
3573
3586
  annotations: {
3574
3587
  readOnlyHint: true,
3588
+ destructiveHint: false,
3575
3589
  openWorldHint: false
3576
3590
  },
3577
3591
  tool: resolveEntryReferences
@@ -3582,6 +3596,7 @@ function createEntryTools(config) {
3582
3596
  inputParams: GetEntrySnapshotToolParams.shape,
3583
3597
  annotations: {
3584
3598
  readOnlyHint: true,
3599
+ destructiveHint: false,
3585
3600
  openWorldHint: false
3586
3601
  },
3587
3602
  tool: getEntrySnapshot
@@ -3821,6 +3836,7 @@ function createEnvironmentTools(config) {
3821
3836
  inputParams: ListEnvironmentsToolParams.shape,
3822
3837
  annotations: {
3823
3838
  readOnlyHint: true,
3839
+ destructiveHint: false,
3824
3840
  openWorldHint: false
3825
3841
  },
3826
3842
  tool: listEnvironments
@@ -4065,6 +4081,7 @@ function createLocaleTools(config) {
4065
4081
  inputParams: GetLocaleToolParams.shape,
4066
4082
  annotations: {
4067
4083
  readOnlyHint: true,
4084
+ destructiveHint: false,
4068
4085
  openWorldHint: false
4069
4086
  },
4070
4087
  tool: getLocale
@@ -4087,6 +4104,7 @@ function createLocaleTools(config) {
4087
4104
  inputParams: ListLocaleToolParams.shape,
4088
4105
  annotations: {
4089
4106
  readOnlyHint: true,
4107
+ destructiveHint: false,
4090
4108
  openWorldHint: false
4091
4109
  },
4092
4110
  tool: listLocales
@@ -4198,6 +4216,7 @@ function createOrgTools(config) {
4198
4216
  inputParams: ListOrgsToolParams.shape,
4199
4217
  annotations: {
4200
4218
  readOnlyHint: true,
4219
+ destructiveHint: false,
4201
4220
  openWorldHint: false
4202
4221
  },
4203
4222
  tool: listOrgs
@@ -4208,6 +4227,7 @@ function createOrgTools(config) {
4208
4227
  inputParams: GetOrgToolParams.shape,
4209
4228
  annotations: {
4210
4229
  readOnlyHint: true,
4230
+ destructiveHint: false,
4211
4231
  openWorldHint: false
4212
4232
  },
4213
4233
  tool: getOrg
@@ -4293,6 +4313,7 @@ function createSpaceTools(config) {
4293
4313
  inputParams: ListSpacesToolParams.shape,
4294
4314
  annotations: {
4295
4315
  readOnlyHint: true,
4316
+ destructiveHint: false,
4296
4317
  openWorldHint: false
4297
4318
  },
4298
4319
  tool: listSpaces
@@ -4303,6 +4324,7 @@ function createSpaceTools(config) {
4303
4324
  inputParams: GetSpaceToolParams.shape,
4304
4325
  annotations: {
4305
4326
  readOnlyHint: true,
4327
+ destructiveHint: false,
4306
4328
  openWorldHint: false
4307
4329
  },
4308
4330
  tool: getSpace
@@ -4400,6 +4422,7 @@ function createTagTools(config) {
4400
4422
  inputParams: ListTagsToolParams.shape,
4401
4423
  annotations: {
4402
4424
  readOnlyHint: true,
4425
+ destructiveHint: false,
4403
4426
  openWorldHint: false
4404
4427
  },
4405
4428
  tool: listTags
@@ -4764,6 +4787,7 @@ function createConceptSchemeTools(config) {
4764
4787
  inputParams: GetConceptSchemeToolParams.shape,
4765
4788
  annotations: {
4766
4789
  readOnlyHint: true,
4790
+ destructiveHint: false,
4767
4791
  openWorldHint: false
4768
4792
  },
4769
4793
  tool: getConceptScheme
@@ -4774,6 +4798,7 @@ function createConceptSchemeTools(config) {
4774
4798
  inputParams: ListConceptSchemesToolParams.shape,
4775
4799
  annotations: {
4776
4800
  readOnlyHint: true,
4801
+ destructiveHint: false,
4777
4802
  openWorldHint: false
4778
4803
  },
4779
4804
  tool: listConceptSchemes
@@ -5121,6 +5146,7 @@ function createConceptTools(config) {
5121
5146
  inputParams: GetConceptToolParams.shape,
5122
5147
  annotations: {
5123
5148
  readOnlyHint: true,
5149
+ destructiveHint: false,
5124
5150
  openWorldHint: false
5125
5151
  },
5126
5152
  tool: getConcept
@@ -5131,6 +5157,7 @@ function createConceptTools(config) {
5131
5157
  inputParams: ListConceptsToolParams.shape,
5132
5158
  annotations: {
5133
5159
  readOnlyHint: true,
5160
+ destructiveHint: false,
5134
5161
  openWorldHint: false
5135
5162
  },
5136
5163
  tool: listConcepts
@@ -5609,6 +5636,7 @@ function createJobTools(config) {
5609
5636
  inputParams: ParamCollectionToolParams.shape,
5610
5637
  annotations: {
5611
5638
  readOnlyHint: true,
5639
+ destructiveHint: false,
5612
5640
  openWorldHint: false
5613
5641
  },
5614
5642
  tool: paramCollection
@@ -5619,6 +5647,7 @@ function createJobTools(config) {
5619
5647
  inputParams: ExportSpaceToolParams.shape,
5620
5648
  annotations: {
5621
5649
  readOnlyHint: true,
5650
+ destructiveHint: false,
5622
5651
  openWorldHint: false
5623
5652
  },
5624
5653
  tool: exportSpace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/mcp-tools",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "contentful-export": "^7.21.78",
47
47
  "contentful-import": "^9.4.129",
48
48
  "contentful-management": "^12.2.0",
49
- "fast-xml-parser": "^5.3.8",
49
+ "fast-xml-parser": "^5.7.1",
50
50
  "lodash-es": "^4.17.23",
51
51
  "outdent": "^0.8.0",
52
52
  "tsup": "^8.5.0",