Skip to main content

in_container

Function in_container 

Source
pub(crate) fn in_container() -> bool
Expand description

Whether this process runs in a container agent’s container, by the hint srv puts in its environment. Only a hint for this client (srv never reads it): it makes the MCP skip signing material it holds none of, and srv attributes the request by the container’s token.