Skip to content

Bedrock AgentCore Control  >  Structures  >  McpServerTargetConfiguration

McpServerTargetConfiguration

Structure Class

McpServerTargetConfiguration dataclass

The target configuration for the MCP server.

Attributes

endpoint instance-attribute
endpoint: str

The endpoint for the MCP server target configuration.

listing_mode class-attribute instance-attribute
listing_mode: str | None = None

The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.

mcp_tool_schema class-attribute instance-attribute
mcp_tool_schema: McpToolSchemaConfiguration | None = None

A static tool list for the MCP server target. It is supported for all credential providers. Dynamic tool discovery/synchronization will be disabled when a target is configured with mcpToolSchema.

resource_priority class-attribute instance-attribute
resource_priority: int | None = None

Priority for resolving MCP server targets with shared resource URIs. Lower values take precedence. Defaults to 1000 when not set.