@umbraco-cms/mcp-dev 18.1.9 → 18.1.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/collections.d.ts +17 -0
- package/dist/{chunk-R2HBS7YH.cjs → chunk-FYAOUFDE.cjs} +420 -251
- package/dist/chunk-FYAOUFDE.cjs.map +1 -0
- package/dist/{chunk-OF7HVRKR.js → chunk-YZZKYEAE.js} +2918 -2749
- package/dist/chunk-YZZKYEAE.js.map +1 -0
- package/dist/collections.cjs +6 -2
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +7 -3
- package/dist/collections.js.map +1 -1
- package/dist/index.cjs +162 -115
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +60 -13
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +66 -18
- package/package.json +6 -6
- package/dist/chunk-OF7HVRKR.js.map +0 -1
- package/dist/chunk-R2HBS7YH.cjs.map +0 -1
package/dist/tool-types.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -166,6 +170,10 @@ export interface GetReferencesDataTypeOutput {
|
|
|
166
170
|
name?: string | null;
|
|
167
171
|
}
|
|
168
172
|
)[];
|
|
173
|
+
/**
|
|
174
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
175
|
+
*/
|
|
176
|
+
nextCursor?: string | null;
|
|
169
177
|
}
|
|
170
178
|
|
|
171
179
|
export interface IsUsedDataTypeInput {
|
|
@@ -1126,6 +1134,16 @@ export interface GetDocumentPublishOutput {
|
|
|
1126
1134
|
}[];
|
|
1127
1135
|
}
|
|
1128
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
|
+
|
|
1129
1147
|
export interface GetDocumentConfigurationInput {}
|
|
1130
1148
|
|
|
1131
1149
|
export interface GetDocumentConfigurationOutput {
|
|
@@ -1172,7 +1190,7 @@ export interface CreateDocumentInput {
|
|
|
1172
1190
|
* Array of culture codes. If not provided or empty array, will create single variant with null culture.
|
|
1173
1191
|
*/
|
|
1174
1192
|
cultures?: string[];
|
|
1175
|
-
values
|
|
1193
|
+
values?: {
|
|
1176
1194
|
editorAlias: string;
|
|
1177
1195
|
culture: string | null;
|
|
1178
1196
|
segment: string | null;
|
|
@@ -1202,7 +1220,7 @@ export interface CreateAndPublishDocumentInput {
|
|
|
1202
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.
|
|
1203
1221
|
*/
|
|
1204
1222
|
culturesToPublish?: string[];
|
|
1205
|
-
values
|
|
1223
|
+
values?: {
|
|
1206
1224
|
editorAlias: string;
|
|
1207
1225
|
culture: string | null;
|
|
1208
1226
|
segment: string | null;
|
|
@@ -1763,7 +1781,7 @@ export interface CreateDocumentBlockInput {
|
|
|
1763
1781
|
segment?: string | null;
|
|
1764
1782
|
}[];
|
|
1765
1783
|
/**
|
|
1766
|
-
* Settings for the new block; the settings element type comes from the data type configuration
|
|
1784
|
+
* 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
|
|
1767
1785
|
*/
|
|
1768
1786
|
settings?: {
|
|
1769
1787
|
/**
|
|
@@ -1819,6 +1837,10 @@ export interface CreateDocumentBlockInput {
|
|
|
1819
1837
|
*/
|
|
1820
1838
|
parentContentKey?: string;
|
|
1821
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";
|
|
1822
1844
|
}
|
|
1823
1845
|
|
|
1824
1846
|
export interface CreateDocumentBlockOutput {
|
|
@@ -1833,6 +1855,7 @@ export interface CreateDocumentBlockOutput {
|
|
|
1833
1855
|
warnings?: string[];
|
|
1834
1856
|
errors?: string[];
|
|
1835
1857
|
}[];
|
|
1858
|
+
kind: "BlockList" | "BlockGrid" | "RichText";
|
|
1836
1859
|
}
|
|
1837
1860
|
|
|
1838
1861
|
export interface DeleteDocumentBlockInput {
|
|
@@ -2069,7 +2092,7 @@ export interface ValidateDocumentInput {
|
|
|
2069
2092
|
export interface GetCollectionDocumentByIdInput {
|
|
2070
2093
|
id: string;
|
|
2071
2094
|
dataTypeId?: string;
|
|
2072
|
-
orderBy
|
|
2095
|
+
orderBy?: string;
|
|
2073
2096
|
orderCulture?: string;
|
|
2074
2097
|
orderDirection?: "Ascending" | "Descending";
|
|
2075
2098
|
filter?: string;
|
|
@@ -3077,12 +3100,14 @@ export interface CreateDocumentTypeInput {
|
|
|
3077
3100
|
alias: string;
|
|
3078
3101
|
description?: string;
|
|
3079
3102
|
icon: string;
|
|
3080
|
-
allowedAsRoot
|
|
3103
|
+
allowedAsRoot?: boolean;
|
|
3081
3104
|
parentId?: string;
|
|
3082
|
-
compositions
|
|
3083
|
-
allowedDocumentTypes
|
|
3105
|
+
compositions?: string[];
|
|
3106
|
+
allowedDocumentTypes?: string[];
|
|
3084
3107
|
collection?: string;
|
|
3085
|
-
|
|
3108
|
+
variesByCulture?: boolean;
|
|
3109
|
+
variesBySegment?: boolean;
|
|
3110
|
+
properties?: {
|
|
3086
3111
|
name: string;
|
|
3087
3112
|
alias: string;
|
|
3088
3113
|
dataTypeId: string;
|
|
@@ -3091,6 +3116,8 @@ export interface CreateDocumentTypeInput {
|
|
|
3091
3116
|
description?: string;
|
|
3092
3117
|
mandatory?: boolean;
|
|
3093
3118
|
sortOrder?: number;
|
|
3119
|
+
variesByCulture?: boolean;
|
|
3120
|
+
variesBySegment?: boolean;
|
|
3094
3121
|
}[];
|
|
3095
3122
|
}
|
|
3096
3123
|
|
|
@@ -3108,8 +3135,8 @@ export interface CreateElementTypeInput {
|
|
|
3108
3135
|
alias: string;
|
|
3109
3136
|
description?: string;
|
|
3110
3137
|
icon: string;
|
|
3111
|
-
compositions
|
|
3112
|
-
properties
|
|
3138
|
+
compositions?: string[];
|
|
3139
|
+
properties?: {
|
|
3113
3140
|
name: string;
|
|
3114
3141
|
alias: string;
|
|
3115
3142
|
dataTypeId: string;
|
|
@@ -3122,7 +3149,7 @@ export interface CreateElementTypeInput {
|
|
|
3122
3149
|
/**
|
|
3123
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).
|
|
3124
3151
|
*/
|
|
3125
|
-
allowedInLibrary
|
|
3152
|
+
allowedInLibrary?: boolean;
|
|
3126
3153
|
}
|
|
3127
3154
|
|
|
3128
3155
|
export interface CreateElementTypeOutput {
|
|
@@ -4394,7 +4421,7 @@ export interface CreateElementInput {
|
|
|
4394
4421
|
* Array of culture codes. If not provided or empty array, will create single variant with null culture.
|
|
4395
4422
|
*/
|
|
4396
4423
|
cultures?: string[];
|
|
4397
|
-
values
|
|
4424
|
+
values?: {
|
|
4398
4425
|
culture: string | null;
|
|
4399
4426
|
segment: string | null;
|
|
4400
4427
|
alias: string;
|
|
@@ -4419,7 +4446,7 @@ export interface CreateAndPublishElementInput {
|
|
|
4419
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.
|
|
4420
4447
|
*/
|
|
4421
4448
|
culturesToPublish?: string[];
|
|
4422
|
-
values
|
|
4449
|
+
values?: {
|
|
4423
4450
|
culture: string | null;
|
|
4424
4451
|
segment: string | null;
|
|
4425
4452
|
alias: string;
|
|
@@ -4951,8 +4978,8 @@ export interface ExecuteHealthCheckActionOutput {
|
|
|
4951
4978
|
|
|
4952
4979
|
export interface GetImagingResizeUrlsInput {
|
|
4953
4980
|
id?: string[];
|
|
4954
|
-
height
|
|
4955
|
-
width
|
|
4981
|
+
height?: number;
|
|
4982
|
+
width?: number;
|
|
4956
4983
|
mode?: "Crop" | "Max" | "Stretch" | "Pad" | "BoxPad" | "Min" | null;
|
|
4957
4984
|
format?: string;
|
|
4958
4985
|
}
|
|
@@ -5531,6 +5558,7 @@ export interface CreateMediaOutput {
|
|
|
5531
5558
|
message: string;
|
|
5532
5559
|
name: string;
|
|
5533
5560
|
id: string;
|
|
5561
|
+
warning?: string;
|
|
5534
5562
|
}
|
|
5535
5563
|
|
|
5536
5564
|
export interface CreateMediaMultipleInput {
|
|
@@ -13788,6 +13816,7 @@ export interface CreateMediaMultipleOutput {
|
|
|
13788
13816
|
name: string;
|
|
13789
13817
|
id?: string;
|
|
13790
13818
|
error?: string;
|
|
13819
|
+
warning?: string;
|
|
13791
13820
|
}[];
|
|
13792
13821
|
}
|
|
13793
13822
|
|
|
@@ -14289,7 +14318,7 @@ export interface GetMediaByIdReferencedDescendantsOutput {
|
|
|
14289
14318
|
export interface GetCollectionMediaInput {
|
|
14290
14319
|
id?: string;
|
|
14291
14320
|
dataTypeId?: string;
|
|
14292
|
-
orderBy
|
|
14321
|
+
orderBy?: string;
|
|
14293
14322
|
orderDirection?: "Ascending" | "Descending";
|
|
14294
14323
|
filter?: string;
|
|
14295
14324
|
/**
|
|
@@ -15487,7 +15516,7 @@ export interface FindMemberInput {
|
|
|
15487
15516
|
memberGroupName?: string;
|
|
15488
15517
|
isApproved?: boolean;
|
|
15489
15518
|
isLockedOut?: boolean;
|
|
15490
|
-
orderBy
|
|
15519
|
+
orderBy?: string;
|
|
15491
15520
|
orderDirection?: "Ascending" | "Descending";
|
|
15492
15521
|
filter?: string;
|
|
15493
15522
|
/**
|
|
@@ -16346,7 +16375,13 @@ export interface GetPropertyTypeIsUsedOutput {
|
|
|
16346
16375
|
isUsed: boolean;
|
|
16347
16376
|
}
|
|
16348
16377
|
|
|
16349
|
-
export interface GetAllRedirectsInput {
|
|
16378
|
+
export interface GetAllRedirectsInput {
|
|
16379
|
+
filter?: string;
|
|
16380
|
+
/**
|
|
16381
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
16382
|
+
*/
|
|
16383
|
+
cursor?: string;
|
|
16384
|
+
}
|
|
16350
16385
|
|
|
16351
16386
|
export interface GetAllRedirectsOutput {
|
|
16352
16387
|
total: number;
|
|
@@ -16360,6 +16395,10 @@ export interface GetAllRedirectsOutput {
|
|
|
16360
16395
|
};
|
|
16361
16396
|
culture?: string | null;
|
|
16362
16397
|
}[];
|
|
16398
|
+
/**
|
|
16399
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
16400
|
+
*/
|
|
16401
|
+
nextCursor?: string | null;
|
|
16363
16402
|
}
|
|
16364
16403
|
|
|
16365
16404
|
export interface GetRedirectByIdInput {
|
|
@@ -18242,6 +18281,10 @@ export interface GetAllWebhookLogsOutput {
|
|
|
18242
18281
|
|
|
18243
18282
|
export interface GetWebhookLogsInput {
|
|
18244
18283
|
id: string;
|
|
18284
|
+
/**
|
|
18285
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
18286
|
+
*/
|
|
18287
|
+
cursor?: string;
|
|
18245
18288
|
}
|
|
18246
18289
|
|
|
18247
18290
|
export interface GetWebhookLogsOutput {
|
|
@@ -18261,6 +18304,10 @@ export interface GetWebhookLogsOutput {
|
|
|
18261
18304
|
responseBody: string;
|
|
18262
18305
|
exceptionOccured: boolean;
|
|
18263
18306
|
}[];
|
|
18307
|
+
/**
|
|
18308
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
18309
|
+
*/
|
|
18310
|
+
nextCursor?: string | null;
|
|
18264
18311
|
}
|
|
18265
18312
|
|
|
18266
18313
|
export interface CmsTools {
|
|
@@ -18319,6 +18366,7 @@ export interface CmsTools {
|
|
|
18319
18366
|
"delete-document-blueprint-folder": { input: DeleteDocumentBlueprintFolderInput; output: unknown };
|
|
18320
18367
|
"get-document-by-id": { input: GetDocumentByIdInput; output: GetDocumentByIdOutput };
|
|
18321
18368
|
"get-document-publish": { input: GetDocumentPublishInput; output: GetDocumentPublishOutput };
|
|
18369
|
+
"get-document-publish-with-descendants-result": { input: GetDocumentPublishWithDescendantsResultInput; output: GetDocumentPublishWithDescendantsResultOutput };
|
|
18322
18370
|
"get-document-configuration": { input: GetDocumentConfigurationInput; output: GetDocumentConfigurationOutput };
|
|
18323
18371
|
"get-document-type-schema": { input: GetDocumentTypeSchemaInput; output: GetDocumentTypeSchemaOutput };
|
|
18324
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.
|
|
3
|
+
"version": "18.1.11",
|
|
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": "
|
|
47
|
+
"node": "^22.23.4 || ^24.22.1 || >=26.12.1"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"dist",
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
},
|
|
70
70
|
"homepage": "https://github.com/umbraco/Umbraco-CMS-MCP-Dev#readme",
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
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.
|
|
76
|
-
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.
|
|
75
|
+
"@umbraco-cms/mcp-hosted": "^1.0.0-beta.48",
|
|
76
|
+
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.48",
|
|
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.
|
|
83
|
+
"zod": "^4.6.7"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@anthropic-ai/claude-agent-sdk": "0.2.39",
|