President Trump cast doubt on Mitch McConnell's future Thursday by hinting that the Senate majority leader may need to step down if he can't deliver on Trump's big legislative agenda.

"Well, I'll tell you what. If he doesn't get repeal and replace done, if he doesn't get taxes done, meaning cuts and reform, and if he doesn't get a very easy one to get done – infrastructure – if he doesn't get that done, then you should ask me that question," Trump told reporters at his golf club in Bedminster, N.J., when asked if McConnell should step down, according to a pool report.

The president has been in a public feud with McConnell that began earlier this week when the Senate majority leader blamed Trump for setting "excessive expectations" for healthcare legislation.

Trump criticized McConnell, R-Ky., repeatedly on Twitter, and placed the blame for the Senate's failure to repeal and replace Obamacare on the majority leader's shoulders.

On Thursday, Trump added that it was a "disgrace" that despite years of promises, Republicans failed to get a bill rolling back the 2010 healthcare law to his desk.

"I just want him to get repeal and replace done. I've been hearing repeal and replace now for seven years, but I've only been doing this for two years and I've really only been doing this for six months, but I've been running, so now it's almost two years and all I hear is ‘repeal and replace,'" Trump said. "And then I get there and I said, ‘Where's the bill? I want to sign it, first day.' And they don't have it."

"They should have had this last one done. They lost by one vote," Trump continued. "For a thing like that to happen is a disgrace and frankly it shouldn't have happened, that I can tell you."

A "skinny" repeal bill died in the Senate last month after three Republicans joined with Democrats in opposing the measure.

Republicans have since shifted their focus to tax reform, despite calls from House conservatives and the White House to the Senate to continue working on healthcare legislation.

Some, though, fear the feud between Trump and McConnell could hinder Republicans' efforts to reform the tax code.