@umbraco-cms/mcp-dev 18.1.10 → 18.1.12

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.
@@ -1134,6 +1134,16 @@ export interface GetDocumentPublishOutput {
1134
1134
  }[];
1135
1135
  }
1136
1136
 
1137
+ export interface GetDocumentPublishWithDescendantsResultInput {
1138
+ id: string;
1139
+ taskId: string;
1140
+ }
1141
+
1142
+ export interface GetDocumentPublishWithDescendantsResultOutput {
1143
+ taskId: string;
1144
+ isComplete: boolean;
1145
+ }
1146
+
1137
1147
  export interface GetDocumentConfigurationInput {}
1138
1148
 
1139
1149
  export interface GetDocumentConfigurationOutput {
@@ -1180,7 +1190,7 @@ export interface CreateDocumentInput {
1180
1190
  * Array of culture codes. If not provided or empty array, will create single variant with null culture.
1181
1191
  */
1182
1192
  cultures?: string[];
1183
- values: {
1193
+ values?: {
1184
1194
  editorAlias: string;
1185
1195
  culture: string | null;
1186
1196
  segment: string | null;
@@ -1210,7 +1220,7 @@ export interface CreateAndPublishDocumentInput {
1210
1220
  * 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.
1211
1221
  */
1212
1222
  culturesToPublish?: string[];
1213
- values: {
1223
+ values?: {
1214
1224
  editorAlias: string;
1215
1225
  culture: string | null;
1216
1226
  segment: string | null;
@@ -1827,6 +1837,10 @@ export interface CreateDocumentBlockInput {
1827
1837
  */
1828
1838
  parentContentKey?: string;
1829
1839
  };
1840
+ /**
1841
+ * Optional guard: the editor the property must use. If the property uses a different editor, nothing is written and the call is rejected
1842
+ */
1843
+ expectedKind?: "BlockList" | "BlockGrid" | "RichText";
1830
1844
  }
1831
1845
 
1832
1846
  export interface CreateDocumentBlockOutput {
@@ -1841,6 +1855,7 @@ export interface CreateDocumentBlockOutput {
1841
1855
  warnings?: string[];
1842
1856
  errors?: string[];
1843
1857
  }[];
1858
+ kind: "BlockList" | "BlockGrid" | "RichText";
1844
1859
  }
1845
1860
 
1846
1861
  export interface DeleteDocumentBlockInput {
@@ -2077,7 +2092,7 @@ export interface ValidateDocumentInput {
2077
2092
  export interface GetCollectionDocumentByIdInput {
2078
2093
  id: string;
2079
2094
  dataTypeId?: string;
2080
- orderBy: string;
2095
+ orderBy?: string;
2081
2096
  orderCulture?: string;
2082
2097
  orderDirection?: "Ascending" | "Descending";
2083
2098
  filter?: string;
@@ -3085,14 +3100,14 @@ export interface CreateDocumentTypeInput {
3085
3100
  alias: string;
3086
3101
  description?: string;
3087
3102
  icon: string;
3088
- allowedAsRoot: boolean;
3103
+ allowedAsRoot?: boolean;
3089
3104
  parentId?: string;
3090
- compositions: string[];
3091
- allowedDocumentTypes: string[];
3105
+ compositions?: string[];
3106
+ allowedDocumentTypes?: string[];
3092
3107
  collection?: string;
3093
3108
  variesByCulture?: boolean;
3094
3109
  variesBySegment?: boolean;
3095
- properties: {
3110
+ properties?: {
3096
3111
  name: string;
3097
3112
  alias: string;
3098
3113
  dataTypeId: string;
@@ -3120,8 +3135,8 @@ export interface CreateElementTypeInput {
3120
3135
  alias: string;
3121
3136
  description?: string;
3122
3137
  icon: string;
3123
- compositions: string[];
3124
- properties: {
3138
+ compositions?: string[];
3139
+ properties?: {
3125
3140
  name: string;
3126
3141
  alias: string;
3127
3142
  dataTypeId: string;
@@ -3134,7 +3149,7 @@ export interface CreateElementTypeInput {
3134
3149
  /**
3135
3150
  * Allow standalone library elements to be created from this element type (Umbraco Element Library). Must be true before create-element will succeed for this type; otherwise create-element returns 'Operation not permitted' (NotAllowed).
3136
3151
  */
3137
- allowedInLibrary: boolean;
3152
+ allowedInLibrary?: boolean;
3138
3153
  }
3139
3154
 
3140
3155
  export interface CreateElementTypeOutput {
@@ -4406,7 +4421,7 @@ export interface CreateElementInput {
4406
4421
  * Array of culture codes. If not provided or empty array, will create single variant with null culture.
4407
4422
  */
4408
4423
  cultures?: string[];
4409
- values: {
4424
+ values?: {
4410
4425
  culture: string | null;
4411
4426
  segment: string | null;
4412
4427
  alias: string;
@@ -4431,7 +4446,7 @@ export interface CreateAndPublishElementInput {
4431
4446
  * 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 element type does not vary by culture.
4432
4447
  */
4433
4448
  culturesToPublish?: string[];
4434
- values: {
4449
+ values?: {
4435
4450
  culture: string | null;
4436
4451
  segment: string | null;
4437
4452
  alias: string;
@@ -4963,8 +4978,8 @@ export interface ExecuteHealthCheckActionOutput {
4963
4978
 
4964
4979
  export interface GetImagingResizeUrlsInput {
4965
4980
  id?: string[];
4966
- height: number;
4967
- width: number;
4981
+ height?: number;
4982
+ width?: number;
4968
4983
  mode?: "Crop" | "Max" | "Stretch" | "Pad" | "BoxPad" | "Min" | null;
4969
4984
  format?: string;
4970
4985
  }
@@ -5543,6 +5558,7 @@ export interface CreateMediaOutput {
5543
5558
  message: string;
5544
5559
  name: string;
5545
5560
  id: string;
5561
+ warning?: string;
5546
5562
  }
5547
5563
 
5548
5564
  export interface CreateMediaMultipleInput {
@@ -13800,6 +13816,7 @@ export interface CreateMediaMultipleOutput {
13800
13816
  name: string;
13801
13817
  id?: string;
13802
13818
  error?: string;
13819
+ warning?: string;
13803
13820
  }[];
13804
13821
  }
13805
13822
 
@@ -14301,7 +14318,7 @@ export interface GetMediaByIdReferencedDescendantsOutput {
14301
14318
  export interface GetCollectionMediaInput {
14302
14319
  id?: string;
14303
14320
  dataTypeId?: string;
14304
- orderBy: string;
14321
+ orderBy?: string;
14305
14322
  orderDirection?: "Ascending" | "Descending";
14306
14323
  filter?: string;
14307
14324
  /**
@@ -15499,7 +15516,7 @@ export interface FindMemberInput {
15499
15516
  memberGroupName?: string;
15500
15517
  isApproved?: boolean;
15501
15518
  isLockedOut?: boolean;
15502
- orderBy: string;
15519
+ orderBy?: string;
15503
15520
  orderDirection?: "Ascending" | "Descending";
15504
15521
  filter?: string;
15505
15522
  /**
@@ -18349,6 +18366,7 @@ export interface CmsTools {
18349
18366
  "delete-document-blueprint-folder": { input: DeleteDocumentBlueprintFolderInput; output: unknown };
18350
18367
  "get-document-by-id": { input: GetDocumentByIdInput; output: GetDocumentByIdOutput };
18351
18368
  "get-document-publish": { input: GetDocumentPublishInput; output: GetDocumentPublishOutput };
18369
+ "get-document-publish-with-descendants-result": { input: GetDocumentPublishWithDescendantsResultInput; output: GetDocumentPublishWithDescendantsResultOutput };
18352
18370
  "get-document-configuration": { input: GetDocumentConfigurationInput; output: GetDocumentConfigurationOutput };
18353
18371
  "get-document-type-schema": { input: GetDocumentTypeSchemaInput; output: GetDocumentTypeSchemaOutput };
18354
18372
  "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": "18.1.10",
3
+ "version": "18.1.12",
4
4
  "type": "module",
5
5
  "description": "A model context protocol (MCP) server for Umbraco CMS",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "dev:hosted": "wrangler dev"
45
45
  },
46
46
  "engines": {
47
- "node": ">=22.3.0"
47
+ "node": "^22.23.4 || ^24.22.1 || >=26.12.1"
48
48
  },
49
49
  "files": [
50
50
  "dist",
@@ -69,22 +69,22 @@
69
69
  },
70
70
  "homepage": "https://github.com/umbraco/Umbraco-CMS-MCP-Dev#readme",
71
71
  "dependencies": {
72
- "@modelcontextprotocol/sdk": "^1.28.0",
72
+ "@modelcontextprotocol/sdk": "^1.32.2",
73
73
  "@types/uuid": "^10.0.0",
74
74
  "@types/yargs": "^17.0.33",
75
- "@umbraco-cms/mcp-hosted": "^1.0.0-beta.47",
76
- "@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.47",
75
+ "@umbraco-cms/mcp-hosted": "^1.0.0",
76
+ "@umbraco-cms/mcp-server-sdk": "^1.0.0",
77
77
  "dotenv": "^16.5.0",
78
78
  "form-data": "^4.0.4",
79
79
  "mime-types": "^3.0.1",
80
80
  "qs": "^6.14.0",
81
81
  "uuid": "^11.1.0",
82
82
  "yargs": "^18.0.0",
83
- "zod": "^4.2.1"
83
+ "zod": "^4.6.7"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@anthropic-ai/claude-agent-sdk": "0.2.39",
87
- "@cloudflare/workers-oauth-provider": "^0.2.3",
87
+ "@cloudflare/workers-oauth-provider": "^0.8.3",
88
88
  "@jest/types": "^29.6.3",
89
89
  "@modelcontextprotocol/inspector": "^1.0.1",
90
90
  "@playwright/test": "^1.58.2",