WASHINGTON — A bipartisan effort to fix Obama​C​are could get a vote in the Senate if President Trump makes clear he’ll sign the legislation, Senate Majority Leader Mitch McConnell said Sunday.

Trump has given mixed signals on whether he supports the new bill by Sens. Lamar Alexander (R-Tenn.) and Patty Murray (D-Wash.) to stabilize the insurance markets after ​he said he​ will​​​​ pull payments to low​-income Americans to ​reduce health care costs.

“I’m waiting to hear from President Trump what kind of health care bill he might sign,” McConnell told CNN’s “State of the Union.”

“If there’s a need for some kind of interim step here to stabilize the market, we need a bill the president will actually sign. And I’m not certain yet what the president is looking for here. But I’ll be happy to bring a bill to the floor, if I know President Trump would sign in.”

Trump commended the bipartisan effort one day as a “very good” short-term solution while later dismissing it as a “bailout” for insurance companies.

“I think he hasn’t made a final decision,” McConnell said of Trump’s stance.

The bipartisan legislation has 24 co-sponsors in the Senate and aims to prevent premium spikes in the individual insurance marketplace.

It’s viewed as an interim way to offer patients relief as Republicans have stumbled in their overall goal to repeal and replace Obama​C​are.

White House budget director Mick Mulvaney said Sunday ​that ​Trump would be willing to sign bipartisan legislation if he gets more in exchange ​— ​such as expanding association health plans, the ability to sell insurance across state lines and expanding health savings accounts.

“I think there’s actually a pretty good chance to get a deal,” Mulvaney told CBS’ “Face the Nation.” “It’s just Murray-Alexander in its current form probably isn’t far enough yet.”

In an interview with Fox Business Network’s Maria Bartiromo, Trump framed the Murray-Alexander legislation as a stopgap measure.

“This was going to be temporary [measure], prior to repeal and replace,” Trump said. “We’re going to repeal and replace Obama​C​are. And I think we actually have the votes.”

Trump has openly blamed McConnell for the failure to pass a repeal bill​ in the GOP-controlled Senate​, while McConnell has implied the president is a neophyte with unrealistic expectations.

But the two showed a united front ​last​ week.

Meanwhile, Stephen Bannon, the president’s self-described “wingman,” is mounting a fierce political campaign against McConnell by backing anti-establishment candidates.

McConnell dismissed Bannon’s efforts as “intraparty skirmishes” and blamed the insurgent element of the GOP for past losses.

“They’ve been out there for a number of years,” McConnell told “Fox News Sunday.” “They cost us five Senate seats in 2010 and 2012. We would have gotten the majority sooner but for the fact that they were able to nominate people who could not win in November.”

“To make policy, you have to win elections,” McConnell continued. “Some of these folks …​ ​are specialists in nominating people who lose. That isn’t going to help President Trump achieve his agenda.”