enum MCPProtocolVersion
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.MCPProtocolVersion |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#MCPProtocolVersion |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.MCPProtocolVersion |
Python | aws_cdk.aws_bedrock_agentcore_alpha.MCPProtocolVersion |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha » MCPProtocolVersion |
MCP protocol versions.
The Model Context Protocol uses string-based version identifiers following the format YYYY-MM-DD, to indicate the last date backwards incompatible changes were made. Versions are available at https://github.com/modelcontextprotocol/modelcontextprotocol/releases
Example
// Create a KMS key for encryption
const encryptionKey = new kms.Key(this, "GatewayEncryptionKey", {
enableKeyRotation: true,
description: "KMS key for gateway encryption",
});
// Create gateway with KMS encryption
const gateway = new agentcore.Gateway(this, "MyGateway", {
gatewayName: "my-encrypted-gateway",
description: "Gateway with KMS encryption",
protocolConfiguration: new agentcore.McpProtocolConfiguration({
instructions: "Use this gateway to connect to external MCP tools",
searchType: agentcore.McpGatewaySearchType.SEMANTIC,
supportedVersions: [agentcore.MCPProtocolVersion.MCP_2025_03_26],
}),
authorizerConfiguration: agentcore.GatewayAuthorizer.usingCustomJwt({
discoveryUrl: "https://auth.example.com/.well-known/openid-configuration",
allowedAudience: ["my-app"],
allowedClients: ["my-client-id"],
}),
kmsKey: encryptionKey,
exceptionLevel: agentcore.GatewayExceptionLevel.DEBUG,
});
Members
| Name | Description |
|---|---|
| MCP_2025_06_18 | The latest version of the MCP protocol. |
| MCP_2025_03_26 | MCP version 2025-03-26. |
MCP_2025_06_18
The latest version of the MCP protocol.
MCP_2025_03_26
MCP version 2025-03-26.

.NET
Go
Java
Python
TypeScript (