Skip to main content

McpRouteScope

Type Alias McpRouteScope 

Source
pub type McpRouteScope = GatewayRouteScope;
Expand description

MCP route filtering supplied by the product composition layer.

Aliased Type§

pub struct McpRouteScope {
    pub upstreams: Vec<String>,
    pub services: Vec<String>,
    pub expose_code_mode: bool,
}

Fields§

§upstreams: Vec<String>

Allowed upstream identifiers.

§services: Vec<String>

Allowed service identifiers.

§expose_code_mode: bool

Whether the code-mode surface is exposed to this route.