McpProtocolConfiguration

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

Bases: object

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

Deprecated:

Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.

Stability:

deprecated

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]) – (deprecated) 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]) – (deprecated) 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]]) – (deprecated) 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:

deprecated

Attributes

instructions

(deprecated) Instructions for using the MCP gateway.

Stability:

deprecated

protocol_type

(deprecated) The protocol type.

Stability:

deprecated

search_type

(deprecated) The search type for the MCP gateway.

Stability:

deprecated

supported_versions

(deprecated) The supported MCP protocol versions.

Stability:

deprecated