Potty-mouthed flameout White House communications director Anthony Scaramucci spoke to NYC Jews about his inspiring pilgrimage to Israel — but still couldn’t resist laying into his nemesis Steve Bannon as a “messianic loser.”

For unfathomable reasons, the Mooch was invited to Rabbi Shmuley Boteach’s Hanukkah party to speak about his trip to Israel, just weeks after a tone-deaf Holocaust poll appeared in the Scaramucci Post. But the man who lasted a mere 10 days in the West Wing, before being fired over an obscenity-filled interview, once again went wildly off-script during his Sunday night sermon at the rabbi’s Upper West Side townhouse.

Of Bannon, he told the crowd, “He’s a loser. He’ll be a stalwart defender of Israel until he’s not. That’s how this guy operates. I’ve seen this guy operate. He was a stalwart defender of me until it became better for him not to be.” The Mooch added, “The problem with Bannon is he’s a messianic figure. It’s his way or the highway. He was dramatically and incredibly divisive in the White House . . . He was leaking on everybody . . . You don’t leak on the president if you’re the president’s senior adviser. So the guy’s a loser.”

And he didn’t even get to Bannon’s baneful backing of accused Alabama pedophile Roy Moore.

Mooch also described the “kill or be killed” atmosphere in the White House: “The first pill you take is the ‘anti-friendship’ pill. You can be my friend for 30 years, but I’m gonna stab your eyeball out with an ice pick if it gets me more power. The second pill you take is the ‘power is aphrodisiac’ pill. Students of history know that power corrupts and it corrupts absolutely.”

Naturally, he says he should not have been fired as President Trump’s mouthpiece, even though he had said of Bannon, “I’m not trying to suck my own c - - k.” And “Reince [Priebus, former chief of staff,] is a f - - king paranoid schizophrenic.”

The magniloquent Mooch joked to Boteach’s bunch that instead of showing him the door, chief of staff John Kelly should have “given me a bar of soap, told me to wash my mouth out and ‘let’s get back to work.’ What I said about those people . . . was basically true and everybody knew that.”