Skip to main content

is_mcp_invocation

Function is_mcp_invocation 

Source
pub fn is_mcp_invocation<S: AsRef<OsStr>>(argv: &[S]) -> bool
Expand description

true when argv[1] is exactly "mcp", or argv carries no arguments beyond the binary name (the no-arguments-given default).