Ted Cruz said Thursday he’s “eager” to work for Donald Trump — just months after the Texas senator was humiliated by the president-elect during their brutal GOP primary fight.

Cruz’s name has been floated as a possible attorney general in the new administration, and he appeared more than willing to consider that gig.

“I’m eager to work with the new president in whatever capacity I can have the great impact, defending the principles that I was elected to defend,” Cruz told “Fox & Friends.” “Defending the principles of freedom, defending the Constitution.”

Cruz said the onus is on Republicans to lead, now that the GOP controls the White House and both chambers of Congress.

“We’ve got to deliver,” he said. “It is time to put up or shut up.”

Cruz’s eagerness to work with Trump belies the acrimonious relationship between the two during the GOP presidential primary.

Trump famously branded Cruz “Lyin’ Ted” throughout the race.

And he got even more personal, linking Cruz’s dad to JFK’s assassination, and mocking wife Heidi Cruz’s looks.