McpServerTargetConfiguration
- class aws_cdk.aws_bedrock_agentcore_alpha.McpServerTargetConfiguration(endpoint)
Bases:
McpTargetConfiguration(deprecated) Configuration for MCP Server-based targets.
MCP (Model Context Protocol) servers provide tools, data access, and custom functions for AI agents. When you configure an MCP server as a gateway target, the gateway automatically discovers and indexes available tools through synchronization.
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- 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_server_target_configuration = bedrock_agentcore_alpha.McpServerTargetConfiguration("endpoint")
- Parameters:
endpoint (
str)- Stability:
deprecated
Methods
- bind(_scope, _gateway)
(deprecated) Binds this configuration to a construct scope No additional permissions are needed for MCP server targets.
- Parameters:
- Stability:
deprecated
- Return type:
Attributes
- endpoint
(deprecated) The HTTPS endpoint URL of the MCP server.
- Stability:
deprecated
- target_type
(deprecated) The target type.
- Stability:
deprecated
Static Methods
- classmethod create(endpoint)
(deprecated) Create an MCP server target configuration.
- Parameters:
endpoint (
str) – The HTTPS endpoint URL of the MCP server.- Return type:
- Returns:
A new McpServerTargetConfiguration instance
- Stability:
deprecated