interface McpConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.McpConfiguration |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#McpConfiguration |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.McpConfiguration |
Python | aws_cdk.aws_bedrock_agentcore_alpha.McpConfiguration |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป McpConfiguration |
MCP protocol configuration The configuration for the Model Context Protocol (MCP).
This protocol enables communication between Amazon Bedrock Agent and external tools.
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 mcpConfiguration: bedrock_agentcore_alpha.McpConfiguration = {
instructions: 'instructions',
searchType: bedrock_agentcore_alpha.McpGatewaySearchType.SEMANTIC,
supportedVersions: [bedrock_agentcore_alpha.MCPProtocolVersion.MCP_2025_06_18],
};
Properties
| Name | Type | Description |
|---|---|---|
| instructions? | string | The instructions for using the Model Context Protocol gateway. |
| search | Mcp | The search type for the Model Context Protocol gateway. |
| supported | MCPProtocol[] | The supported versions of the Model Context Protocol. |
instructions?
Type:
string
(optional, default: No instructions provided)
The instructions for using the Model Context Protocol gateway.
These instructions provide guidance on how to interact with the gateway.
searchType?
Type:
Mcp
(optional, default: No search type specified)
The search type for the Model Context Protocol gateway.
This field specifies how the gateway handles search operations.
supportedVersions?
Type:
MCPProtocol[]
(optional, default: No specific versions specified)
The supported versions of the Model Context Protocol.
This field specifies which versions of the protocol the gateway can use.

.NET
Go
Java
Python
TypeScript (