Here, it is shown that MG is an anti-pyroptotic phenolic metabolite that targets NLRP3, NLRC4, and AIM2 inflammasomes, subsequently reducing caspase-1 and IL-1β protein levels in murine primary cortical microglia and the brain, as its beneficial effect to counteract anxiety and depression is also demonstrated. The gene discussed is AIM2; the disease is depressive disorder.