pub fn check_session(ctx: &Ctx, id_or_name: &str, parent_pid: i32) -> Result<()>
Refuses a clone that does not belong to the MCP session parent_pid.
parent_pid