@umbraco-cms/mcp-dev 17.6.12 → 17.6.14

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.
@@ -1096,6 +1096,16 @@ export interface GetDocumentPublishOutput {
1096
1096
  isTrashed: boolean;
1097
1097
  }
1098
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
+
1099
1109
  export interface GetDocumentConfigurationInput {}
1100
1110
 
1101
1111
  export interface GetDocumentConfigurationOutput {
@@ -1142,7 +1152,7 @@ export interface CreateDocumentInput {
1142
1152
  * Array of culture codes. If not provided or empty array, will create single variant with null culture.
1143
1153
  */
1144
1154
  cultures?: string[];
1145
- values: {
1155
+ values?: {
1146
1156
  editorAlias: string;
1147
1157
  culture: string | null;
1148
1158
  segment: string | null;
@@ -1973,7 +1983,7 @@ export interface ValidateDocumentInput {
1973
1983
  export interface GetCollectionDocumentByIdInput {
1974
1984
  id: string;
1975
1985
  dataTypeId?: string;
1976
- orderBy: string;
1986
+ orderBy?: string;
1977
1987
  orderCulture?: string;
1978
1988
  orderDirection?: "Ascending" | "Descending";
1979
1989
  filter?: string;
@@ -2618,7 +2628,7 @@ export interface CreateAndPublishDocumentInput {
2618
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.
2619
2629
  */
2620
2630
  culturesToPublish?: string[];
2621
- values: {
2631
+ values?: {
2622
2632
  editorAlias: string;
2623
2633
  culture: string | null;
2624
2634
  segment: string | null;
@@ -2991,12 +3001,12 @@ export interface CreateDocumentTypeInput {
2991
3001
  alias: string;
2992
3002
  description?: string;
2993
3003
  icon: string;
2994
- allowedAsRoot: boolean;
3004
+ allowedAsRoot?: boolean;
2995
3005
  parentId?: string;
2996
- compositions: string[];
2997
- allowedDocumentTypes: string[];
3006
+ compositions?: string[];
3007
+ allowedDocumentTypes?: string[];
2998
3008
  collection?: string;
2999
- properties: {
3009
+ properties?: {
3000
3010
  name: string;
3001
3011
  alias: string;
3002
3012
  dataTypeId: string;
@@ -3019,8 +3029,8 @@ export interface CreateElementTypeInput {
3019
3029
  alias: string;
3020
3030
  description?: string;
3021
3031
  icon: string;
3022
- compositions: string[];
3023
- properties: {
3032
+ compositions?: string[];
3033
+ properties?: {
3024
3034
  name: string;
3025
3035
  alias: string;
3026
3036
  dataTypeId: string;
@@ -3468,8 +3478,8 @@ export interface ExecuteHealthCheckActionOutput {
3468
3478
 
3469
3479
  export interface GetImagingResizeUrlsInput {
3470
3480
  id?: string[];
3471
- height: number;
3472
- width: number;
3481
+ height?: number;
3482
+ width?: number;
3473
3483
  mode?: "Crop" | "Max" | "Stretch" | "Pad" | "BoxPad" | "Min";
3474
3484
  format?: string;
3475
3485
  }
@@ -4048,6 +4058,7 @@ export interface CreateMediaOutput {
4048
4058
  message: string;
4049
4059
  name: string;
4050
4060
  id: string;
4061
+ warning?: string;
4051
4062
  }
4052
4063
 
4053
4064
  export interface CreateMediaMultipleInput {
@@ -12305,6 +12316,7 @@ export interface CreateMediaMultipleOutput {
12305
12316
  name: string;
12306
12317
  id?: string;
12307
12318
  error?: string;
12319
+ warning?: string;
12308
12320
  }[];
12309
12321
  }
12310
12322
 
@@ -12767,7 +12779,7 @@ export interface GetMediaByIdReferencedDescendantsOutput {
12767
12779
  export interface GetCollectionMediaInput {
12768
12780
  id?: string;
12769
12781
  dataTypeId?: string;
12770
- orderBy: string;
12782
+ orderBy?: string;
12771
12783
  orderDirection?: "Ascending" | "Descending";
12772
12784
  filter?: string;
12773
12785
  /**
@@ -13909,7 +13921,7 @@ export interface FindMemberInput {
13909
13921
  memberGroupName?: string;
13910
13922
  isApproved?: boolean;
13911
13923
  isLockedOut?: boolean;
13912
- orderBy: string;
13924
+ orderBy?: string;
13913
13925
  orderDirection?: "Ascending" | "Descending";
13914
13926
  filter?: string;
13915
13927
  /**
@@ -16682,6 +16694,7 @@ export interface CmsTools {
16682
16694
  "delete-document-blueprint-folder": { input: DeleteDocumentBlueprintFolderInput; output: unknown };
16683
16695
  "get-document-by-id": { input: GetDocumentByIdInput; output: GetDocumentByIdOutput };
16684
16696
  "get-document-publish": { input: GetDocumentPublishInput; output: GetDocumentPublishOutput };
16697
+ "get-document-publish-with-descendants-result": { input: GetDocumentPublishWithDescendantsResultInput; output: GetDocumentPublishWithDescendantsResultOutput };
16685
16698
  "get-document-configuration": { input: GetDocumentConfigurationInput; output: GetDocumentConfigurationOutput };
16686
16699
  "get-document-type-schema": { input: GetDocumentTypeSchemaInput; output: GetDocumentTypeSchemaOutput };
16687
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.12",
3
+ "version": "17.6.14",
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.47",
75
- "@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.47",
74
+ "@umbraco-cms/mcp-hosted": "^1.0.0",
75
+ "@umbraco-cms/mcp-server-sdk": "^1.0.0",
76
76
  "dotenv": "^16.5.0",
77
77
  "form-data": "^4.0.4",
78
78
  "mime-types": "^3.0.1",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "devDependencies": {
85
85
  "@anthropic-ai/claude-agent-sdk": "0.2.39",
86
- "@cloudflare/workers-oauth-provider": "^0.2.3",
86
+ "@cloudflare/workers-oauth-provider": "^0.8.3",
87
87
  "@jest/types": "^29.6.3",
88
88
  "@modelcontextprotocol/inspector": "^1.0.1",
89
89
  "@playwright/test": "^1.58.2",