@umbraco-cms/mcp-dev 17.6.11 → 17.6.13

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.
@@ -48,6 +48,10 @@ export interface GetDataTypeSearchOutput {
48
48
 
49
49
  export interface GetReferencesDataTypeInput {
50
50
  id: string;
51
+ /**
52
+ * Pagination cursor from a previous response's nextCursor field. Omit for the first page.
53
+ */
54
+ cursor?: string;
51
55
  }
52
56
 
53
57
  export interface GetReferencesDataTypeOutput {
@@ -140,6 +144,10 @@ export interface GetReferencesDataTypeOutput {
140
144
  };
141
145
  }
142
146
  )[];
147
+ /**
148
+ * Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
149
+ */
150
+ nextCursor?: string | null;
143
151
  }
144
152
 
145
153
  export interface IsUsedDataTypeInput {
@@ -1088,6 +1096,16 @@ export interface GetDocumentPublishOutput {
1088
1096
  isTrashed: boolean;
1089
1097
  }
1090
1098
 
1099
+ export interface GetDocumentPublishWithDescendantsResultInput {
1100
+ id: string;
1101
+ taskId: string;
1102
+ }
1103
+
1104
+ export interface GetDocumentPublishWithDescendantsResultOutput {
1105
+ taskId: string;
1106
+ isComplete: boolean;
1107
+ }
1108
+
1091
1109
  export interface GetDocumentConfigurationInput {}
1092
1110
 
1093
1111
  export interface GetDocumentConfigurationOutput {
@@ -1134,7 +1152,7 @@ export interface CreateDocumentInput {
1134
1152
  * Array of culture codes. If not provided or empty array, will create single variant with null culture.
1135
1153
  */
1136
1154
  cultures?: string[];
1137
- values: {
1155
+ values?: {
1138
1156
  editorAlias: string;
1139
1157
  culture: string | null;
1140
1158
  segment: string | null;
@@ -1659,7 +1677,7 @@ export interface CreateDocumentBlockInput {
1659
1677
  segment?: string | null;
1660
1678
  }[];
1661
1679
  /**
1662
- * Settings for the new block; the settings element type comes from the data type configuration
1680
+ * Settings for the new block; the settings element type comes from the data type configuration. When the block type has a settings element type, a settings entry is always created (empty if this is omitted), as the backoffice does
1663
1681
  */
1664
1682
  settings?: {
1665
1683
  /**
@@ -1965,7 +1983,7 @@ export interface ValidateDocumentInput {
1965
1983
  export interface GetCollectionDocumentByIdInput {
1966
1984
  id: string;
1967
1985
  dataTypeId?: string;
1968
- orderBy: string;
1986
+ orderBy?: string;
1969
1987
  orderCulture?: string;
1970
1988
  orderDirection?: "Ascending" | "Descending";
1971
1989
  filter?: string;
@@ -2610,7 +2628,7 @@ export interface CreateAndPublishDocumentInput {
2610
2628
  * Culture codes to publish immediately after creation. Must contain real culture codes only - wildcards ("*") and nulls are rejected by Umbraco. If omitted, defaults to publishing every culture in the cultures array, or an empty array (which publishes the single invariant variant) when the document type does not vary by culture.
2611
2629
  */
2612
2630
  culturesToPublish?: string[];
2613
- values: {
2631
+ values?: {
2614
2632
  editorAlias: string;
2615
2633
  culture: string | null;
2616
2634
  segment: string | null;
@@ -2983,12 +3001,12 @@ export interface CreateDocumentTypeInput {
2983
3001
  alias: string;
2984
3002
  description?: string;
2985
3003
  icon: string;
2986
- allowedAsRoot: boolean;
3004
+ allowedAsRoot?: boolean;
2987
3005
  parentId?: string;
2988
- compositions: string[];
2989
- allowedDocumentTypes: string[];
3006
+ compositions?: string[];
3007
+ allowedDocumentTypes?: string[];
2990
3008
  collection?: string;
2991
- properties: {
3009
+ properties?: {
2992
3010
  name: string;
2993
3011
  alias: string;
2994
3012
  dataTypeId: string;
@@ -3011,8 +3029,8 @@ export interface CreateElementTypeInput {
3011
3029
  alias: string;
3012
3030
  description?: string;
3013
3031
  icon: string;
3014
- compositions: string[];
3015
- properties: {
3032
+ compositions?: string[];
3033
+ properties?: {
3016
3034
  name: string;
3017
3035
  alias: string;
3018
3036
  dataTypeId: string;
@@ -3460,8 +3478,8 @@ export interface ExecuteHealthCheckActionOutput {
3460
3478
 
3461
3479
  export interface GetImagingResizeUrlsInput {
3462
3480
  id?: string[];
3463
- height: number;
3464
- width: number;
3481
+ height?: number;
3482
+ width?: number;
3465
3483
  mode?: "Crop" | "Max" | "Stretch" | "Pad" | "BoxPad" | "Min";
3466
3484
  format?: string;
3467
3485
  }
@@ -4040,6 +4058,7 @@ export interface CreateMediaOutput {
4040
4058
  message: string;
4041
4059
  name: string;
4042
4060
  id: string;
4061
+ warning?: string;
4043
4062
  }
4044
4063
 
4045
4064
  export interface CreateMediaMultipleInput {
@@ -12297,6 +12316,7 @@ export interface CreateMediaMultipleOutput {
12297
12316
  name: string;
12298
12317
  id?: string;
12299
12318
  error?: string;
12319
+ warning?: string;
12300
12320
  }[];
12301
12321
  }
12302
12322
 
@@ -12759,7 +12779,7 @@ export interface GetMediaByIdReferencedDescendantsOutput {
12759
12779
  export interface GetCollectionMediaInput {
12760
12780
  id?: string;
12761
12781
  dataTypeId?: string;
12762
- orderBy: string;
12782
+ orderBy?: string;
12763
12783
  orderDirection?: "Ascending" | "Descending";
12764
12784
  filter?: string;
12765
12785
  /**
@@ -13901,7 +13921,7 @@ export interface FindMemberInput {
13901
13921
  memberGroupName?: string;
13902
13922
  isApproved?: boolean;
13903
13923
  isLockedOut?: boolean;
13904
- orderBy: string;
13924
+ orderBy?: string;
13905
13925
  orderDirection?: "Ascending" | "Descending";
13906
13926
  filter?: string;
13907
13927
  /**
@@ -14762,7 +14782,13 @@ export interface GetPropertyTypeIsUsedOutput {
14762
14782
  isUsed: boolean;
14763
14783
  }
14764
14784
 
14765
- export interface GetAllRedirectsInput {}
14785
+ export interface GetAllRedirectsInput {
14786
+ filter?: string;
14787
+ /**
14788
+ * Pagination cursor from a previous response's nextCursor field. Omit for the first page.
14789
+ */
14790
+ cursor?: string;
14791
+ }
14766
14792
 
14767
14793
  export interface GetAllRedirectsOutput {
14768
14794
  total: number;
@@ -14776,6 +14802,10 @@ export interface GetAllRedirectsOutput {
14776
14802
  };
14777
14803
  culture?: string | null;
14778
14804
  }[];
14805
+ /**
14806
+ * Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
14807
+ */
14808
+ nextCursor?: string | null;
14779
14809
  }
14780
14810
 
14781
14811
  export interface GetRedirectByIdInput {
@@ -16579,6 +16609,10 @@ export interface GetAllWebhookLogsOutput {
16579
16609
 
16580
16610
  export interface GetWebhookLogsInput {
16581
16611
  id: string;
16612
+ /**
16613
+ * Pagination cursor from a previous response's nextCursor field. Omit for the first page.
16614
+ */
16615
+ cursor?: string;
16582
16616
  }
16583
16617
 
16584
16618
  export interface GetWebhookLogsOutput {
@@ -16598,6 +16632,10 @@ export interface GetWebhookLogsOutput {
16598
16632
  responseBody: string;
16599
16633
  exceptionOccured: boolean;
16600
16634
  }[];
16635
+ /**
16636
+ * Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
16637
+ */
16638
+ nextCursor?: string | null;
16601
16639
  }
16602
16640
 
16603
16641
  export interface CmsTools {
@@ -16656,6 +16694,7 @@ export interface CmsTools {
16656
16694
  "delete-document-blueprint-folder": { input: DeleteDocumentBlueprintFolderInput; output: unknown };
16657
16695
  "get-document-by-id": { input: GetDocumentByIdInput; output: GetDocumentByIdOutput };
16658
16696
  "get-document-publish": { input: GetDocumentPublishInput; output: GetDocumentPublishOutput };
16697
+ "get-document-publish-with-descendants-result": { input: GetDocumentPublishWithDescendantsResultInput; output: GetDocumentPublishWithDescendantsResultOutput };
16659
16698
  "get-document-configuration": { input: GetDocumentConfigurationInput; output: GetDocumentConfigurationOutput };
16660
16699
  "get-document-type-schema": { input: GetDocumentTypeSchemaInput; output: GetDocumentTypeSchemaOutput };
16661
16700
  "copy-document": { input: CopyDocumentInput; output: CopyDocumentOutput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-cms/mcp-dev",
3
- "version": "17.6.11",
3
+ "version": "17.6.13",
4
4
  "type": "module",
5
5
  "description": "A model context protocol (MCP) server for Umbraco CMS",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "dev:hosted": "wrangler dev"
44
44
  },
45
45
  "engines": {
46
- "node": ">=22.3.0"
46
+ "node": "^22.23.4 || ^24.22.1 || >=26.12.1"
47
47
  },
48
48
  "files": [
49
49
  "dist",
@@ -71,8 +71,8 @@
71
71
  "@modelcontextprotocol/sdk": "^1.28.0",
72
72
  "@types/uuid": "^10.0.0",
73
73
  "@types/yargs": "^17.0.33",
74
- "@umbraco-cms/mcp-hosted": "^1.0.0-beta.46",
75
- "@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.46",
74
+ "@umbraco-cms/mcp-hosted": "^1.0.0-beta.48",
75
+ "@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.48",
76
76
  "dotenv": "^16.5.0",
77
77
  "form-data": "^4.0.4",
78
78
  "mime-types": "^3.0.1",