@contentful/mcp-tools 0.8.0 → 0.12.1

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: {
@@ -4399,6 +4410,28 @@ declare class ContentfulMcpTools {
4399
4410
  };
4400
4411
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4401
4412
  };
4413
+ semanticSearch: {
4414
+ title: string;
4415
+ description: string;
4416
+ inputParams: {
4417
+ spaceId: zod.ZodString;
4418
+ environmentId: zod.ZodString;
4419
+ } & {
4420
+ query: zod.ZodString;
4421
+ contentTypeIds: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
4422
+ };
4423
+ annotations: {
4424
+ readOnlyHint: boolean;
4425
+ destructiveHint: boolean;
4426
+ openWorldHint: boolean;
4427
+ };
4428
+ tool: (params: {
4429
+ spaceId: string;
4430
+ environmentId: string;
4431
+ query: string;
4432
+ contentTypeIds?: string[] | undefined;
4433
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4434
+ };
4402
4435
  createEntry: {
4403
4436
  title: string;
4404
4437
  description: string;
@@ -4691,12 +4724,57 @@ declare class ContentfulMcpTools {
4691
4724
  };
4692
4725
  annotations: {
4693
4726
  readOnlyHint: boolean;
4727
+ destructiveHint: boolean;
4728
+ openWorldHint: boolean;
4729
+ };
4730
+ tool: (params: {
4731
+ spaceId: string;
4732
+ environmentId: string;
4733
+ entryId: string;
4734
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4735
+ };
4736
+ resolveEntryReferences: {
4737
+ title: string;
4738
+ description: string;
4739
+ inputParams: {
4740
+ spaceId: zod.ZodString;
4741
+ environmentId: zod.ZodString;
4742
+ } & {
4743
+ entryId: zod.ZodString;
4744
+ include: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
4745
+ };
4746
+ annotations: {
4747
+ readOnlyHint: boolean;
4748
+ destructiveHint: boolean;
4749
+ openWorldHint: boolean;
4750
+ };
4751
+ tool: (params: {
4752
+ spaceId: string;
4753
+ environmentId: string;
4754
+ entryId: string;
4755
+ include?: number | undefined;
4756
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4757
+ };
4758
+ getEntrySnapshot: {
4759
+ title: string;
4760
+ description: string;
4761
+ inputParams: {
4762
+ spaceId: zod.ZodString;
4763
+ environmentId: zod.ZodString;
4764
+ } & {
4765
+ entryId: zod.ZodString;
4766
+ snapshotId: zod.ZodOptional<zod.ZodString>;
4767
+ };
4768
+ annotations: {
4769
+ readOnlyHint: boolean;
4770
+ destructiveHint: boolean;
4694
4771
  openWorldHint: boolean;
4695
4772
  };
4696
4773
  tool: (params: {
4697
4774
  spaceId: string;
4698
4775
  environmentId: string;
4699
4776
  entryId: string;
4777
+ snapshotId?: string | undefined;
4700
4778
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4701
4779
  };
4702
4780
  updateEntry: {
@@ -4707,6 +4785,7 @@ declare class ContentfulMcpTools {
4707
4785
  environmentId: zod.ZodString;
4708
4786
  } & {
4709
4787
  entryId: zod.ZodString;
4788
+ version: zod.ZodNumber;
4710
4789
  fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
4711
4790
  nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
4712
4791
  data: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
@@ -4927,6 +5006,7 @@ declare class ContentfulMcpTools {
4927
5006
  openWorldHint: boolean;
4928
5007
  };
4929
5008
  tool: (params: {
5009
+ version: number;
4930
5010
  spaceId: string;
4931
5011
  environmentId: string;
4932
5012
  fields: Record<string, Record<string, string[] | {
@@ -5139,6 +5219,7 @@ declare class ContentfulMcpTools {
5139
5219
  };
5140
5220
  annotations: {
5141
5221
  readOnlyHint: boolean;
5222
+ destructiveHint: boolean;
5142
5223
  openWorldHint: boolean;
5143
5224
  };
5144
5225
  tool: (params: {
@@ -5189,6 +5270,7 @@ declare class ContentfulMcpTools {
5189
5270
  };
5190
5271
  annotations: {
5191
5272
  readOnlyHint: boolean;
5273
+ destructiveHint: boolean;
5192
5274
  openWorldHint: boolean;
5193
5275
  };
5194
5276
  tool: (params: {
@@ -5245,6 +5327,7 @@ declare class ContentfulMcpTools {
5245
5327
  };
5246
5328
  annotations: {
5247
5329
  readOnlyHint: boolean;
5330
+ destructiveHint: boolean;
5248
5331
  openWorldHint: boolean;
5249
5332
  };
5250
5333
  tool: (params: {
@@ -5349,6 +5432,7 @@ declare class ContentfulMcpTools {
5349
5432
  };
5350
5433
  annotations: {
5351
5434
  readOnlyHint: boolean;
5435
+ destructiveHint: boolean;
5352
5436
  openWorldHint: boolean;
5353
5437
  };
5354
5438
  tool: (params: {
@@ -5366,6 +5450,7 @@ declare class ContentfulMcpTools {
5366
5450
  };
5367
5451
  annotations: {
5368
5452
  readOnlyHint: boolean;
5453
+ destructiveHint: boolean;
5369
5454
  openWorldHint: boolean;
5370
5455
  };
5371
5456
  tool: (params: {
@@ -5388,6 +5473,7 @@ declare class ContentfulMcpTools {
5388
5473
  };
5389
5474
  annotations: {
5390
5475
  readOnlyHint: boolean;
5476
+ destructiveHint: boolean;
5391
5477
  openWorldHint: boolean;
5392
5478
  };
5393
5479
  tool: (params: {
@@ -5405,6 +5491,7 @@ declare class ContentfulMcpTools {
5405
5491
  };
5406
5492
  annotations: {
5407
5493
  readOnlyHint: boolean;
5494
+ destructiveHint: boolean;
5408
5495
  openWorldHint: boolean;
5409
5496
  };
5410
5497
  tool: (params: {
@@ -5430,6 +5517,7 @@ declare class ContentfulMcpTools {
5430
5517
  };
5431
5518
  annotations: {
5432
5519
  readOnlyHint: boolean;
5520
+ destructiveHint: boolean;
5433
5521
  openWorldHint: boolean;
5434
5522
  };
5435
5523
  tool: (params: {
@@ -5588,6 +5676,7 @@ declare class ContentfulMcpTools {
5588
5676
  };
5589
5677
  annotations: {
5590
5678
  readOnlyHint: boolean;
5679
+ destructiveHint: boolean;
5591
5680
  openWorldHint: boolean;
5592
5681
  };
5593
5682
  tool: (params: {
@@ -5611,6 +5700,7 @@ declare class ContentfulMcpTools {
5611
5700
  };
5612
5701
  annotations: {
5613
5702
  readOnlyHint: boolean;
5703
+ destructiveHint: boolean;
5614
5704
  openWorldHint: boolean;
5615
5705
  };
5616
5706
  tool: (params: {
@@ -5834,6 +5924,7 @@ declare class ContentfulMcpTools {
5834
5924
  };
5835
5925
  annotations: {
5836
5926
  readOnlyHint: boolean;
5927
+ destructiveHint: boolean;
5837
5928
  openWorldHint: boolean;
5838
5929
  };
5839
5930
  tool: (params: {
@@ -5877,6 +5968,7 @@ declare class ContentfulMcpTools {
5877
5968
  };
5878
5969
  annotations: {
5879
5970
  readOnlyHint: boolean;
5971
+ destructiveHint: boolean;
5880
5972
  openWorldHint: boolean;
5881
5973
  };
5882
5974
  tool: (params: {
@@ -6231,6 +6323,7 @@ declare class ContentfulMcpTools {
6231
6323
  };
6232
6324
  annotations: {
6233
6325
  readOnlyHint: boolean;
6326
+ destructiveHint: boolean;
6234
6327
  openWorldHint: boolean;
6235
6328
  };
6236
6329
  tool: (params: {
@@ -6378,6 +6471,7 @@ declare class ContentfulMcpTools {
6378
6471
  };
6379
6472
  annotations: {
6380
6473
  readOnlyHint: boolean;
6474
+ destructiveHint: boolean;
6381
6475
  openWorldHint: boolean;
6382
6476
  };
6383
6477
  tool: (params: {