@alicloud/agentcore20260804 2.1.0 → 2.1.1
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/client.d.ts +8 -8
- package/dist/client.js +11 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateMcpRequest.d.ts +6 -6
- package/dist/models/CreateMcpResponseBody.d.ts +7 -7
- package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/DataI18nValue.d.ts +37 -0
- package/dist/models/DataI18nValue.js +62 -0
- package/dist/models/DataI18nValue.js.map +1 -0
- package/dist/models/GetMcpMarketItemResponseBody.d.ts +13 -5
- package/dist/models/GetMcpMarketItemResponseBody.js +6 -0
- package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -1
- package/dist/models/GetMcpResponseBody.d.ts +20 -20
- package/dist/models/InstallMcpMarketItemRequest.d.ts +41 -31
- package/dist/models/InstallMcpMarketItemRequest.js +5 -0
- package/dist/models/InstallMcpMarketItemRequest.js.map +1 -1
- package/dist/models/InstallMcpMarketItemResponseBody.d.ts +43 -38
- package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -1
- package/dist/models/ItemsI18nValue.d.ts +37 -0
- package/dist/models/ItemsI18nValue.js +62 -0
- package/dist/models/ItemsI18nValue.js.map +1 -0
- package/dist/models/ListMcpMarketItemsResponseBody.d.ts +16 -8
- package/dist/models/ListMcpMarketItemsResponseBody.js +6 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -1
- package/dist/models/ListMcpsRequest.d.ts +9 -1
- package/dist/models/ListMcpsRequest.js +2 -0
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +7 -7
- package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +31 -29
- package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -1
- package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +33 -31
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -1
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +13 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -8
- package/src/models/CreateMcpRequest.ts +6 -6
- package/src/models/CreateMcpResponseBody.ts +7 -7
- package/src/models/CreateMcpShrinkRequest.ts +1 -1
- package/src/models/DataI18nValue.ts +54 -0
- package/src/models/GetMcpMarketItemResponseBody.ts +16 -5
- package/src/models/GetMcpResponseBody.ts +20 -20
- package/src/models/InstallMcpMarketItemRequest.ts +46 -31
- package/src/models/InstallMcpMarketItemResponseBody.ts +43 -38
- package/src/models/ItemsI18nValue.ts +54 -0
- package/src/models/ListMcpMarketItemsResponseBody.ts +19 -8
- package/src/models/ListMcpsRequest.ts +11 -1
- package/src/models/ListMcpsResponseBody.ts +7 -7
- package/src/models/UpdateMcpTemplateConfigRequest.ts +31 -29
- package/src/models/UpdateMcpTemplateConfigResponseBody.ts +33 -31
- package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +1 -1
- package/src/models/model.ts +2 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DataI18nValue extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The MCP service description in the corresponding language.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* An MCP service for querying knowledge bases
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The MCP marketplace template name in the corresponding language.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Knowledge Base
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The MCP marketplace template usage instructions in the corresponding language.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* # Knowledge Base\\nKnowledge base query service
|
|
28
|
+
*/
|
|
29
|
+
readme?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
description: 'description',
|
|
33
|
+
name: 'name',
|
|
34
|
+
readme: 'readme',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
description: 'string',
|
|
41
|
+
name: 'string',
|
|
42
|
+
readme: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DataI18nValue } from "./DataI18nValue";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
+
* The MCP marketplace template category.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* knowledge
|
|
@@ -13,7 +14,7 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
13
14
|
category?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
+
* The MCP service description.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* An MCP service for querying knowledge bases
|
|
@@ -21,9 +22,14 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
21
22
|
description?: string;
|
|
22
23
|
/**
|
|
23
24
|
* @remarks
|
|
24
|
-
* The display metadata
|
|
25
|
+
* The template display metadata.
|
|
25
26
|
*/
|
|
26
27
|
displayMetadata?: { [key: string]: any };
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The multilingual display content, organized by BCP-47 language tags. Falls back to default fields when the specified language is not matched.
|
|
31
|
+
*/
|
|
32
|
+
i18n?: { [key: string]: DataI18nValue };
|
|
27
33
|
/**
|
|
28
34
|
* @remarks
|
|
29
35
|
* The icon URL of the MCP marketplace template.
|
|
@@ -58,7 +64,7 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
58
64
|
mcpType?: string;
|
|
59
65
|
/**
|
|
60
66
|
* @remarks
|
|
61
|
-
* The
|
|
67
|
+
* The MCP marketplace template name.
|
|
62
68
|
*
|
|
63
69
|
* @example
|
|
64
70
|
* Knowledge
|
|
@@ -106,7 +112,7 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
106
112
|
templateInputSchema?: string;
|
|
107
113
|
/**
|
|
108
114
|
* @remarks
|
|
109
|
-
* The
|
|
115
|
+
* The MCP marketplace template version.
|
|
110
116
|
*
|
|
111
117
|
* @example
|
|
112
118
|
* 1.0.0
|
|
@@ -117,6 +123,7 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
117
123
|
category: 'category',
|
|
118
124
|
description: 'description',
|
|
119
125
|
displayMetadata: 'displayMetadata',
|
|
126
|
+
i18n: 'i18n',
|
|
120
127
|
iconUrl: 'iconUrl',
|
|
121
128
|
installCount: 'installCount',
|
|
122
129
|
marketItemId: 'marketItemId',
|
|
@@ -136,6 +143,7 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
136
143
|
category: 'string',
|
|
137
144
|
description: 'string',
|
|
138
145
|
displayMetadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
146
|
+
i18n: { 'type': 'map', 'keyType': 'string', 'valueType': DataI18nValue },
|
|
139
147
|
iconUrl: 'string',
|
|
140
148
|
installCount: 'number',
|
|
141
149
|
marketItemId: 'string',
|
|
@@ -154,6 +162,9 @@ export class GetMcpMarketItemResponseBodyData extends $dara.Model {
|
|
|
154
162
|
if(this.displayMetadata) {
|
|
155
163
|
$dara.Model.validateMap(this.displayMetadata);
|
|
156
164
|
}
|
|
165
|
+
if(this.i18n) {
|
|
166
|
+
$dara.Model.validateMap(this.i18n);
|
|
167
|
+
}
|
|
157
168
|
super.validate();
|
|
158
169
|
}
|
|
159
170
|
|
|
@@ -225,7 +225,7 @@ export class GetMcpResponseBodyDataDeploymentConfigAccessControl extends $dara.M
|
|
|
225
225
|
enabled?: boolean;
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* ANONYMOUS indicates anonymous access. CREDENTIAL indicates
|
|
228
|
+
* ANONYMOUS indicates anonymous access. CREDENTIAL indicates that AgentCore access credentials are used.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* CREDENTIAL
|
|
@@ -321,7 +321,7 @@ export class GetMcpResponseBodyDataDeploymentConfigCodeConfiguration extends $da
|
|
|
321
321
|
codePackageToken?: string;
|
|
322
322
|
/**
|
|
323
323
|
* @remarks
|
|
324
|
-
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and remaining arguments.
|
|
324
|
+
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and the remaining arguments.
|
|
325
325
|
*/
|
|
326
326
|
command?: string[];
|
|
327
327
|
/**
|
|
@@ -464,7 +464,7 @@ export class GetMcpResponseBodyDataDeploymentConfigHookConfigurationHooks extend
|
|
|
464
464
|
* The hook description.
|
|
465
465
|
*
|
|
466
466
|
* @example
|
|
467
|
-
* Log MCP tool
|
|
467
|
+
* Log MCP tool invocations
|
|
468
468
|
*/
|
|
469
469
|
description?: string;
|
|
470
470
|
/**
|
|
@@ -487,7 +487,7 @@ export class GetMcpResponseBodyDataDeploymentConfigHookConfigurationHooks extend
|
|
|
487
487
|
headers?: { [key: string]: string };
|
|
488
488
|
/**
|
|
489
489
|
* @remarks
|
|
490
|
-
* The timeout period
|
|
490
|
+
* The timeout period. Unit: milliseconds.
|
|
491
491
|
*
|
|
492
492
|
* @example
|
|
493
493
|
* 3000
|
|
@@ -570,17 +570,17 @@ export class GetMcpResponseBodyDataDeploymentConfigHookConfiguration extends $da
|
|
|
570
570
|
export class GetMcpResponseBodyDataDeploymentConfigLogConfiguration extends $dara.Model {
|
|
571
571
|
/**
|
|
572
572
|
* @remarks
|
|
573
|
-
* Indicates whether instance metrics
|
|
573
|
+
* Indicates whether instance metrics collection is enabled.
|
|
574
574
|
*/
|
|
575
575
|
enableInstanceMetrics?: boolean;
|
|
576
576
|
/**
|
|
577
577
|
* @remarks
|
|
578
|
-
* Indicates whether request metrics
|
|
578
|
+
* Indicates whether request metrics collection is enabled.
|
|
579
579
|
*/
|
|
580
580
|
enableRequestMetrics?: boolean;
|
|
581
581
|
/**
|
|
582
582
|
* @remarks
|
|
583
|
-
* The log
|
|
583
|
+
* The log segmentation begin rule for Function Compute (FC).
|
|
584
584
|
*
|
|
585
585
|
* @example
|
|
586
586
|
* DefaultRegex
|
|
@@ -634,7 +634,7 @@ export class GetMcpResponseBodyDataDeploymentConfigLogConfiguration extends $dar
|
|
|
634
634
|
export class GetMcpResponseBodyDataDeploymentConfigMcpConfiguration extends $dara.Model {
|
|
635
635
|
/**
|
|
636
636
|
* @remarks
|
|
637
|
-
* The MCP endpoint path
|
|
637
|
+
* The MCP endpoint path. For example, /mcp or /sse.
|
|
638
638
|
*
|
|
639
639
|
* @example
|
|
640
640
|
* /mcp
|
|
@@ -650,7 +650,7 @@ export class GetMcpResponseBodyDataDeploymentConfigMcpConfiguration extends $dar
|
|
|
650
650
|
sessionConcurrencyPerInstance?: number;
|
|
651
651
|
/**
|
|
652
652
|
* @remarks
|
|
653
|
-
* The session idle timeout period
|
|
653
|
+
* The session idle timeout period. Unit: seconds. Default value: 1800.
|
|
654
654
|
*
|
|
655
655
|
* @example
|
|
656
656
|
* 1800
|
|
@@ -658,7 +658,7 @@ export class GetMcpResponseBodyDataDeploymentConfigMcpConfiguration extends $dar
|
|
|
658
658
|
sessionIdleTimeoutSeconds?: number;
|
|
659
659
|
/**
|
|
660
660
|
* @remarks
|
|
661
|
-
* The maximum session lifetime
|
|
661
|
+
* The maximum session lifetime. Unit: seconds. Default value: 21600.
|
|
662
662
|
*
|
|
663
663
|
* @example
|
|
664
664
|
* 21600
|
|
@@ -1030,7 +1030,7 @@ export class GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration extends
|
|
|
1030
1030
|
cpu?: number;
|
|
1031
1031
|
/**
|
|
1032
1032
|
* @remarks
|
|
1033
|
-
* The
|
|
1033
|
+
* The ephemeral disk size. Unit: MB. Valid values: 512 and 10240.
|
|
1034
1034
|
*
|
|
1035
1035
|
* @example
|
|
1036
1036
|
* 512
|
|
@@ -1043,7 +1043,7 @@ export class GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration extends
|
|
|
1043
1043
|
environmentVariables?: { [key: string]: string };
|
|
1044
1044
|
/**
|
|
1045
1045
|
* @remarks
|
|
1046
|
-
* The
|
|
1046
|
+
* The ARN of the RAM role used by user code to access downstream Alibaba Cloud resources.
|
|
1047
1047
|
*
|
|
1048
1048
|
* @example
|
|
1049
1049
|
* acs:ram::1234567890123456:role/agentcore-mcp-execution
|
|
@@ -1051,7 +1051,7 @@ export class GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration extends
|
|
|
1051
1051
|
executionRoleArn?: string;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* @remarks
|
|
1054
|
-
* The
|
|
1054
|
+
* The number of concurrent requests per instance. Default value: 200.
|
|
1055
1055
|
*
|
|
1056
1056
|
* @example
|
|
1057
1057
|
* 200
|
|
@@ -1282,7 +1282,7 @@ export class GetMcpResponseBodyDataDeploymentConfig extends $dara.Model {
|
|
|
1282
1282
|
export class GetMcpResponseBodyDataMarketSource extends $dara.Model {
|
|
1283
1283
|
/**
|
|
1284
1284
|
* @remarks
|
|
1285
|
-
* The
|
|
1285
|
+
* The marketplace template ID for the MCP.
|
|
1286
1286
|
*
|
|
1287
1287
|
* @example
|
|
1288
1288
|
* market-1
|
|
@@ -1344,7 +1344,7 @@ export class GetMcpResponseBodyDataTemplate extends $dara.Model {
|
|
|
1344
1344
|
templateInputSchema?: string;
|
|
1345
1345
|
/**
|
|
1346
1346
|
* @remarks
|
|
1347
|
-
* Indicates whether
|
|
1347
|
+
* Indicates whether a template version update is available.
|
|
1348
1348
|
*/
|
|
1349
1349
|
updateAvailable?: boolean;
|
|
1350
1350
|
static names(): { [key: string]: string } {
|
|
@@ -1397,7 +1397,7 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
1397
1397
|
createdAt?: string;
|
|
1398
1398
|
/**
|
|
1399
1399
|
* @remarks
|
|
1400
|
-
* The custom tags. Multiple
|
|
1400
|
+
* The custom tags. Multiple tags are supported.
|
|
1401
1401
|
*/
|
|
1402
1402
|
customTags?: string[];
|
|
1403
1403
|
/**
|
|
@@ -1431,7 +1431,7 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
1431
1431
|
functionName?: string;
|
|
1432
1432
|
/**
|
|
1433
1433
|
* @remarks
|
|
1434
|
-
* The marketplace source template
|
|
1434
|
+
* The marketplace source template for the MCP.
|
|
1435
1435
|
*/
|
|
1436
1436
|
marketSource?: GetMcpResponseBodyDataMarketSource;
|
|
1437
1437
|
/**
|
|
@@ -1444,7 +1444,7 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
1444
1444
|
mcpServerConfig?: string;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* @remarks
|
|
1447
|
-
* The MCP
|
|
1447
|
+
* The MCP server ID.
|
|
1448
1448
|
*
|
|
1449
1449
|
* @example
|
|
1450
1450
|
* mcp-1234567890abcdef
|
|
@@ -1513,7 +1513,7 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
1513
1513
|
type?: string;
|
|
1514
1514
|
/**
|
|
1515
1515
|
* @remarks
|
|
1516
|
-
* The last updated time of the MCP
|
|
1516
|
+
* The last updated time of the MCP in ISO 8601 UTC format.
|
|
1517
1517
|
*
|
|
1518
1518
|
* @example
|
|
1519
1519
|
* 2026-08-23T01:00:00Z
|
|
@@ -1640,7 +1640,7 @@ export class GetMcpResponseBody extends $dara.Model {
|
|
|
1640
1640
|
* The response message.
|
|
1641
1641
|
*
|
|
1642
1642
|
* @example
|
|
1643
|
-
* Request
|
|
1643
|
+
* Request processed successfully
|
|
1644
1644
|
*/
|
|
1645
1645
|
message?: string;
|
|
1646
1646
|
/**
|
|
@@ -120,7 +120,7 @@ export class InstallMcpMarketItemRequestBodyAuth extends $dara.Model {
|
|
|
120
120
|
directProxy?: InstallMcpMarketItemRequestBodyAuthDirectProxy;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* Specifies whether
|
|
123
|
+
* Specifies whether to enable this configuration.
|
|
124
124
|
*/
|
|
125
125
|
enabled?: boolean;
|
|
126
126
|
/**
|
|
@@ -175,7 +175,9 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl extend
|
|
|
175
175
|
enabled?: boolean;
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
|
-
*
|
|
178
|
+
* The access control mode. Valid values:
|
|
179
|
+
* - ANONYMOUS: anonymous access.
|
|
180
|
+
* - CREDENTIAL: AgentCore credential-based access.
|
|
179
181
|
*
|
|
180
182
|
* @example
|
|
181
183
|
* CREDENTIAL
|
|
@@ -209,12 +211,12 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl extend
|
|
|
209
211
|
export class InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfiguration extends $dara.Model {
|
|
210
212
|
/**
|
|
211
213
|
* @remarks
|
|
212
|
-
* Specifies whether
|
|
214
|
+
* Specifies whether to enable authorization.
|
|
213
215
|
*/
|
|
214
216
|
authorizationEnabled?: boolean;
|
|
215
217
|
/**
|
|
216
218
|
* @remarks
|
|
217
|
-
* The
|
|
219
|
+
* The ARN of the credential provider.
|
|
218
220
|
*
|
|
219
221
|
* @example
|
|
220
222
|
* acs:agentidentity:cn-hangzhou:1234567890123456:provider/example
|
|
@@ -222,7 +224,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfigu
|
|
|
222
224
|
credentialProviderArn?: string;
|
|
223
225
|
/**
|
|
224
226
|
* @remarks
|
|
225
|
-
* The credential provider
|
|
227
|
+
* The type of the credential provider.
|
|
226
228
|
*
|
|
227
229
|
* @example
|
|
228
230
|
* oauth2
|
|
@@ -230,7 +232,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfigu
|
|
|
230
232
|
credentialProviderType?: string;
|
|
231
233
|
/**
|
|
232
234
|
* @remarks
|
|
233
|
-
* Specifies whether Agent Identity
|
|
235
|
+
* Specifies whether to enable Agent Identity.
|
|
234
236
|
*/
|
|
235
237
|
enabled?: boolean;
|
|
236
238
|
static names(): { [key: string]: string } {
|
|
@@ -263,7 +265,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfigu
|
|
|
263
265
|
export class InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration extends $dara.Model {
|
|
264
266
|
/**
|
|
265
267
|
* @remarks
|
|
266
|
-
* The temporary code package token returned by GetMcpCodePackageUploadUrl.
|
|
268
|
+
* The temporary code package token returned by GetMcpCodePackageUploadUrl. Use this token to create a code deployment after completing the pre-signed upload. Specify either this parameter or CodePackageUrl.
|
|
267
269
|
*
|
|
268
270
|
* @example
|
|
269
271
|
* upload-token
|
|
@@ -271,7 +273,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration ex
|
|
|
271
273
|
codePackageToken?: string;
|
|
272
274
|
/**
|
|
273
275
|
* @remarks
|
|
274
|
-
* The public Alibaba Cloud OSS HTTP(S) URL
|
|
276
|
+
* The public Alibaba Cloud OSS HTTP(S) URL of the code package. You can pass this URL directly when creating a code deployment. Specify either this parameter or CodePackageToken. Only CreateMcp supports this parameter. Update and query operations do not support this parameter.
|
|
275
277
|
*
|
|
276
278
|
* @example
|
|
277
279
|
* https://example-bucket.oss-cn-hangzhou.aliyuncs.com/server.zip
|
|
@@ -279,12 +281,12 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration ex
|
|
|
279
281
|
codePackageUrl?: string;
|
|
280
282
|
/**
|
|
281
283
|
* @remarks
|
|
282
|
-
* The full startup command, with arguments passed in
|
|
284
|
+
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and remaining arguments.
|
|
283
285
|
*/
|
|
284
286
|
command?: string[];
|
|
285
287
|
/**
|
|
286
288
|
* @remarks
|
|
287
|
-
* The code package runtime: python3.13, nodejs22,
|
|
289
|
+
* The code package runtime. Valid values: python3.13, nodejs22, and java17.
|
|
288
290
|
*
|
|
289
291
|
* @example
|
|
290
292
|
* python3.13
|
|
@@ -357,7 +359,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigContainerConfigurati
|
|
|
357
359
|
imageRegistryType?: string;
|
|
358
360
|
/**
|
|
359
361
|
* @remarks
|
|
360
|
-
* Custom containers must expose a standard MCP endpoint. Set this parameter to SELF_HOSTED.
|
|
362
|
+
* The MCP Runtime mode. Custom containers must expose a standard MCP endpoint. Set this parameter to SELF_HOSTED.
|
|
361
363
|
*
|
|
362
364
|
* @example
|
|
363
365
|
* SELF_HOSTED
|
|
@@ -365,7 +367,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigContainerConfigurati
|
|
|
365
367
|
mcpRuntimeMode?: string;
|
|
366
368
|
/**
|
|
367
369
|
* @remarks
|
|
368
|
-
* Currently fixed to CONTAINER_IMAGE.
|
|
370
|
+
* The container source type. Currently fixed to CONTAINER_IMAGE.
|
|
369
371
|
*
|
|
370
372
|
* @example
|
|
371
373
|
* CONTAINER_IMAGE
|
|
@@ -447,7 +449,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHoo
|
|
|
447
449
|
headers?: { [key: string]: string };
|
|
448
450
|
/**
|
|
449
451
|
* @remarks
|
|
450
|
-
* The timeout period
|
|
452
|
+
* The timeout period. Unit: milliseconds.
|
|
451
453
|
*
|
|
452
454
|
* @example
|
|
453
455
|
* 3000
|
|
@@ -500,7 +502,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHoo
|
|
|
500
502
|
export class InstallMcpMarketItemRequestBodyDeploymentConfigHookConfiguration extends $dara.Model {
|
|
501
503
|
/**
|
|
502
504
|
* @remarks
|
|
503
|
-
*
|
|
505
|
+
* The hooks executed in array order: PRE_LIST_TOOLS, PRE_CALL_TOOL, POST_LIST_TOOLS, and POST_CALL_TOOL.
|
|
504
506
|
*/
|
|
505
507
|
hooks?: InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHooks[];
|
|
506
508
|
static names(): { [key: string]: string } {
|
|
@@ -594,7 +596,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigLogConfiguration ext
|
|
|
594
596
|
export class InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration extends $dara.Model {
|
|
595
597
|
/**
|
|
596
598
|
* @remarks
|
|
597
|
-
*
|
|
599
|
+
* For example, /mcp or /sse.
|
|
598
600
|
*
|
|
599
601
|
* @example
|
|
600
602
|
* /mcp
|
|
@@ -602,7 +604,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration ext
|
|
|
602
604
|
endpointPath?: string;
|
|
603
605
|
/**
|
|
604
606
|
* @remarks
|
|
605
|
-
*
|
|
607
|
+
* Currently fixed to 1.
|
|
606
608
|
*
|
|
607
609
|
* @example
|
|
608
610
|
* 1
|
|
@@ -610,7 +612,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration ext
|
|
|
610
612
|
sessionConcurrencyPerInstance?: number;
|
|
611
613
|
/**
|
|
612
614
|
* @remarks
|
|
613
|
-
*
|
|
615
|
+
* Unit: seconds. Default value: 1800.
|
|
614
616
|
*
|
|
615
617
|
* @example
|
|
616
618
|
* 1800
|
|
@@ -618,7 +620,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration ext
|
|
|
618
620
|
sessionIdleTimeoutSeconds?: number;
|
|
619
621
|
/**
|
|
620
622
|
* @remarks
|
|
621
|
-
*
|
|
623
|
+
* Unit: seconds. Default value: 21600.
|
|
622
624
|
*
|
|
623
625
|
* @example
|
|
624
626
|
* 21600
|
|
@@ -913,7 +915,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigParameterTransformCo
|
|
|
913
915
|
enabled?: boolean;
|
|
914
916
|
/**
|
|
915
917
|
* @remarks
|
|
916
|
-
* The reserved reference to
|
|
918
|
+
* The reserved reference to the parameter transformation and result enhancement rule set.
|
|
917
919
|
*
|
|
918
920
|
* @example
|
|
919
921
|
* rules-1
|
|
@@ -982,7 +984,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigProxyConfiguration e
|
|
|
982
984
|
export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration extends $dara.Model {
|
|
983
985
|
/**
|
|
984
986
|
* @remarks
|
|
985
|
-
*
|
|
987
|
+
* Unit: cores. Default value: 0.25.
|
|
986
988
|
*
|
|
987
989
|
* @example
|
|
988
990
|
* 0.25
|
|
@@ -990,7 +992,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
990
992
|
cpu?: number;
|
|
991
993
|
/**
|
|
992
994
|
* @remarks
|
|
993
|
-
*
|
|
995
|
+
* Unit: MB. Valid values: 512 and 10240.
|
|
994
996
|
*
|
|
995
997
|
* @example
|
|
996
998
|
* 512
|
|
@@ -1003,7 +1005,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1003
1005
|
environmentVariables?: { [key: string]: string };
|
|
1004
1006
|
/**
|
|
1005
1007
|
* @remarks
|
|
1006
|
-
* The ARN of the RAM role used
|
|
1008
|
+
* The ARN of the RAM role used when user code accesses downstream Alibaba Cloud resources.
|
|
1007
1009
|
*
|
|
1008
1010
|
* @example
|
|
1009
1011
|
* acs:ram::1234567890123456:role/agentcore-mcp-execution
|
|
@@ -1011,7 +1013,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1011
1013
|
executionRoleArn?: string;
|
|
1012
1014
|
/**
|
|
1013
1015
|
* @remarks
|
|
1014
|
-
*
|
|
1016
|
+
* Default value: 200.
|
|
1015
1017
|
*
|
|
1016
1018
|
* @example
|
|
1017
1019
|
* 200
|
|
@@ -1019,7 +1021,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1019
1021
|
instanceConcurrency?: number;
|
|
1020
1022
|
/**
|
|
1021
1023
|
* @remarks
|
|
1022
|
-
*
|
|
1024
|
+
* Unit: MB. Default value: 512.
|
|
1023
1025
|
*
|
|
1024
1026
|
* @example
|
|
1025
1027
|
* 512
|
|
@@ -1027,7 +1029,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1027
1029
|
memory?: number;
|
|
1028
1030
|
/**
|
|
1029
1031
|
* @remarks
|
|
1030
|
-
*
|
|
1032
|
+
* Default value: 9000.
|
|
1031
1033
|
*
|
|
1032
1034
|
* @example
|
|
1033
1035
|
* 9000
|
|
@@ -1035,7 +1037,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1035
1037
|
port?: number;
|
|
1036
1038
|
/**
|
|
1037
1039
|
* @remarks
|
|
1038
|
-
*
|
|
1040
|
+
* Unit: seconds. Default value: 300.
|
|
1039
1041
|
*
|
|
1040
1042
|
* @example
|
|
1041
1043
|
* 300
|
|
@@ -1082,7 +1084,7 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration
|
|
|
1082
1084
|
export class InstallMcpMarketItemRequestBodyDeploymentConfig extends $dara.Model {
|
|
1083
1085
|
/**
|
|
1084
1086
|
* @remarks
|
|
1085
|
-
* The MCP ingress access control
|
|
1087
|
+
* The MCP ingress access control settings.
|
|
1086
1088
|
*/
|
|
1087
1089
|
accessControl?: InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl;
|
|
1088
1090
|
/**
|
|
@@ -1092,7 +1094,9 @@ export class InstallMcpMarketItemRequestBodyDeploymentConfig extends $dara.Model
|
|
|
1092
1094
|
agentIdentityConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfiguration;
|
|
1093
1095
|
/**
|
|
1094
1096
|
* @remarks
|
|
1095
|
-
*
|
|
1097
|
+
* The artifact type. Valid values:
|
|
1098
|
+
* - Code: ZIP code package.
|
|
1099
|
+
* - Container: custom container.
|
|
1096
1100
|
*
|
|
1097
1101
|
* @example
|
|
1098
1102
|
* Code
|
|
@@ -1250,6 +1254,11 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1250
1254
|
* The MCP authentication configuration.
|
|
1251
1255
|
*/
|
|
1252
1256
|
auth?: InstallMcpMarketItemRequestBodyAuth;
|
|
1257
|
+
/**
|
|
1258
|
+
* @remarks
|
|
1259
|
+
* The custom tags. Multiple tags are supported. Custom tags are merged with template fixed tags and deduplicated.
|
|
1260
|
+
*/
|
|
1261
|
+
customTags?: string[];
|
|
1253
1262
|
/**
|
|
1254
1263
|
* @remarks
|
|
1255
1264
|
* The deployment configuration for code-deployed MCP.
|
|
@@ -1260,7 +1269,7 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1260
1269
|
* The MCP service description.
|
|
1261
1270
|
*
|
|
1262
1271
|
* @example
|
|
1263
|
-
*
|
|
1272
|
+
* MCP service for querying knowledge bases
|
|
1264
1273
|
*/
|
|
1265
1274
|
description?: string;
|
|
1266
1275
|
/**
|
|
@@ -1290,9 +1299,10 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1290
1299
|
/**
|
|
1291
1300
|
* @remarks
|
|
1292
1301
|
* The MCP type. Valid values:
|
|
1293
|
-
*
|
|
1302
|
+
*
|
|
1303
|
+
* - DIRECT_PROXY: Direct proxy.
|
|
1294
1304
|
* - HTTP_TO_MCP: HTTP-to-MCP conversion.
|
|
1295
|
-
* - CODE_PACKAGE:
|
|
1305
|
+
* - CODE_PACKAGE: Code deployment.
|
|
1296
1306
|
*
|
|
1297
1307
|
* @example
|
|
1298
1308
|
* CODE_PACKAGE
|
|
@@ -1302,6 +1312,7 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1302
1312
|
return {
|
|
1303
1313
|
addresses: 'addresses',
|
|
1304
1314
|
auth: 'auth',
|
|
1315
|
+
customTags: 'customTags',
|
|
1305
1316
|
deploymentConfig: 'deploymentConfig',
|
|
1306
1317
|
description: 'description',
|
|
1307
1318
|
name: 'name',
|
|
@@ -1315,6 +1326,7 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1315
1326
|
return {
|
|
1316
1327
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
1317
1328
|
auth: InstallMcpMarketItemRequestBodyAuth,
|
|
1329
|
+
customTags: { 'type': 'array', 'itemType': 'string' },
|
|
1318
1330
|
deploymentConfig: InstallMcpMarketItemRequestBodyDeploymentConfig,
|
|
1319
1331
|
description: 'string',
|
|
1320
1332
|
name: 'string',
|
|
@@ -1331,6 +1343,9 @@ export class InstallMcpMarketItemRequestBody extends $dara.Model {
|
|
|
1331
1343
|
if(this.auth && typeof (this.auth as any).validate === 'function') {
|
|
1332
1344
|
(this.auth as any).validate();
|
|
1333
1345
|
}
|
|
1346
|
+
if(Array.isArray(this.customTags)) {
|
|
1347
|
+
$dara.Model.validateArray(this.customTags);
|
|
1348
|
+
}
|
|
1334
1349
|
if(this.deploymentConfig && typeof (this.deploymentConfig as any).validate === 'function') {
|
|
1335
1350
|
(this.deploymentConfig as any).validate();
|
|
1336
1351
|
}
|