@umbraco-cms/mcp-dev 17.6.10 → 17.6.11
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/README.md +2 -0
- package/dist/{chunk-F2BYWHPV.js → chunk-3ZYNR47J.js} +55 -74
- package/dist/chunk-3ZYNR47J.js.map +1 -0
- package/dist/{chunk-3FBX4NTJ.cjs → chunk-WAZSHKMB.cjs} +77 -96
- package/dist/chunk-WAZSHKMB.cjs.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +591 -294
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +443 -146
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +159 -6
- package/package.json +4 -4
- package/dist/chunk-3FBX4NTJ.cjs.map +0 -1
- package/dist/chunk-F2BYWHPV.js.map +0 -1
package/dist/tool-types.d.ts
CHANGED
|
@@ -511,6 +511,20 @@ export interface UpdateDataTypeFolderInput {
|
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
+
export interface GetDataTypeSchemasInput {
|
|
515
|
+
id?: string[];
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export interface GetDataTypeSchemasOutput {
|
|
519
|
+
total: number;
|
|
520
|
+
items: {
|
|
521
|
+
id: string;
|
|
522
|
+
valueTypeName?: string | null;
|
|
523
|
+
jsonSchema?: unknown;
|
|
524
|
+
error?: string | null;
|
|
525
|
+
}[];
|
|
526
|
+
}
|
|
527
|
+
|
|
514
528
|
export interface FindDictionaryInput {
|
|
515
529
|
filter?: string;
|
|
516
530
|
/**
|
|
@@ -2580,6 +2594,72 @@ export interface GetDocumentRecycleBinSiblingsOutput {
|
|
|
2580
2594
|
}[];
|
|
2581
2595
|
}
|
|
2582
2596
|
|
|
2597
|
+
export interface CreateAndPublishDocumentInput {
|
|
2598
|
+
documentTypeId: string;
|
|
2599
|
+
parentId?: string;
|
|
2600
|
+
name: string;
|
|
2601
|
+
/**
|
|
2602
|
+
* 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.
|
|
2603
|
+
*/
|
|
2604
|
+
templateId?: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* Array of culture codes. If not provided or empty array, will create single variant with null culture.
|
|
2607
|
+
*/
|
|
2608
|
+
cultures?: string[];
|
|
2609
|
+
/**
|
|
2610
|
+
* 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
|
+
*/
|
|
2612
|
+
culturesToPublish?: string[];
|
|
2613
|
+
values: {
|
|
2614
|
+
editorAlias: string;
|
|
2615
|
+
culture: string | null;
|
|
2616
|
+
segment: string | null;
|
|
2617
|
+
alias: string;
|
|
2618
|
+
value: unknown;
|
|
2619
|
+
}[];
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
export interface CreateAndPublishDocumentOutput {
|
|
2623
|
+
message: string;
|
|
2624
|
+
id: string;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
export interface SortDocumentChildrenInput {
|
|
2628
|
+
id: string;
|
|
2629
|
+
data: {
|
|
2630
|
+
field: "Name" | "CreateDate" | "UpdateDate";
|
|
2631
|
+
direction: "Ascending" | "Descending";
|
|
2632
|
+
culture?: string | null;
|
|
2633
|
+
};
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
export interface SortDocumentRootChildrenInput {
|
|
2637
|
+
field: "Name" | "CreateDate" | "UpdateDate";
|
|
2638
|
+
direction: "Ascending" | "Descending";
|
|
2639
|
+
culture?: string | null;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
export interface UpdateAndPublishDocumentInput {
|
|
2643
|
+
id: string;
|
|
2644
|
+
data: {
|
|
2645
|
+
values: {
|
|
2646
|
+
culture?: string | null;
|
|
2647
|
+
segment?: string | null;
|
|
2648
|
+
alias: string;
|
|
2649
|
+
value?: unknown;
|
|
2650
|
+
}[];
|
|
2651
|
+
variants: {
|
|
2652
|
+
culture?: string | null;
|
|
2653
|
+
segment?: string | null;
|
|
2654
|
+
name: string;
|
|
2655
|
+
}[];
|
|
2656
|
+
template?: {
|
|
2657
|
+
id: string;
|
|
2658
|
+
} | null;
|
|
2659
|
+
culturesToPublish: string[];
|
|
2660
|
+
};
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2583
2663
|
export interface GetDocumentTypeByIdInput {
|
|
2584
2664
|
id: string;
|
|
2585
2665
|
}
|
|
@@ -12837,6 +12917,27 @@ export interface GetRecycleBinMediaOriginalParentOutput {
|
|
|
12837
12917
|
id: string;
|
|
12838
12918
|
}
|
|
12839
12919
|
|
|
12920
|
+
export interface SortMediaChildrenInput {
|
|
12921
|
+
id: string;
|
|
12922
|
+
data: {
|
|
12923
|
+
field: "Name" | "CreateDate" | "UpdateDate";
|
|
12924
|
+
direction: "Ascending" | "Descending";
|
|
12925
|
+
};
|
|
12926
|
+
}
|
|
12927
|
+
|
|
12928
|
+
export interface SortMediaRootChildrenInput {
|
|
12929
|
+
field: "Name" | "CreateDate" | "UpdateDate";
|
|
12930
|
+
direction: "Ascending" | "Descending";
|
|
12931
|
+
}
|
|
12932
|
+
|
|
12933
|
+
export interface GetMediaTypeSchemaInput {
|
|
12934
|
+
id: string;
|
|
12935
|
+
}
|
|
12936
|
+
|
|
12937
|
+
export interface GetMediaTypeSchemaOutput {
|
|
12938
|
+
schema: unknown;
|
|
12939
|
+
}
|
|
12940
|
+
|
|
12840
12941
|
export interface GetMediaTypeFolderInput {
|
|
12841
12942
|
id: string;
|
|
12842
12943
|
}
|
|
@@ -13919,6 +14020,14 @@ export interface GetMemberAncestorsBatchOutput {
|
|
|
13919
14020
|
}[];
|
|
13920
14021
|
}
|
|
13921
14022
|
|
|
14023
|
+
export interface GetMemberTypeSchemaInput {
|
|
14024
|
+
id: string;
|
|
14025
|
+
}
|
|
14026
|
+
|
|
14027
|
+
export interface GetMemberTypeSchemaOutput {
|
|
14028
|
+
schema: unknown;
|
|
14029
|
+
}
|
|
14030
|
+
|
|
13922
14031
|
export interface GetMemberGroupInput {
|
|
13923
14032
|
id: string;
|
|
13924
14033
|
}
|
|
@@ -15714,12 +15823,10 @@ export interface GetUserCurrentPermissionsDocumentInput {
|
|
|
15714
15823
|
}
|
|
15715
15824
|
|
|
15716
15825
|
export interface GetUserCurrentPermissionsDocumentOutput {
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
}[];
|
|
15722
|
-
};
|
|
15826
|
+
permissions: {
|
|
15827
|
+
nodeKey: string;
|
|
15828
|
+
permissions: string[];
|
|
15829
|
+
}[];
|
|
15723
15830
|
}
|
|
15724
15831
|
|
|
15725
15832
|
export interface GetUserCurrentPermissionsMediaInput {
|
|
@@ -15938,6 +16045,42 @@ export interface DeleteUserAvatarByIdInput {
|
|
|
15938
16045
|
id: string;
|
|
15939
16046
|
}
|
|
15940
16047
|
|
|
16048
|
+
export interface GetUserBatchInput {
|
|
16049
|
+
id?: string[];
|
|
16050
|
+
}
|
|
16051
|
+
|
|
16052
|
+
export interface GetUserBatchOutput {
|
|
16053
|
+
total: number;
|
|
16054
|
+
items: {
|
|
16055
|
+
email: string;
|
|
16056
|
+
userName: string;
|
|
16057
|
+
name: string;
|
|
16058
|
+
userGroupIds: {
|
|
16059
|
+
id: string;
|
|
16060
|
+
}[];
|
|
16061
|
+
id: string;
|
|
16062
|
+
languageIsoCode?: string | null;
|
|
16063
|
+
documentStartNodeIds: {
|
|
16064
|
+
id: string;
|
|
16065
|
+
}[];
|
|
16066
|
+
hasDocumentRootAccess: boolean;
|
|
16067
|
+
mediaStartNodeIds: {
|
|
16068
|
+
id: string;
|
|
16069
|
+
}[];
|
|
16070
|
+
hasMediaRootAccess: boolean;
|
|
16071
|
+
avatarUrls: string[];
|
|
16072
|
+
state: "Active" | "Disabled" | "LockedOut" | "Invited" | "Inactive" | "All";
|
|
16073
|
+
failedLoginAttempts: number;
|
|
16074
|
+
createDate: string;
|
|
16075
|
+
updateDate: string;
|
|
16076
|
+
lastLoginDate?: string | null;
|
|
16077
|
+
lastLockoutDate?: string | null;
|
|
16078
|
+
lastPasswordChangeDate?: string | null;
|
|
16079
|
+
isAdmin: boolean;
|
|
16080
|
+
kind: "Default" | "Api";
|
|
16081
|
+
}[];
|
|
16082
|
+
}
|
|
16083
|
+
|
|
15941
16084
|
export interface CreateUserDataInput {
|
|
15942
16085
|
group: string;
|
|
15943
16086
|
identifier: string;
|
|
@@ -16484,6 +16627,7 @@ export interface CmsTools {
|
|
|
16484
16627
|
"delete-data-type-folder": { input: DeleteDataTypeFolderInput; output: unknown };
|
|
16485
16628
|
"get-data-type-folder": { input: GetDataTypeFolderInput; output: GetDataTypeFolderOutput };
|
|
16486
16629
|
"update-data-type-folder": { input: UpdateDataTypeFolderInput; output: unknown };
|
|
16630
|
+
"get-data-type-schemas": { input: GetDataTypeSchemasInput; output: GetDataTypeSchemasOutput };
|
|
16487
16631
|
"find-dictionary": { input: FindDictionaryInput; output: FindDictionaryOutput };
|
|
16488
16632
|
"create-dictionary": { input: CreateDictionaryInput; output: CreateDictionaryOutput };
|
|
16489
16633
|
"get-dictionary": { input: GetDictionaryInput; output: GetDictionaryOutput };
|
|
@@ -16561,6 +16705,10 @@ export interface CmsTools {
|
|
|
16561
16705
|
"get-document-ancestors-batch": { input: GetDocumentAncestorsBatchInput; output: GetDocumentAncestorsBatchOutput };
|
|
16562
16706
|
"get-document-siblings": { input: GetDocumentSiblingsInput; output: GetDocumentSiblingsOutput };
|
|
16563
16707
|
"get-document-recycle-bin-siblings": { input: GetDocumentRecycleBinSiblingsInput; output: GetDocumentRecycleBinSiblingsOutput };
|
|
16708
|
+
"create-and-publish-document": { input: CreateAndPublishDocumentInput; output: CreateAndPublishDocumentOutput };
|
|
16709
|
+
"sort-document-children": { input: SortDocumentChildrenInput; output: unknown };
|
|
16710
|
+
"sort-document-root-children": { input: SortDocumentRootChildrenInput; output: unknown };
|
|
16711
|
+
"update-and-publish-document": { input: UpdateAndPublishDocumentInput; output: unknown };
|
|
16564
16712
|
"get-document-type-by-id": { input: GetDocumentTypeByIdInput; output: GetDocumentTypeByIdOutput };
|
|
16565
16713
|
"get-document-type-configuration": { input: GetDocumentTypeConfigurationInput; output: GetDocumentTypeConfigurationOutput };
|
|
16566
16714
|
"get-document-type-blueprint": { input: GetDocumentTypeBlueprintInput; output: GetDocumentTypeBlueprintOutput };
|
|
@@ -16652,6 +16800,9 @@ export interface CmsTools {
|
|
|
16652
16800
|
"get-collection-media": { input: GetCollectionMediaInput; output: GetCollectionMediaOutput };
|
|
16653
16801
|
"get-recycle-bin-media-referenced-by": { input: GetRecycleBinMediaReferencedByInput; output: GetRecycleBinMediaReferencedByOutput };
|
|
16654
16802
|
"get-recycle-bin-media-original-parent": { input: GetRecycleBinMediaOriginalParentInput; output: GetRecycleBinMediaOriginalParentOutput };
|
|
16803
|
+
"sort-media-children": { input: SortMediaChildrenInput; output: unknown };
|
|
16804
|
+
"sort-media-root-children": { input: SortMediaRootChildrenInput; output: unknown };
|
|
16805
|
+
"get-media-type-schema": { input: GetMediaTypeSchemaInput; output: GetMediaTypeSchemaOutput };
|
|
16655
16806
|
"get-media-type-folder": { input: GetMediaTypeFolderInput; output: GetMediaTypeFolderOutput };
|
|
16656
16807
|
"create-media-type-folder": { input: CreateMediaTypeFolderInput; output: CreateMediaTypeFolderOutput };
|
|
16657
16808
|
"delete-media-type-folder": { input: DeleteMediaTypeFolderInput; output: unknown };
|
|
@@ -16690,6 +16841,7 @@ export interface CmsTools {
|
|
|
16690
16841
|
"find-member": { input: FindMemberInput; output: FindMemberOutput };
|
|
16691
16842
|
"get-item-member-search": { input: GetItemMemberSearchInput; output: GetItemMemberSearchOutput };
|
|
16692
16843
|
"get-member-ancestors-batch": { input: GetMemberAncestorsBatchInput; output: GetMemberAncestorsBatchOutput };
|
|
16844
|
+
"get-member-type-schema": { input: GetMemberTypeSchemaInput; output: GetMemberTypeSchemaOutput };
|
|
16693
16845
|
"get-member-group": { input: GetMemberGroupInput; output: GetMemberGroupOutput };
|
|
16694
16846
|
"get-member-group-by-id-array": { input: GetMemberGroupByIdArrayInput; output: GetMemberGroupByIdArrayOutput };
|
|
16695
16847
|
"get-all-member-groups": { input: GetAllMemberGroupsInput; output: GetAllMemberGroupsOutput };
|
|
@@ -16811,6 +16963,7 @@ export interface CmsTools {
|
|
|
16811
16963
|
"get-user-by-id-calculate-start-nodes": { input: GetUserByIdCalculateStartNodesInput; output: GetUserByIdCalculateStartNodesOutput };
|
|
16812
16964
|
"upload-user-avatar-by-id": { input: UploadUserAvatarByIdInput; output: unknown };
|
|
16813
16965
|
"delete-user-avatar-by-id": { input: DeleteUserAvatarByIdInput; output: unknown };
|
|
16966
|
+
"get-user-batch": { input: GetUserBatchInput; output: GetUserBatchOutput };
|
|
16814
16967
|
"create-user-data": { input: CreateUserDataInput; output: CreateUserDataOutput };
|
|
16815
16968
|
"update-user-data": { input: UpdateUserDataInput; output: unknown };
|
|
16816
16969
|
"get-user-data": { input: GetUserDataInput; output: GetUserDataOutput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-cms/mcp-dev",
|
|
3
|
-
"version": "17.6.
|
|
3
|
+
"version": "17.6.11",
|
|
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.
|
|
46
|
+
"node": ">=22.3.0"
|
|
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.
|
|
75
|
-
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.
|
|
74
|
+
"@umbraco-cms/mcp-hosted": "^1.0.0-beta.46",
|
|
75
|
+
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.46",
|
|
76
76
|
"dotenv": "^16.5.0",
|
|
77
77
|
"form-data": "^4.0.4",
|
|
78
78
|
"mime-types": "^3.0.1",
|