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: ListingMode | 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

The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when 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.