@contentful/mcp-tools 0.2.4 → 0.2.6
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/dist/index.d.ts +82 -78
- package/dist/index.js +17 -24
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ import * as _modelcontextprotocol_sdk_shared_protocol_js from '@modelcontextprot
|
|
|
4
4
|
import * as _modelcontextprotocol_sdk_types_js from '@modelcontextprotocol/sdk/types.js';
|
|
5
5
|
import * as zod from 'zod';
|
|
6
6
|
|
|
7
|
+
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
8
|
+
[key: string]: JsonValue;
|
|
9
|
+
};
|
|
10
|
+
|
|
7
11
|
/**
|
|
8
12
|
* Response type for tool handlers
|
|
9
13
|
*/
|
|
@@ -176,10 +180,10 @@ declare class ContentfulMcpTools {
|
|
|
176
180
|
openWorldHint: boolean;
|
|
177
181
|
};
|
|
178
182
|
tool: (params: {
|
|
179
|
-
spaceId: string;
|
|
180
|
-
environmentId: string;
|
|
181
183
|
name: string;
|
|
182
184
|
description: string;
|
|
185
|
+
spaceId: string;
|
|
186
|
+
environmentId: string;
|
|
183
187
|
instruction: {
|
|
184
188
|
template: string;
|
|
185
189
|
variables: {
|
|
@@ -744,9 +748,9 @@ declare class ContentfulMcpTools {
|
|
|
744
748
|
openWorldHint: boolean;
|
|
745
749
|
};
|
|
746
750
|
tool: (params: {
|
|
751
|
+
title: string;
|
|
747
752
|
spaceId: string;
|
|
748
753
|
environmentId: string;
|
|
749
|
-
title: string;
|
|
750
754
|
file: {
|
|
751
755
|
fileName: string;
|
|
752
756
|
contentType: string;
|
|
@@ -1334,13 +1338,13 @@ declare class ContentfulMcpTools {
|
|
|
1334
1338
|
})[];
|
|
1335
1339
|
}>]>>>;
|
|
1336
1340
|
}, "strip", zod.ZodTypeAny, {
|
|
1341
|
+
in?: (string | number)[] | undefined;
|
|
1337
1342
|
message?: string | null | undefined;
|
|
1338
1343
|
size?: {
|
|
1339
1344
|
min?: number | undefined;
|
|
1340
1345
|
max?: number | undefined;
|
|
1341
1346
|
} | undefined;
|
|
1342
1347
|
linkContentType?: string[] | undefined;
|
|
1343
|
-
in?: (string | number)[] | undefined;
|
|
1344
1348
|
linkMimetypeGroup?: string[] | undefined;
|
|
1345
1349
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1346
1350
|
enabledMarks?: string[] | undefined;
|
|
@@ -1399,13 +1403,13 @@ declare class ContentfulMcpTools {
|
|
|
1399
1403
|
})[];
|
|
1400
1404
|
}> | undefined;
|
|
1401
1405
|
}, {
|
|
1406
|
+
in?: (string | number)[] | undefined;
|
|
1402
1407
|
message?: string | null | undefined;
|
|
1403
1408
|
size?: {
|
|
1404
1409
|
min?: number | undefined;
|
|
1405
1410
|
max?: number | undefined;
|
|
1406
1411
|
} | undefined;
|
|
1407
1412
|
linkContentType?: string[] | undefined;
|
|
1408
|
-
in?: (string | number)[] | undefined;
|
|
1409
1413
|
linkMimetypeGroup?: string[] | undefined;
|
|
1410
1414
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1411
1415
|
enabledMarks?: string[] | undefined;
|
|
@@ -1682,13 +1686,13 @@ declare class ContentfulMcpTools {
|
|
|
1682
1686
|
})[];
|
|
1683
1687
|
}>]>>>;
|
|
1684
1688
|
}, "strip", zod.ZodTypeAny, {
|
|
1689
|
+
in?: (string | number)[] | undefined;
|
|
1685
1690
|
message?: string | null | undefined;
|
|
1686
1691
|
size?: {
|
|
1687
1692
|
min?: number | undefined;
|
|
1688
1693
|
max?: number | undefined;
|
|
1689
1694
|
} | undefined;
|
|
1690
1695
|
linkContentType?: string[] | undefined;
|
|
1691
|
-
in?: (string | number)[] | undefined;
|
|
1692
1696
|
linkMimetypeGroup?: string[] | undefined;
|
|
1693
1697
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1694
1698
|
enabledMarks?: string[] | undefined;
|
|
@@ -1747,13 +1751,13 @@ declare class ContentfulMcpTools {
|
|
|
1747
1751
|
})[];
|
|
1748
1752
|
}> | undefined;
|
|
1749
1753
|
}, {
|
|
1754
|
+
in?: (string | number)[] | undefined;
|
|
1750
1755
|
message?: string | null | undefined;
|
|
1751
1756
|
size?: {
|
|
1752
1757
|
min?: number | undefined;
|
|
1753
1758
|
max?: number | undefined;
|
|
1754
1759
|
} | undefined;
|
|
1755
1760
|
linkContentType?: string[] | undefined;
|
|
1756
|
-
in?: (string | number)[] | undefined;
|
|
1757
1761
|
linkMimetypeGroup?: string[] | undefined;
|
|
1758
1762
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1759
1763
|
enabledMarks?: string[] | undefined;
|
|
@@ -1816,13 +1820,13 @@ declare class ContentfulMcpTools {
|
|
|
1816
1820
|
type: string;
|
|
1817
1821
|
linkType?: string | undefined;
|
|
1818
1822
|
validations?: {
|
|
1823
|
+
in?: (string | number)[] | undefined;
|
|
1819
1824
|
message?: string | null | undefined;
|
|
1820
1825
|
size?: {
|
|
1821
1826
|
min?: number | undefined;
|
|
1822
1827
|
max?: number | undefined;
|
|
1823
1828
|
} | undefined;
|
|
1824
1829
|
linkContentType?: string[] | undefined;
|
|
1825
|
-
in?: (string | number)[] | undefined;
|
|
1826
1830
|
linkMimetypeGroup?: string[] | undefined;
|
|
1827
1831
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1828
1832
|
enabledMarks?: string[] | undefined;
|
|
@@ -1885,13 +1889,13 @@ declare class ContentfulMcpTools {
|
|
|
1885
1889
|
type: string;
|
|
1886
1890
|
linkType?: string | undefined;
|
|
1887
1891
|
validations?: {
|
|
1892
|
+
in?: (string | number)[] | undefined;
|
|
1888
1893
|
message?: string | null | undefined;
|
|
1889
1894
|
size?: {
|
|
1890
1895
|
min?: number | undefined;
|
|
1891
1896
|
max?: number | undefined;
|
|
1892
1897
|
} | undefined;
|
|
1893
1898
|
linkContentType?: string[] | undefined;
|
|
1894
|
-
in?: (string | number)[] | undefined;
|
|
1895
1899
|
linkMimetypeGroup?: string[] | undefined;
|
|
1896
1900
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1897
1901
|
enabledMarks?: string[] | undefined;
|
|
@@ -1952,22 +1956,22 @@ declare class ContentfulMcpTools {
|
|
|
1952
1956
|
}[] | undefined;
|
|
1953
1957
|
}>>;
|
|
1954
1958
|
}, "strip", zod.ZodTypeAny, {
|
|
1955
|
-
type: string;
|
|
1956
|
-
id: string;
|
|
1957
1959
|
name: string;
|
|
1960
|
+
type: string;
|
|
1958
1961
|
required: boolean;
|
|
1962
|
+
id: string;
|
|
1959
1963
|
localized: boolean;
|
|
1960
1964
|
items?: {
|
|
1961
1965
|
type: string;
|
|
1962
1966
|
linkType?: string | undefined;
|
|
1963
1967
|
validations?: {
|
|
1968
|
+
in?: (string | number)[] | undefined;
|
|
1964
1969
|
message?: string | null | undefined;
|
|
1965
1970
|
size?: {
|
|
1966
1971
|
min?: number | undefined;
|
|
1967
1972
|
max?: number | undefined;
|
|
1968
1973
|
} | undefined;
|
|
1969
1974
|
linkContentType?: string[] | undefined;
|
|
1970
|
-
in?: (string | number)[] | undefined;
|
|
1971
1975
|
linkMimetypeGroup?: string[] | undefined;
|
|
1972
1976
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1973
1977
|
enabledMarks?: string[] | undefined;
|
|
@@ -2029,13 +2033,13 @@ declare class ContentfulMcpTools {
|
|
|
2029
2033
|
} | undefined;
|
|
2030
2034
|
linkType?: string | undefined;
|
|
2031
2035
|
validations?: {
|
|
2036
|
+
in?: (string | number)[] | undefined;
|
|
2032
2037
|
message?: string | null | undefined;
|
|
2033
2038
|
size?: {
|
|
2034
2039
|
min?: number | undefined;
|
|
2035
2040
|
max?: number | undefined;
|
|
2036
2041
|
} | undefined;
|
|
2037
2042
|
linkContentType?: string[] | undefined;
|
|
2038
|
-
in?: (string | number)[] | undefined;
|
|
2039
2043
|
linkMimetypeGroup?: string[] | undefined;
|
|
2040
2044
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2041
2045
|
enabledMarks?: string[] | undefined;
|
|
@@ -2099,22 +2103,22 @@ declare class ContentfulMcpTools {
|
|
|
2099
2103
|
settings?: Record<string, any> | undefined;
|
|
2100
2104
|
defaultValue?: any;
|
|
2101
2105
|
}, {
|
|
2102
|
-
type: string;
|
|
2103
|
-
id: string;
|
|
2104
2106
|
name: string;
|
|
2107
|
+
type: string;
|
|
2105
2108
|
required: boolean;
|
|
2109
|
+
id: string;
|
|
2106
2110
|
localized: boolean;
|
|
2107
2111
|
items?: {
|
|
2108
2112
|
type: string;
|
|
2109
2113
|
linkType?: string | undefined;
|
|
2110
2114
|
validations?: {
|
|
2115
|
+
in?: (string | number)[] | undefined;
|
|
2111
2116
|
message?: string | null | undefined;
|
|
2112
2117
|
size?: {
|
|
2113
2118
|
min?: number | undefined;
|
|
2114
2119
|
max?: number | undefined;
|
|
2115
2120
|
} | undefined;
|
|
2116
2121
|
linkContentType?: string[] | undefined;
|
|
2117
|
-
in?: (string | number)[] | undefined;
|
|
2118
2122
|
linkMimetypeGroup?: string[] | undefined;
|
|
2119
2123
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2120
2124
|
enabledMarks?: string[] | undefined;
|
|
@@ -2176,13 +2180,13 @@ declare class ContentfulMcpTools {
|
|
|
2176
2180
|
} | undefined;
|
|
2177
2181
|
linkType?: string | undefined;
|
|
2178
2182
|
validations?: {
|
|
2183
|
+
in?: (string | number)[] | undefined;
|
|
2179
2184
|
message?: string | null | undefined;
|
|
2180
2185
|
size?: {
|
|
2181
2186
|
min?: number | undefined;
|
|
2182
2187
|
max?: number | undefined;
|
|
2183
2188
|
} | undefined;
|
|
2184
2189
|
linkContentType?: string[] | undefined;
|
|
2185
|
-
in?: (string | number)[] | undefined;
|
|
2186
2190
|
linkMimetypeGroup?: string[] | undefined;
|
|
2187
2191
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2188
2192
|
enabledMarks?: string[] | undefined;
|
|
@@ -2347,26 +2351,26 @@ declare class ContentfulMcpTools {
|
|
|
2347
2351
|
openWorldHint: boolean;
|
|
2348
2352
|
};
|
|
2349
2353
|
tool: (params: {
|
|
2354
|
+
name: string;
|
|
2350
2355
|
spaceId: string;
|
|
2351
2356
|
environmentId: string;
|
|
2352
|
-
name: string;
|
|
2353
2357
|
fields: {
|
|
2354
|
-
type: string;
|
|
2355
|
-
id: string;
|
|
2356
2358
|
name: string;
|
|
2359
|
+
type: string;
|
|
2357
2360
|
required: boolean;
|
|
2361
|
+
id: string;
|
|
2358
2362
|
localized: boolean;
|
|
2359
2363
|
items?: {
|
|
2360
2364
|
type: string;
|
|
2361
2365
|
linkType?: string | undefined;
|
|
2362
2366
|
validations?: {
|
|
2367
|
+
in?: (string | number)[] | undefined;
|
|
2363
2368
|
message?: string | null | undefined;
|
|
2364
2369
|
size?: {
|
|
2365
2370
|
min?: number | undefined;
|
|
2366
2371
|
max?: number | undefined;
|
|
2367
2372
|
} | undefined;
|
|
2368
2373
|
linkContentType?: string[] | undefined;
|
|
2369
|
-
in?: (string | number)[] | undefined;
|
|
2370
2374
|
linkMimetypeGroup?: string[] | undefined;
|
|
2371
2375
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2372
2376
|
enabledMarks?: string[] | undefined;
|
|
@@ -2428,13 +2432,13 @@ declare class ContentfulMcpTools {
|
|
|
2428
2432
|
} | undefined;
|
|
2429
2433
|
linkType?: string | undefined;
|
|
2430
2434
|
validations?: {
|
|
2435
|
+
in?: (string | number)[] | undefined;
|
|
2431
2436
|
message?: string | null | undefined;
|
|
2432
2437
|
size?: {
|
|
2433
2438
|
min?: number | undefined;
|
|
2434
2439
|
max?: number | undefined;
|
|
2435
2440
|
} | undefined;
|
|
2436
2441
|
linkContentType?: string[] | undefined;
|
|
2437
|
-
in?: (string | number)[] | undefined;
|
|
2438
2442
|
linkMimetypeGroup?: string[] | undefined;
|
|
2439
2443
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2440
2444
|
enabledMarks?: string[] | undefined;
|
|
@@ -2751,13 +2755,13 @@ declare class ContentfulMcpTools {
|
|
|
2751
2755
|
})[];
|
|
2752
2756
|
}>]>>>;
|
|
2753
2757
|
}, "strip", zod.ZodTypeAny, {
|
|
2758
|
+
in?: (string | number)[] | undefined;
|
|
2754
2759
|
message?: string | null | undefined;
|
|
2755
2760
|
size?: {
|
|
2756
2761
|
min?: number | undefined;
|
|
2757
2762
|
max?: number | undefined;
|
|
2758
2763
|
} | undefined;
|
|
2759
2764
|
linkContentType?: string[] | undefined;
|
|
2760
|
-
in?: (string | number)[] | undefined;
|
|
2761
2765
|
linkMimetypeGroup?: string[] | undefined;
|
|
2762
2766
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2763
2767
|
enabledMarks?: string[] | undefined;
|
|
@@ -2816,13 +2820,13 @@ declare class ContentfulMcpTools {
|
|
|
2816
2820
|
})[];
|
|
2817
2821
|
}> | undefined;
|
|
2818
2822
|
}, {
|
|
2823
|
+
in?: (string | number)[] | undefined;
|
|
2819
2824
|
message?: string | null | undefined;
|
|
2820
2825
|
size?: {
|
|
2821
2826
|
min?: number | undefined;
|
|
2822
2827
|
max?: number | undefined;
|
|
2823
2828
|
} | undefined;
|
|
2824
2829
|
linkContentType?: string[] | undefined;
|
|
2825
|
-
in?: (string | number)[] | undefined;
|
|
2826
2830
|
linkMimetypeGroup?: string[] | undefined;
|
|
2827
2831
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2828
2832
|
enabledMarks?: string[] | undefined;
|
|
@@ -3099,13 +3103,13 @@ declare class ContentfulMcpTools {
|
|
|
3099
3103
|
})[];
|
|
3100
3104
|
}>]>>>;
|
|
3101
3105
|
}, "strip", zod.ZodTypeAny, {
|
|
3106
|
+
in?: (string | number)[] | undefined;
|
|
3102
3107
|
message?: string | null | undefined;
|
|
3103
3108
|
size?: {
|
|
3104
3109
|
min?: number | undefined;
|
|
3105
3110
|
max?: number | undefined;
|
|
3106
3111
|
} | undefined;
|
|
3107
3112
|
linkContentType?: string[] | undefined;
|
|
3108
|
-
in?: (string | number)[] | undefined;
|
|
3109
3113
|
linkMimetypeGroup?: string[] | undefined;
|
|
3110
3114
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3111
3115
|
enabledMarks?: string[] | undefined;
|
|
@@ -3164,13 +3168,13 @@ declare class ContentfulMcpTools {
|
|
|
3164
3168
|
})[];
|
|
3165
3169
|
}> | undefined;
|
|
3166
3170
|
}, {
|
|
3171
|
+
in?: (string | number)[] | undefined;
|
|
3167
3172
|
message?: string | null | undefined;
|
|
3168
3173
|
size?: {
|
|
3169
3174
|
min?: number | undefined;
|
|
3170
3175
|
max?: number | undefined;
|
|
3171
3176
|
} | undefined;
|
|
3172
3177
|
linkContentType?: string[] | undefined;
|
|
3173
|
-
in?: (string | number)[] | undefined;
|
|
3174
3178
|
linkMimetypeGroup?: string[] | undefined;
|
|
3175
3179
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3176
3180
|
enabledMarks?: string[] | undefined;
|
|
@@ -3233,13 +3237,13 @@ declare class ContentfulMcpTools {
|
|
|
3233
3237
|
type: string;
|
|
3234
3238
|
linkType?: string | undefined;
|
|
3235
3239
|
validations?: {
|
|
3240
|
+
in?: (string | number)[] | undefined;
|
|
3236
3241
|
message?: string | null | undefined;
|
|
3237
3242
|
size?: {
|
|
3238
3243
|
min?: number | undefined;
|
|
3239
3244
|
max?: number | undefined;
|
|
3240
3245
|
} | undefined;
|
|
3241
3246
|
linkContentType?: string[] | undefined;
|
|
3242
|
-
in?: (string | number)[] | undefined;
|
|
3243
3247
|
linkMimetypeGroup?: string[] | undefined;
|
|
3244
3248
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3245
3249
|
enabledMarks?: string[] | undefined;
|
|
@@ -3302,13 +3306,13 @@ declare class ContentfulMcpTools {
|
|
|
3302
3306
|
type: string;
|
|
3303
3307
|
linkType?: string | undefined;
|
|
3304
3308
|
validations?: {
|
|
3309
|
+
in?: (string | number)[] | undefined;
|
|
3305
3310
|
message?: string | null | undefined;
|
|
3306
3311
|
size?: {
|
|
3307
3312
|
min?: number | undefined;
|
|
3308
3313
|
max?: number | undefined;
|
|
3309
3314
|
} | undefined;
|
|
3310
3315
|
linkContentType?: string[] | undefined;
|
|
3311
|
-
in?: (string | number)[] | undefined;
|
|
3312
3316
|
linkMimetypeGroup?: string[] | undefined;
|
|
3313
3317
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3314
3318
|
enabledMarks?: string[] | undefined;
|
|
@@ -3369,22 +3373,22 @@ declare class ContentfulMcpTools {
|
|
|
3369
3373
|
}[] | undefined;
|
|
3370
3374
|
}>>;
|
|
3371
3375
|
}, "strip", zod.ZodTypeAny, {
|
|
3372
|
-
type: string;
|
|
3373
|
-
id: string;
|
|
3374
3376
|
name: string;
|
|
3377
|
+
type: string;
|
|
3375
3378
|
required: boolean;
|
|
3379
|
+
id: string;
|
|
3376
3380
|
localized: boolean;
|
|
3377
3381
|
items?: {
|
|
3378
3382
|
type: string;
|
|
3379
3383
|
linkType?: string | undefined;
|
|
3380
3384
|
validations?: {
|
|
3385
|
+
in?: (string | number)[] | undefined;
|
|
3381
3386
|
message?: string | null | undefined;
|
|
3382
3387
|
size?: {
|
|
3383
3388
|
min?: number | undefined;
|
|
3384
3389
|
max?: number | undefined;
|
|
3385
3390
|
} | undefined;
|
|
3386
3391
|
linkContentType?: string[] | undefined;
|
|
3387
|
-
in?: (string | number)[] | undefined;
|
|
3388
3392
|
linkMimetypeGroup?: string[] | undefined;
|
|
3389
3393
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3390
3394
|
enabledMarks?: string[] | undefined;
|
|
@@ -3446,13 +3450,13 @@ declare class ContentfulMcpTools {
|
|
|
3446
3450
|
} | undefined;
|
|
3447
3451
|
linkType?: string | undefined;
|
|
3448
3452
|
validations?: {
|
|
3453
|
+
in?: (string | number)[] | undefined;
|
|
3449
3454
|
message?: string | null | undefined;
|
|
3450
3455
|
size?: {
|
|
3451
3456
|
min?: number | undefined;
|
|
3452
3457
|
max?: number | undefined;
|
|
3453
3458
|
} | undefined;
|
|
3454
3459
|
linkContentType?: string[] | undefined;
|
|
3455
|
-
in?: (string | number)[] | undefined;
|
|
3456
3460
|
linkMimetypeGroup?: string[] | undefined;
|
|
3457
3461
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3458
3462
|
enabledMarks?: string[] | undefined;
|
|
@@ -3516,22 +3520,22 @@ declare class ContentfulMcpTools {
|
|
|
3516
3520
|
settings?: Record<string, any> | undefined;
|
|
3517
3521
|
defaultValue?: any;
|
|
3518
3522
|
}, {
|
|
3519
|
-
type: string;
|
|
3520
|
-
id: string;
|
|
3521
3523
|
name: string;
|
|
3524
|
+
type: string;
|
|
3522
3525
|
required: boolean;
|
|
3526
|
+
id: string;
|
|
3523
3527
|
localized: boolean;
|
|
3524
3528
|
items?: {
|
|
3525
3529
|
type: string;
|
|
3526
3530
|
linkType?: string | undefined;
|
|
3527
3531
|
validations?: {
|
|
3532
|
+
in?: (string | number)[] | undefined;
|
|
3528
3533
|
message?: string | null | undefined;
|
|
3529
3534
|
size?: {
|
|
3530
3535
|
min?: number | undefined;
|
|
3531
3536
|
max?: number | undefined;
|
|
3532
3537
|
} | undefined;
|
|
3533
3538
|
linkContentType?: string[] | undefined;
|
|
3534
|
-
in?: (string | number)[] | undefined;
|
|
3535
3539
|
linkMimetypeGroup?: string[] | undefined;
|
|
3536
3540
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3537
3541
|
enabledMarks?: string[] | undefined;
|
|
@@ -3593,13 +3597,13 @@ declare class ContentfulMcpTools {
|
|
|
3593
3597
|
} | undefined;
|
|
3594
3598
|
linkType?: string | undefined;
|
|
3595
3599
|
validations?: {
|
|
3600
|
+
in?: (string | number)[] | undefined;
|
|
3596
3601
|
message?: string | null | undefined;
|
|
3597
3602
|
size?: {
|
|
3598
3603
|
min?: number | undefined;
|
|
3599
3604
|
max?: number | undefined;
|
|
3600
3605
|
} | undefined;
|
|
3601
3606
|
linkContentType?: string[] | undefined;
|
|
3602
|
-
in?: (string | number)[] | undefined;
|
|
3603
3607
|
linkMimetypeGroup?: string[] | undefined;
|
|
3604
3608
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3605
3609
|
enabledMarks?: string[] | undefined;
|
|
@@ -3787,22 +3791,22 @@ declare class ContentfulMcpTools {
|
|
|
3787
3791
|
name?: string | undefined;
|
|
3788
3792
|
description?: string | undefined;
|
|
3789
3793
|
fields?: {
|
|
3790
|
-
type: string;
|
|
3791
|
-
id: string;
|
|
3792
3794
|
name: string;
|
|
3795
|
+
type: string;
|
|
3793
3796
|
required: boolean;
|
|
3797
|
+
id: string;
|
|
3794
3798
|
localized: boolean;
|
|
3795
3799
|
items?: {
|
|
3796
3800
|
type: string;
|
|
3797
3801
|
linkType?: string | undefined;
|
|
3798
3802
|
validations?: {
|
|
3803
|
+
in?: (string | number)[] | undefined;
|
|
3799
3804
|
message?: string | null | undefined;
|
|
3800
3805
|
size?: {
|
|
3801
3806
|
min?: number | undefined;
|
|
3802
3807
|
max?: number | undefined;
|
|
3803
3808
|
} | undefined;
|
|
3804
3809
|
linkContentType?: string[] | undefined;
|
|
3805
|
-
in?: (string | number)[] | undefined;
|
|
3806
3810
|
linkMimetypeGroup?: string[] | undefined;
|
|
3807
3811
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3808
3812
|
enabledMarks?: string[] | undefined;
|
|
@@ -3864,13 +3868,13 @@ declare class ContentfulMcpTools {
|
|
|
3864
3868
|
} | undefined;
|
|
3865
3869
|
linkType?: string | undefined;
|
|
3866
3870
|
validations?: {
|
|
3871
|
+
in?: (string | number)[] | undefined;
|
|
3867
3872
|
message?: string | null | undefined;
|
|
3868
3873
|
size?: {
|
|
3869
3874
|
min?: number | undefined;
|
|
3870
3875
|
max?: number | undefined;
|
|
3871
3876
|
} | undefined;
|
|
3872
3877
|
linkContentType?: string[] | undefined;
|
|
3873
|
-
in?: (string | number)[] | undefined;
|
|
3874
3878
|
linkMimetypeGroup?: string[] | undefined;
|
|
3875
3879
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3876
3880
|
enabledMarks?: string[] | undefined;
|
|
@@ -4302,16 +4306,16 @@ declare class ContentfulMcpTools {
|
|
|
4302
4306
|
contentTypeId: zod.ZodString;
|
|
4303
4307
|
fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
|
|
4304
4308
|
nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
|
|
4305
|
-
data: zod.
|
|
4309
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
4306
4310
|
content: zod.ZodArray<zod.ZodType<unknown, zod.ZodTypeDef, unknown>, "many">;
|
|
4307
4311
|
}, "strip", zod.ZodTypeAny, {
|
|
4308
|
-
data: Record<string, any>;
|
|
4309
4312
|
content: unknown[];
|
|
4313
|
+
data: Record<string, any>;
|
|
4310
4314
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4311
4315
|
}, {
|
|
4312
4316
|
content: unknown[];
|
|
4317
|
+
data: Record<string, any>;
|
|
4313
4318
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4314
|
-
data?: Record<string, any> | undefined;
|
|
4315
4319
|
}>, zod.ZodObject<{
|
|
4316
4320
|
sys: zod.ZodObject<{
|
|
4317
4321
|
type: zod.ZodLiteral<"Link">;
|
|
@@ -4425,7 +4429,7 @@ declare class ContentfulMcpTools {
|
|
|
4425
4429
|
linkType: string;
|
|
4426
4430
|
urn: string;
|
|
4427
4431
|
};
|
|
4428
|
-
}>, "many">, zod.
|
|
4432
|
+
}>, "many">, zod.ZodType<JsonValue, zod.ZodTypeDef, JsonValue>]>>>;
|
|
4429
4433
|
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
4430
4434
|
tags: zod.ZodArray<zod.ZodObject<{
|
|
4431
4435
|
sys: zod.ZodObject<{
|
|
@@ -4522,9 +4526,9 @@ declare class ContentfulMcpTools {
|
|
|
4522
4526
|
tool: (params: {
|
|
4523
4527
|
spaceId: string;
|
|
4524
4528
|
environmentId: string;
|
|
4525
|
-
fields: Record<string, Record<string, string
|
|
4526
|
-
data: Record<string, any>;
|
|
4529
|
+
fields: Record<string, Record<string, string[] | {
|
|
4527
4530
|
content: unknown[];
|
|
4531
|
+
data: Record<string, any>;
|
|
4528
4532
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4529
4533
|
} | {
|
|
4530
4534
|
sys: {
|
|
@@ -4541,7 +4545,7 @@ declare class ContentfulMcpTools {
|
|
|
4541
4545
|
} | {
|
|
4542
4546
|
lat: number;
|
|
4543
4547
|
lon: number;
|
|
4544
|
-
} | {
|
|
4548
|
+
} | JsonValue | {
|
|
4545
4549
|
sys: {
|
|
4546
4550
|
type: "Link";
|
|
4547
4551
|
id: string;
|
|
@@ -4602,16 +4606,16 @@ declare class ContentfulMcpTools {
|
|
|
4602
4606
|
entryId: zod.ZodString;
|
|
4603
4607
|
fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
|
|
4604
4608
|
nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
|
|
4605
|
-
data: zod.
|
|
4609
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
4606
4610
|
content: zod.ZodArray<zod.ZodType<unknown, zod.ZodTypeDef, unknown>, "many">;
|
|
4607
4611
|
}, "strip", zod.ZodTypeAny, {
|
|
4608
|
-
data: Record<string, any>;
|
|
4609
4612
|
content: unknown[];
|
|
4613
|
+
data: Record<string, any>;
|
|
4610
4614
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4611
4615
|
}, {
|
|
4612
4616
|
content: unknown[];
|
|
4617
|
+
data: Record<string, any>;
|
|
4613
4618
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4614
|
-
data?: Record<string, any> | undefined;
|
|
4615
4619
|
}>, zod.ZodObject<{
|
|
4616
4620
|
sys: zod.ZodObject<{
|
|
4617
4621
|
type: zod.ZodLiteral<"Link">;
|
|
@@ -4725,7 +4729,7 @@ declare class ContentfulMcpTools {
|
|
|
4725
4729
|
linkType: string;
|
|
4726
4730
|
urn: string;
|
|
4727
4731
|
};
|
|
4728
|
-
}>, "many">, zod.
|
|
4732
|
+
}>, "many">, zod.ZodType<JsonValue, zod.ZodTypeDef, JsonValue>]>>>;
|
|
4729
4733
|
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
4730
4734
|
tags: zod.ZodArray<zod.ZodObject<{
|
|
4731
4735
|
sys: zod.ZodObject<{
|
|
@@ -4822,9 +4826,9 @@ declare class ContentfulMcpTools {
|
|
|
4822
4826
|
tool: (params: {
|
|
4823
4827
|
spaceId: string;
|
|
4824
4828
|
environmentId: string;
|
|
4825
|
-
fields: Record<string, Record<string, string
|
|
4826
|
-
data: Record<string, any>;
|
|
4829
|
+
fields: Record<string, Record<string, string[] | {
|
|
4827
4830
|
content: unknown[];
|
|
4831
|
+
data: Record<string, any>;
|
|
4828
4832
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4829
4833
|
} | {
|
|
4830
4834
|
sys: {
|
|
@@ -4841,7 +4845,7 @@ declare class ContentfulMcpTools {
|
|
|
4841
4845
|
} | {
|
|
4842
4846
|
lat: number;
|
|
4843
4847
|
lon: number;
|
|
4844
|
-
} | {
|
|
4848
|
+
} | JsonValue | {
|
|
4845
4849
|
sys: {
|
|
4846
4850
|
type: "Link";
|
|
4847
4851
|
id: string;
|
|
@@ -5000,9 +5004,9 @@ declare class ContentfulMcpTools {
|
|
|
5000
5004
|
openWorldHint: boolean;
|
|
5001
5005
|
};
|
|
5002
5006
|
tool: (params: {
|
|
5007
|
+
name: string;
|
|
5003
5008
|
spaceId: string;
|
|
5004
5009
|
environmentId: string;
|
|
5005
|
-
name: string;
|
|
5006
5010
|
sourceEnvironmentId?: string | undefined;
|
|
5007
5011
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5008
5012
|
};
|
|
@@ -5096,15 +5100,15 @@ declare class ContentfulMcpTools {
|
|
|
5096
5100
|
openWorldHint: boolean;
|
|
5097
5101
|
};
|
|
5098
5102
|
tool: (params: {
|
|
5099
|
-
|
|
5103
|
+
default: boolean;
|
|
5104
|
+
optional: boolean;
|
|
5105
|
+
name: string;
|
|
5100
5106
|
spaceId: string;
|
|
5101
5107
|
environmentId: string;
|
|
5102
|
-
|
|
5108
|
+
code: string;
|
|
5103
5109
|
fallbackCode: string | null;
|
|
5104
5110
|
contentDeliveryApi: boolean;
|
|
5105
5111
|
contentManagementApi: boolean;
|
|
5106
|
-
default: boolean;
|
|
5107
|
-
optional: boolean;
|
|
5108
5112
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5109
5113
|
};
|
|
5110
5114
|
listLocales: {
|
|
@@ -5150,19 +5154,19 @@ declare class ContentfulMcpTools {
|
|
|
5150
5154
|
contentManagementApi: zod.ZodOptional<zod.ZodBoolean>;
|
|
5151
5155
|
optional: zod.ZodOptional<zod.ZodBoolean>;
|
|
5152
5156
|
}, "strip", zod.ZodTypeAny, {
|
|
5153
|
-
|
|
5157
|
+
optional?: boolean | undefined;
|
|
5154
5158
|
name?: string | undefined;
|
|
5159
|
+
code?: string | undefined;
|
|
5155
5160
|
fallbackCode?: string | undefined;
|
|
5156
5161
|
contentDeliveryApi?: boolean | undefined;
|
|
5157
5162
|
contentManagementApi?: boolean | undefined;
|
|
5158
|
-
optional?: boolean | undefined;
|
|
5159
5163
|
}, {
|
|
5160
|
-
|
|
5164
|
+
optional?: boolean | undefined;
|
|
5161
5165
|
name?: string | undefined;
|
|
5166
|
+
code?: string | undefined;
|
|
5162
5167
|
fallbackCode?: string | undefined;
|
|
5163
5168
|
contentDeliveryApi?: boolean | undefined;
|
|
5164
5169
|
contentManagementApi?: boolean | undefined;
|
|
5165
|
-
optional?: boolean | undefined;
|
|
5166
5170
|
}>;
|
|
5167
5171
|
};
|
|
5168
5172
|
annotations: {
|
|
@@ -5175,12 +5179,12 @@ declare class ContentfulMcpTools {
|
|
|
5175
5179
|
spaceId: string;
|
|
5176
5180
|
environmentId: string;
|
|
5177
5181
|
fields: {
|
|
5178
|
-
|
|
5182
|
+
optional?: boolean | undefined;
|
|
5179
5183
|
name?: string | undefined;
|
|
5184
|
+
code?: string | undefined;
|
|
5180
5185
|
fallbackCode?: string | undefined;
|
|
5181
5186
|
contentDeliveryApi?: boolean | undefined;
|
|
5182
5187
|
contentManagementApi?: boolean | undefined;
|
|
5183
|
-
optional?: boolean | undefined;
|
|
5184
5188
|
};
|
|
5185
5189
|
localeId: string;
|
|
5186
5190
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
@@ -5332,10 +5336,10 @@ declare class ContentfulMcpTools {
|
|
|
5332
5336
|
openWorldHint: boolean;
|
|
5333
5337
|
};
|
|
5334
5338
|
tool: (params: {
|
|
5339
|
+
name: string;
|
|
5335
5340
|
spaceId: string;
|
|
5336
5341
|
environmentId: string;
|
|
5337
5342
|
id: string;
|
|
5338
|
-
name: string;
|
|
5339
5343
|
visibility: "private" | "public";
|
|
5340
5344
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5341
5345
|
};
|
|
@@ -5580,8 +5584,8 @@ declare class ContentfulMcpTools {
|
|
|
5580
5584
|
openWorldHint: boolean;
|
|
5581
5585
|
};
|
|
5582
5586
|
tool: (params: {
|
|
5583
|
-
organizationId: string;
|
|
5584
5587
|
version: number;
|
|
5588
|
+
organizationId: string;
|
|
5585
5589
|
conceptId: string;
|
|
5586
5590
|
uri?: string | null | undefined;
|
|
5587
5591
|
prefLabel?: Record<string, string> | undefined;
|
|
@@ -5625,8 +5629,8 @@ declare class ContentfulMcpTools {
|
|
|
5625
5629
|
openWorldHint: boolean;
|
|
5626
5630
|
};
|
|
5627
5631
|
tool: (params: {
|
|
5628
|
-
organizationId: string;
|
|
5629
5632
|
version: number;
|
|
5633
|
+
organizationId: string;
|
|
5630
5634
|
conceptId: string;
|
|
5631
5635
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5632
5636
|
};
|
|
@@ -5789,8 +5793,8 @@ declare class ContentfulMcpTools {
|
|
|
5789
5793
|
openWorldHint: boolean;
|
|
5790
5794
|
};
|
|
5791
5795
|
tool: (params: {
|
|
5792
|
-
organizationId: string;
|
|
5793
5796
|
version: number;
|
|
5797
|
+
organizationId: string;
|
|
5794
5798
|
conceptSchemeId: string;
|
|
5795
5799
|
uri?: string | null | undefined;
|
|
5796
5800
|
prefLabel?: Record<string, string> | undefined;
|
|
@@ -5825,8 +5829,8 @@ declare class ContentfulMcpTools {
|
|
|
5825
5829
|
openWorldHint: boolean;
|
|
5826
5830
|
};
|
|
5827
5831
|
tool: (params: {
|
|
5828
|
-
organizationId: string;
|
|
5829
5832
|
version: number;
|
|
5833
|
+
organizationId: string;
|
|
5830
5834
|
conceptSchemeId: string;
|
|
5831
5835
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5832
5836
|
};
|
|
@@ -5915,6 +5919,7 @@ declare class ContentfulMcpTools {
|
|
|
5915
5919
|
useVerboseRenderer: zod.ZodOptional<zod.ZodBoolean>;
|
|
5916
5920
|
config: zod.ZodOptional<zod.ZodString>;
|
|
5917
5921
|
}, "strip", zod.ZodTypeAny, {
|
|
5922
|
+
config?: string | undefined;
|
|
5918
5923
|
spaceId?: string | undefined;
|
|
5919
5924
|
environmentId?: string | undefined;
|
|
5920
5925
|
host?: string | undefined;
|
|
@@ -5956,8 +5961,8 @@ declare class ContentfulMcpTools {
|
|
|
5956
5961
|
rawProxy?: boolean | undefined;
|
|
5957
5962
|
errorLogFile?: string | undefined;
|
|
5958
5963
|
useVerboseRenderer?: boolean | undefined;
|
|
5959
|
-
config?: string | undefined;
|
|
5960
5964
|
}, {
|
|
5965
|
+
config?: string | undefined;
|
|
5961
5966
|
spaceId?: string | undefined;
|
|
5962
5967
|
environmentId?: string | undefined;
|
|
5963
5968
|
host?: string | undefined;
|
|
@@ -5999,7 +6004,6 @@ declare class ContentfulMcpTools {
|
|
|
5999
6004
|
rawProxy?: boolean | undefined;
|
|
6000
6005
|
errorLogFile?: string | undefined;
|
|
6001
6006
|
useVerboseRenderer?: boolean | undefined;
|
|
6002
|
-
config?: string | undefined;
|
|
6003
6007
|
}>>;
|
|
6004
6008
|
import: zod.ZodOptional<zod.ZodObject<{
|
|
6005
6009
|
spaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6025,6 +6029,7 @@ declare class ContentfulMcpTools {
|
|
|
6025
6029
|
useVerboseRenderer: zod.ZodOptional<zod.ZodBoolean>;
|
|
6026
6030
|
config: zod.ZodOptional<zod.ZodString>;
|
|
6027
6031
|
}, "strip", zod.ZodTypeAny, {
|
|
6032
|
+
config?: string | undefined;
|
|
6028
6033
|
content?: Record<string, any> | undefined;
|
|
6029
6034
|
spaceId?: string | undefined;
|
|
6030
6035
|
environmentId?: string | undefined;
|
|
@@ -6038,7 +6043,6 @@ declare class ContentfulMcpTools {
|
|
|
6038
6043
|
rawProxy?: boolean | undefined;
|
|
6039
6044
|
errorLogFile?: string | undefined;
|
|
6040
6045
|
useVerboseRenderer?: boolean | undefined;
|
|
6041
|
-
config?: string | undefined;
|
|
6042
6046
|
contentModelOnly?: boolean | undefined;
|
|
6043
6047
|
skipLocales?: boolean | undefined;
|
|
6044
6048
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6048,6 +6052,7 @@ declare class ContentfulMcpTools {
|
|
|
6048
6052
|
assetsDirectory?: string | undefined;
|
|
6049
6053
|
rateLimit?: number | undefined;
|
|
6050
6054
|
}, {
|
|
6055
|
+
config?: string | undefined;
|
|
6051
6056
|
content?: Record<string, any> | undefined;
|
|
6052
6057
|
spaceId?: string | undefined;
|
|
6053
6058
|
environmentId?: string | undefined;
|
|
@@ -6061,7 +6066,6 @@ declare class ContentfulMcpTools {
|
|
|
6061
6066
|
rawProxy?: boolean | undefined;
|
|
6062
6067
|
errorLogFile?: string | undefined;
|
|
6063
6068
|
useVerboseRenderer?: boolean | undefined;
|
|
6064
|
-
config?: string | undefined;
|
|
6065
6069
|
contentModelOnly?: boolean | undefined;
|
|
6066
6070
|
skipLocales?: boolean | undefined;
|
|
6067
6071
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6081,6 +6085,7 @@ declare class ContentfulMcpTools {
|
|
|
6081
6085
|
environmentId: string;
|
|
6082
6086
|
confirmation?: boolean | undefined;
|
|
6083
6087
|
export?: {
|
|
6088
|
+
config?: string | undefined;
|
|
6084
6089
|
spaceId?: string | undefined;
|
|
6085
6090
|
environmentId?: string | undefined;
|
|
6086
6091
|
host?: string | undefined;
|
|
@@ -6122,9 +6127,9 @@ declare class ContentfulMcpTools {
|
|
|
6122
6127
|
rawProxy?: boolean | undefined;
|
|
6123
6128
|
errorLogFile?: string | undefined;
|
|
6124
6129
|
useVerboseRenderer?: boolean | undefined;
|
|
6125
|
-
config?: string | undefined;
|
|
6126
6130
|
} | undefined;
|
|
6127
6131
|
import?: {
|
|
6132
|
+
config?: string | undefined;
|
|
6128
6133
|
content?: Record<string, any> | undefined;
|
|
6129
6134
|
spaceId?: string | undefined;
|
|
6130
6135
|
environmentId?: string | undefined;
|
|
@@ -6138,7 +6143,6 @@ declare class ContentfulMcpTools {
|
|
|
6138
6143
|
rawProxy?: boolean | undefined;
|
|
6139
6144
|
errorLogFile?: string | undefined;
|
|
6140
6145
|
useVerboseRenderer?: boolean | undefined;
|
|
6141
|
-
config?: string | undefined;
|
|
6142
6146
|
contentModelOnly?: boolean | undefined;
|
|
6143
6147
|
skipLocales?: boolean | undefined;
|
|
6144
6148
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6246,6 +6250,7 @@ declare class ContentfulMcpTools {
|
|
|
6246
6250
|
contentOnly: boolean;
|
|
6247
6251
|
downloadAssets: boolean;
|
|
6248
6252
|
maxAllowedLimit: number;
|
|
6253
|
+
config?: string | undefined;
|
|
6249
6254
|
host?: string | undefined;
|
|
6250
6255
|
proxy?: string | undefined;
|
|
6251
6256
|
headers?: Record<string, string> | undefined;
|
|
@@ -6272,7 +6277,6 @@ declare class ContentfulMcpTools {
|
|
|
6272
6277
|
rawProxy?: boolean | undefined;
|
|
6273
6278
|
errorLogFile?: string | undefined;
|
|
6274
6279
|
useVerboseRenderer?: boolean | undefined;
|
|
6275
|
-
config?: string | undefined;
|
|
6276
6280
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
6277
6281
|
};
|
|
6278
6282
|
importSpace: {
|
|
@@ -6322,6 +6326,7 @@ declare class ContentfulMcpTools {
|
|
|
6322
6326
|
uploadAssets: boolean;
|
|
6323
6327
|
skipAssetUpdates: boolean;
|
|
6324
6328
|
rateLimit: number;
|
|
6329
|
+
config?: string | undefined;
|
|
6325
6330
|
content?: Record<string, any> | undefined;
|
|
6326
6331
|
host?: string | undefined;
|
|
6327
6332
|
proxy?: string | undefined;
|
|
@@ -6330,7 +6335,6 @@ declare class ContentfulMcpTools {
|
|
|
6330
6335
|
rawProxy?: boolean | undefined;
|
|
6331
6336
|
errorLogFile?: string | undefined;
|
|
6332
6337
|
useVerboseRenderer?: boolean | undefined;
|
|
6333
|
-
config?: string | undefined;
|
|
6334
6338
|
assetsDirectory?: string | undefined;
|
|
6335
6339
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
6336
6340
|
};
|
package/dist/index.js
CHANGED
|
@@ -2237,8 +2237,8 @@ var markSchema = z36.object({
|
|
|
2237
2237
|
var textNodeSchema = z36.object({
|
|
2238
2238
|
nodeType: z36.literal("text"),
|
|
2239
2239
|
value: z36.string(),
|
|
2240
|
-
marks: z36.array(markSchema)
|
|
2241
|
-
data: z36.record(z36.any())
|
|
2240
|
+
marks: z36.array(markSchema),
|
|
2241
|
+
data: z36.record(z36.any())
|
|
2242
2242
|
});
|
|
2243
2243
|
var inlineNodeSchema = z36.lazy(
|
|
2244
2244
|
() => z36.object({
|
|
@@ -2283,7 +2283,7 @@ var topLevelBlockNodeSchema = z36.lazy(
|
|
|
2283
2283
|
);
|
|
2284
2284
|
var richTextDocumentSchema = z36.object({
|
|
2285
2285
|
nodeType: z36.literal(BLOCKS2.DOCUMENT),
|
|
2286
|
-
data: z36.record(z36.any())
|
|
2286
|
+
data: z36.record(z36.any()),
|
|
2287
2287
|
content: z36.array(topLevelBlockNodeSchema)
|
|
2288
2288
|
}).describe("Contentful Rich Text document");
|
|
2289
2289
|
var linkSchema = z36.object({
|
|
@@ -2304,29 +2304,22 @@ var locationSchema = z36.object({
|
|
|
2304
2304
|
lat: z36.number(),
|
|
2305
2305
|
lon: z36.number()
|
|
2306
2306
|
});
|
|
2307
|
+
var jsonPrimitive = z36.union([z36.string(), z36.number(), z36.boolean(), z36.null()]);
|
|
2308
|
+
var jsonValueSchema = z36.lazy(
|
|
2309
|
+
() => z36.union([jsonPrimitive, z36.array(jsonValueSchema), z36.record(jsonValueSchema)]).describe("Freeform JSON value (not for Rich Text)")
|
|
2310
|
+
);
|
|
2307
2311
|
var fieldValueSchema = z36.union([
|
|
2308
|
-
z36.string(),
|
|
2309
|
-
|
|
2310
|
-
z36.
|
|
2311
|
-
// Integer, Number
|
|
2312
|
-
z36.boolean(),
|
|
2313
|
-
// Boolean
|
|
2312
|
+
z36.string().describe("Symbol, Text, or Date field"),
|
|
2313
|
+
z36.number().describe("Integer or Number field"),
|
|
2314
|
+
z36.boolean().describe("Boolean field"),
|
|
2314
2315
|
richTextDocumentSchema,
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
z36.array(z36.string()),
|
|
2323
|
-
// Array<Symbol>
|
|
2324
|
-
z36.array(linkSchema),
|
|
2325
|
-
// Array<Link>
|
|
2326
|
-
z36.array(resourceLinkSchema),
|
|
2327
|
-
// Array<ResourceLink>
|
|
2328
|
-
z36.record(z36.any())
|
|
2329
|
-
// Object (freeform JSON)
|
|
2316
|
+
linkSchema.describe("Link field (Entry or Asset reference)"),
|
|
2317
|
+
resourceLinkSchema.describe("ResourceLink field"),
|
|
2318
|
+
locationSchema.describe("Location field"),
|
|
2319
|
+
z36.array(z36.string()).describe("Array field of Symbols"),
|
|
2320
|
+
z36.array(linkSchema).describe("Array field of Links"),
|
|
2321
|
+
z36.array(resourceLinkSchema).describe("Array field of ResourceLinks"),
|
|
2322
|
+
jsonValueSchema
|
|
2330
2323
|
]);
|
|
2331
2324
|
var localizedFieldSchema = z36.record(fieldValueSchema);
|
|
2332
2325
|
var entryFieldsSchema = z36.record(localizedFieldSchema).describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/mcp-tools",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@contentful/rich-text-types": "^16.8.5",
|
|
44
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
44
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
45
45
|
"contentful-export": "^7.21.78",
|
|
46
46
|
"contentful-import": "^9.4.129",
|
|
47
47
|
"contentful-management": "^11.54.3",
|
|
48
|
-
"fast-xml-parser": "^5.
|
|
48
|
+
"fast-xml-parser": "^5.3.8",
|
|
49
49
|
"outdent": "^0.8.0",
|
|
50
50
|
"tsup": "^8.5.0",
|
|
51
51
|
"vitest": "^3.2.4",
|