This study provides new insights into the relationship between uterine microbiome and metabolites in bovine endometritis, potentially leading to novel strategies for treating bovine endometritis. Furthermore, tenacissoside G exhibits therapeutic effects against endometritis induced by F. necrophorum, and could serve as a potential alternative to antimicrobials for treating endometritis. Video Abstract.