class McpProtocolConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.McpProtocolConfiguration |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#McpProtocolConfiguration |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.McpProtocolConfiguration |
Python | aws_cdk.aws_bedrock_agentcore_alpha.McpProtocolConfiguration |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป McpProtocolConfiguration |
Implements
IGateway
MCP (Model Context Protocol) configuration implementation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const mcpProtocolConfiguration = new bedrock_agentcore_alpha.McpProtocolConfiguration(/* all optional props */ {
instructions: 'instructions',
searchType: bedrock_agentcore_alpha.McpGatewaySearchType.SEMANTIC,
supportedVersions: [bedrock_agentcore_alpha.MCPProtocolVersion.MCP_2025_06_18],
});
Initializer
new McpProtocolConfiguration(props?: McpConfiguration)
Parameters
- props
McpConfiguration
Properties
| Name | Type | Description |
|---|---|---|
| protocol | string | The protocol type. |
| instructions? | string | Instructions for using the MCP gateway. |
| search | string | The search type for the MCP gateway. |
| supported | MCPProtocol[] | The supported MCP protocol versions. |
protocolType
Type:
string
The protocol type.
instructions?
Type:
string
(optional)
Instructions for using the MCP gateway.
searchType?
Type:
string
(optional)
The search type for the MCP gateway.
supportedVersions?
Type:
MCPProtocol[]
(optional)
The supported MCP protocol versions.

.NET
Go
Java
Python
TypeScript (