McpProtocolConfiguration

class aws_cdk.aws_bedrock_agentcore_alpha.McpProtocolConfiguration(*, instructions=None, search_type=None, supported_versions=None)

Bases: object

(experimental) MCP (Model Context Protocol) configuration implementation.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

mcp_protocol_configuration = bedrock_agentcore_alpha.McpProtocolConfiguration(
    instructions="instructions",
    search_type=bedrock_agentcore_alpha.McpGatewaySearchType.SEMANTIC,
    supported_versions=[bedrock_agentcore_alpha.MCPProtocolVersion.MCP_2025_06_18]
)
Parameters:
  • instructions (Optional[str]) – (experimental) The instructions for using the Model Context Protocol gateway. These instructions provide guidance on how to interact with the gateway. Default: - No instructions provided

  • search_type (Optional[McpGatewaySearchType]) – (experimental) The search type for the Model Context Protocol gateway. This field specifies how the gateway handles search operations. Default: - No search type specified

  • supported_versions (Optional[Sequence[MCPProtocolVersion]]) – (experimental) The supported versions of the Model Context Protocol. This field specifies which versions of the protocol the gateway can use. Default: - No specific versions specified

Stability:

experimental

Attributes

instructions

(experimental) Instructions for using the MCP gateway.

Stability:

experimental

protocol_type

(experimental) The protocol type.

Stability:

experimental

search_type

(experimental) The search type for the MCP gateway.

Stability:

experimental

supported_versions

(experimental) The supported MCP protocol versions.

Stability:

experimental