@umbraco-cms/mcp-dev 17.3.6 → 17.4.0

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.
@@ -215,41 +215,13 @@ export interface GetDataTypeConfigurationOutput {
215
215
  mediaListViewId: string;
216
216
  }
217
217
 
218
- export interface GetDataTypePropertyEditorTemplateInput {
219
- /**
220
- * The name of the property editor template to retrieve (e.g., 'Textbox', 'Toggle', 'RichTextEditor_TinyMCE'). If not provided, returns a list of all available property editor names.
221
- */
222
- editorName?: string;
218
+ export interface GetDataTypeSchemaInput {
219
+ id: string;
223
220
  }
224
221
 
225
- export interface GetDataTypePropertyEditorTemplateOutput {
226
- /**
227
- * Whether this is a list of available editors or a specific template
228
- */
229
- type: "list" | "template";
230
- /**
231
- * Available editors (when type is 'list')
232
- */
233
- availableEditors?: {
234
- name: string;
235
- notes?: string;
236
- }[];
237
- /**
238
- * Editor name (when type is 'template')
239
- */
240
- name?: string;
241
- /**
242
- * Editor template (when type is 'template')
243
- */
244
- template?: {
245
- editorAlias?: string;
246
- editorUiAlias?: string;
247
- values?: {
248
- alias: string;
249
- value?: unknown;
250
- }[];
251
- _notes?: string;
252
- };
222
+ export interface GetDataTypeSchemaOutput {
223
+ valueTypeName?: string | null;
224
+ jsonSchema?: unknown;
253
225
  }
254
226
 
255
227
  export interface GetDataTypeRootInput {
@@ -1111,11 +1083,12 @@ export interface GetDocumentConfigurationOutput {
1111
1083
  allowNonExistingSegmentsCreation: boolean;
1112
1084
  }
1113
1085
 
1114
- export interface GetDocumentPropertyValueTemplateInput {
1115
- /**
1116
- * The editor alias of the property value template to retrieve (e.g., 'Umbraco.TextBox', 'Umbraco.BlockList', 'Umbraco.MediaPicker3'). If not provided, returns a list of all available property editor aliases.
1117
- */
1118
- editorAlias?: string;
1086
+ export interface GetDocumentTypeSchemaInput {
1087
+ id: string;
1088
+ }
1089
+
1090
+ export interface GetDocumentTypeSchemaOutput {
1091
+ schema: unknown;
1119
1092
  }
1120
1093
 
1121
1094
  export interface CopyDocumentInput {
@@ -1139,6 +1112,10 @@ export interface CreateDocumentInput {
1139
1112
  documentTypeId: string;
1140
1113
  parentId?: string;
1141
1114
  name: string;
1115
+ /**
1116
+ * Optional template ID to apply to the document. If omitted, the document type's default template is applied automatically. Provide a value only when you need a specific allowed template other than the default.
1117
+ */
1118
+ templateId?: string;
1142
1119
  /**
1143
1120
  * Array of culture codes. If not provided or empty array, will create single variant with null culture.
1144
1121
  */
@@ -1290,7 +1267,7 @@ export interface GetDocumentPublicAccessOutput {
1290
1267
  name: string;
1291
1268
  culture?: string | null;
1292
1269
  }[];
1293
- kind: "Default" | "Api";
1270
+ kind: "Default" | "Api" | "ExternalOnly";
1294
1271
  }[];
1295
1272
  groups: {
1296
1273
  id: string;
@@ -3258,6 +3235,7 @@ export interface GetIndexerOutput {
3258
3235
  providerProperties?: {
3259
3236
  [k: string]: unknown;
3260
3237
  } | null;
3238
+ uniqueKeyFieldName?: string | null;
3261
3239
  }[];
3262
3240
  /**
3263
3241
  * Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
@@ -3282,6 +3260,7 @@ export interface GetIndexerByIndexNameOutput {
3282
3260
  providerProperties?: {
3283
3261
  [k: string]: unknown;
3284
3262
  } | null;
3263
+ uniqueKeyFieldName?: string | null;
3285
3264
  }
3286
3265
 
3287
3266
  export interface PostIndexerByIndexNameRebuildInput {
@@ -5142,7 +5121,8 @@ export interface GetMemberOutput {
5142
5121
  lastLockoutDate?: string | null;
5143
5122
  lastPasswordChangeDate?: string | null;
5144
5123
  groups: string[];
5145
- kind: "Default" | "Api";
5124
+ kind: "Default" | "Api" | "ExternalOnly";
5125
+ profileData?: string | null;
5146
5126
  }
5147
5127
 
5148
5128
  export interface CreateMemberInput {
@@ -5444,7 +5424,8 @@ export interface FindMemberOutput {
5444
5424
  lastLockoutDate?: string | null;
5445
5425
  lastPasswordChangeDate?: string | null;
5446
5426
  groups: string[];
5447
- kind: "Default" | "Api";
5427
+ kind: "Default" | "Api" | "ExternalOnly";
5428
+ profileData?: string | null;
5448
5429
  }[];
5449
5430
  /**
5450
5431
  * Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
@@ -5478,7 +5459,7 @@ export interface GetItemMemberSearchOutput {
5478
5459
  name: string;
5479
5460
  culture?: string | null;
5480
5461
  }[];
5481
- kind: "Default" | "Api";
5462
+ kind: "Default" | "Api" | "ExternalOnly";
5482
5463
  }[];
5483
5464
  total: number;
5484
5465
  /**
@@ -5510,7 +5491,7 @@ export interface GetMemberAncestorsBatchOutput {
5510
5491
  name: string;
5511
5492
  culture?: string | null;
5512
5493
  }[];
5513
- kind: "Default" | "Api";
5494
+ kind: "Default" | "Api" | "ExternalOnly";
5514
5495
  }[];
5515
5496
  }[];
5516
5497
  }
@@ -7312,7 +7293,7 @@ export interface GetUserCurrentPermissionsDocumentOutput {
7312
7293
  nodeKey: string;
7313
7294
  permissions: string[];
7314
7295
  }[];
7315
- }[];
7296
+ };
7316
7297
  }
7317
7298
 
7318
7299
  export interface GetUserCurrentPermissionsMediaInput {
@@ -8053,7 +8034,7 @@ export interface CmsTools {
8053
8034
  "get-data-types-by-id-array": { input: GetDataTypesByIdArrayInput; output: GetDataTypesByIdArrayOutput };
8054
8035
  "get-data-type-batch": { input: GetDataTypeBatchInput; output: GetDataTypeBatchOutput };
8055
8036
  "get-data-type-configuration": { input: GetDataTypeConfigurationInput; output: GetDataTypeConfigurationOutput };
8056
- "get-data-type-property-editor-template": { input: GetDataTypePropertyEditorTemplateInput; output: GetDataTypePropertyEditorTemplateOutput };
8037
+ "get-data-type-schema": { input: GetDataTypeSchemaInput; output: GetDataTypeSchemaOutput };
8057
8038
  "get-data-type-root": { input: GetDataTypeRootInput; output: GetDataTypeRootOutput };
8058
8039
  "get-data-type-children": { input: GetDataTypeChildrenInput; output: GetDataTypeChildrenOutput };
8059
8040
  "get-data-type-siblings": { input: GetDataTypeSiblingsInput; output: GetDataTypeSiblingsOutput };
@@ -8100,7 +8081,7 @@ export interface CmsTools {
8100
8081
  "get-document-by-id": { input: GetDocumentByIdInput; output: GetDocumentByIdOutput };
8101
8082
  "get-document-publish": { input: GetDocumentPublishInput; output: GetDocumentPublishOutput };
8102
8083
  "get-document-configuration": { input: GetDocumentConfigurationInput; output: GetDocumentConfigurationOutput };
8103
- "get-document-property-value-template": { input: GetDocumentPropertyValueTemplateInput; output: unknown };
8084
+ "get-document-type-schema": { input: GetDocumentTypeSchemaInput; output: GetDocumentTypeSchemaOutput };
8104
8085
  "copy-document": { input: CopyDocumentInput; output: CopyDocumentOutput };
8105
8086
  "create-document": { input: CreateDocumentInput; output: CreateDocumentOutput };
8106
8087
  "post-document-public-access": { input: PostDocumentPublicAccessInput; output: unknown };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-cms/mcp-dev",
3
- "version": "17.3.6",
3
+ "version": "17.4.0",
4
4
  "type": "module",
5
5
  "description": "A model context protocol (MCP) server for Umbraco CMS",
6
6
  "main": "dist/index.js",
@@ -68,8 +68,8 @@
68
68
  "@modelcontextprotocol/sdk": "^1.28.0",
69
69
  "@types/uuid": "^10.0.0",
70
70
  "@types/yargs": "^17.0.33",
71
- "@umbraco-cms/mcp-hosted": "^17.0.0-beta.20",
72
- "@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.20",
71
+ "@umbraco-cms/mcp-hosted": "^17.0.0-beta.24",
72
+ "@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.24",
73
73
  "axios": "^1.8.4",
74
74
  "dotenv": "^16.5.0",
75
75
  "form-data": "^4.0.4",