In summary, the present study demonstrates that metformin improves hyperglycemia- and obesity-associated endothelial dysfunction by inhibiting YAP–JNK pathway-related inflammation via activating AMPK. This evidence concerns the gene MAPK8 and obesity due to melanocortin 4 receptor deficiency.