McpServerTargetConfiguration
- class aws_cdk.aws_bedrock_agentcore_alpha.McpServerTargetConfiguration(endpoint)
Bases:
McpTargetConfiguration(experimental) 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.
- 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_server_target_configuration = bedrock_agentcore_alpha.McpServerTargetConfiguration("endpoint")
- Parameters:
endpoint (
str)- Stability:
experimental
Methods
- bind(_scope, _gateway)
(experimental) Binds this configuration to a construct scope No additional permissions are needed for MCP server targets.
- Parameters:
- Stability:
experimental
- Return type:
Attributes
- endpoint
(experimental) The HTTPS endpoint URL of the MCP server.
- Stability:
experimental
- target_type
(experimental) The target type.
- Stability:
experimental
Static Methods
- classmethod create(endpoint)
(experimental) 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:
experimental