Our study emphasizes the significance of AGP and HDL diameter in mediating the relationship between MDD and CVDs, highlighting the shared metabolic pathways. Here, ATP5MK is linked to major depressive disorder.