McpServerTargetConfiguration
- class aws_cdk.aws_bedrockagentcore.McpServerTargetConfiguration(endpoint)
Bases:
McpTargetConfigurationConfiguration 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.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore mcp_server_target_configuration = bedrockagentcore.McpServerTargetConfiguration("endpoint")
- Parameters:
endpoint (
str)
Methods
- bind(_scope, _gateway)
Binds this configuration to a construct scope No additional permissions are needed for MCP server targets.
- Parameters:
- Return type:
Attributes
- endpoint
The HTTPS endpoint URL of the MCP server.
- target_type
The target type.
Static Methods
- classmethod create(endpoint)
Create an MCP server target configuration.
- Parameters:
endpoint (
str) – The HTTPS endpoint URL of the MCP server.- Return type:
- Returns:
A new McpServerTargetConfiguration instance