Madonna — who hasn’t exactly been the Catholic Church’s favorite person over the years — is set to perform at Monday night’s Catholic fashion-themed Met Gala.

The starry gala, which takes thematic inspiration from the Metropolitan Museum’s new exhibit “Heavenly Bodies: Fashion and the Catholic Imagination,” should be racy enough to made Cardinal Dolan — who is scheduled to attend — blush. Among the items on display are a leather bondage gimp mask covered in crosses that is sure to cause controversy, a hijab-style veil also covered in crosses and a red gown inspired by what cardinals wear with a very deep V-neck that leaves a model’s breasts mostly exposed.

Dolan, meanwhile, plans to go traditional in the cassock that “he would wear to any formal evening dinner,” Archdiocese of New York spokesman Joe Zwilling previously told The Post.

The exhibit’s religious items — including a papal tiara set with 18,000 diamonds — and its secular fashion pieces from top designers will be housed in separate exhibit spaces.

Madonna, 59, caused an uproar with the church when she released her “Like a Virgin” music video in 1989 — which contained, among other controversial imagery, the Material Girl kissing a saint. She also invited the pope to a 2006 tour stop in Rome, where she was mock crucified.