@umbraco-cms/mcp-dev 18.1.8 → 18.1.10
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-O6YXPPS2.js → chunk-B47BCEST.js} +883 -873
- package/dist/chunk-B47BCEST.js.map +1 -0
- package/dist/{chunk-GOS3TR7Z.cjs → chunk-UML5C3AZ.cjs} +226 -216
- package/dist/chunk-UML5C3AZ.cjs.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 +124 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +39 -25
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +36 -8
- package/package.json +4 -4
- package/dist/chunk-GOS3TR7Z.cjs.map +0 -1
- package/dist/chunk-O6YXPPS2.js.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 {
|
|
@@ -1763,7 +1771,7 @@ export interface CreateDocumentBlockInput {
|
|
|
1763
1771
|
segment?: string | null;
|
|
1764
1772
|
}[];
|
|
1765
1773
|
/**
|
|
1766
|
-
* Settings for the new block; the settings element type comes from the data type configuration
|
|
1774
|
+
* 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
1775
|
*/
|
|
1768
1776
|
settings?: {
|
|
1769
1777
|
/**
|
|
@@ -3082,6 +3090,8 @@ export interface CreateDocumentTypeInput {
|
|
|
3082
3090
|
compositions: string[];
|
|
3083
3091
|
allowedDocumentTypes: string[];
|
|
3084
3092
|
collection?: string;
|
|
3093
|
+
variesByCulture?: boolean;
|
|
3094
|
+
variesBySegment?: boolean;
|
|
3085
3095
|
properties: {
|
|
3086
3096
|
name: string;
|
|
3087
3097
|
alias: string;
|
|
@@ -3091,6 +3101,8 @@ export interface CreateDocumentTypeInput {
|
|
|
3091
3101
|
description?: string;
|
|
3092
3102
|
mandatory?: boolean;
|
|
3093
3103
|
sortOrder?: number;
|
|
3104
|
+
variesByCulture?: boolean;
|
|
3105
|
+
variesBySegment?: boolean;
|
|
3094
3106
|
}[];
|
|
3095
3107
|
}
|
|
3096
3108
|
|
|
@@ -16346,7 +16358,13 @@ export interface GetPropertyTypeIsUsedOutput {
|
|
|
16346
16358
|
isUsed: boolean;
|
|
16347
16359
|
}
|
|
16348
16360
|
|
|
16349
|
-
export interface GetAllRedirectsInput {
|
|
16361
|
+
export interface GetAllRedirectsInput {
|
|
16362
|
+
filter?: string;
|
|
16363
|
+
/**
|
|
16364
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
16365
|
+
*/
|
|
16366
|
+
cursor?: string;
|
|
16367
|
+
}
|
|
16350
16368
|
|
|
16351
16369
|
export interface GetAllRedirectsOutput {
|
|
16352
16370
|
total: number;
|
|
@@ -16360,6 +16378,10 @@ export interface GetAllRedirectsOutput {
|
|
|
16360
16378
|
};
|
|
16361
16379
|
culture?: string | null;
|
|
16362
16380
|
}[];
|
|
16381
|
+
/**
|
|
16382
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
16383
|
+
*/
|
|
16384
|
+
nextCursor?: string | null;
|
|
16363
16385
|
}
|
|
16364
16386
|
|
|
16365
16387
|
export interface GetRedirectByIdInput {
|
|
@@ -17417,12 +17439,10 @@ export interface GetUserCurrentPermissionsDocumentInput {
|
|
|
17417
17439
|
}
|
|
17418
17440
|
|
|
17419
17441
|
export interface GetUserCurrentPermissionsDocumentOutput {
|
|
17420
|
-
|
|
17421
|
-
|
|
17422
|
-
|
|
17423
|
-
|
|
17424
|
-
}[];
|
|
17425
|
-
};
|
|
17442
|
+
permissions: {
|
|
17443
|
+
nodeKey: string;
|
|
17444
|
+
permissions: string[];
|
|
17445
|
+
}[];
|
|
17426
17446
|
}
|
|
17427
17447
|
|
|
17428
17448
|
export interface GetUserCurrentPermissionsMediaInput {
|
|
@@ -18244,6 +18264,10 @@ export interface GetAllWebhookLogsOutput {
|
|
|
18244
18264
|
|
|
18245
18265
|
export interface GetWebhookLogsInput {
|
|
18246
18266
|
id: string;
|
|
18267
|
+
/**
|
|
18268
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
18269
|
+
*/
|
|
18270
|
+
cursor?: string;
|
|
18247
18271
|
}
|
|
18248
18272
|
|
|
18249
18273
|
export interface GetWebhookLogsOutput {
|
|
@@ -18263,6 +18287,10 @@ export interface GetWebhookLogsOutput {
|
|
|
18263
18287
|
responseBody: string;
|
|
18264
18288
|
exceptionOccured: boolean;
|
|
18265
18289
|
}[];
|
|
18290
|
+
/**
|
|
18291
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
18292
|
+
*/
|
|
18293
|
+
nextCursor?: string | null;
|
|
18266
18294
|
}
|
|
18267
18295
|
|
|
18268
18296
|
export interface CmsTools {
|
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.10",
|
|
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.
|
|
47
|
+
"node": ">=22.3.0"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"dist",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@modelcontextprotocol/sdk": "^1.28.0",
|
|
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.47",
|
|
76
|
+
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.47",
|
|
77
77
|
"dotenv": "^16.5.0",
|
|
78
78
|
"form-data": "^4.0.4",
|
|
79
79
|
"mime-types": "^3.0.1",
|