Additionally, the mediation analysis revealed that CSF 3-hydroxyoctanoate levels mediate the causal effect of SCP2 on delirium. Here, SCP2 is linked to delirium.