President Trump is mulling whether to invite Kanye West — who tweeted that the commander-in-chief was his “dragon energy brother” this week — to the White House for a visit.

Trump has been consulting with associates and aides about whether he should invite the rapper for dinner and a photo op, The Daily Beast reported, citing a pair of sources.

Trump in the past has issued similar invites to a marginal crew of one-time celebs including Ted Nugent, Kid Rock and Sarah Palin.

West has taken to Twitter recently to praise the president.

“You don’t have to agree with trump but the mob can’t make me not love him. We are both dragon energy. He is my brother. I love everyone. I don’t agree with everything anyone does. That’s what makes us individuals. And we have the right to independent thought,” he tweeted, sparking a firestorm of criticism.

Singer John Legend chastised him on social media for praising a president who does not have the support of many African-Americans for his inflammatory racial rhetoric.

But Trump basked in Yeezy’s praise, tweeting on Wednesday: “Thank you Kanye, very cool!”

He returned to Twitter Friday with another post about West.

“Kanye West has performed a great service to the Black Community – Big things are happening and eyes are being opened for the first time in Decades – Legacy Stuff! Thank you also to Chance and Dr. Darrell Scott, they really get it (lowest Black & Hispanic unemployment in history),” the commander-in-chief wrote, referring to the rapper’s comments and to a pastor who served on Trump’s transition team.

But Chance changed course on Friday — and slammed the president as someone “who has made a career out of hatred.”

He wrote that he defended West because he is family, and was only trying to protect him from critics of his pro-Trump tweets.

“I’d never support anyone who has made a career out of hatred, racism and discrimination,” he said about Trump.

“I’d never support someone who’d talk about Chicago as if it’s hell on earth and then take steps to make life harder here for the most disenfranchised among us,” he wrote.