Actually I'm kinda on Trump's side with this one. He can claim credit for this. Without Trump we'd have a majority liberal court.
No, all we needed was a GOP president - a placeholder - who would do what he was told to do by McConnell. Thankfully - most likely because McConnell lavishly praised Trump's ego and assured him he'd have all the credit - Trump did what he was told.
Otherwise, getting three Supreme Court justices under Trump's term was all up to McConnell. First, he held feet to the fire and refused to allow Obama to replace Scalia, even though there would have been enough time to have had a full confirmation hearing on Garland. Second, he shepherded Kavanaugh through the shitstorm the democrats threw up, and managed to bludgeon the weakest GOP'ers into confirming him, when lesser people would have given in and found a middle-of-the-road compromise. Third, he did an about-face on his position viz-a-viz replacing Scalia (i.e., that his replacement should wait until after the 2016 election), and rammed Coney Barrett through in 2020, and again, he had to bludgeon the weakest GOP'ers into confirming her as well.
And as far as vetting the slate of potential nominees who were presented to Trump, that was done by the Federalist Society, in conjunction with McConnell.
Trump's role was limited to picking from the very limited slate presented to him by McConnell and the Federalist Society - who basically made sure that so long as Trump stayed within that slate, it really didn't matter whom he nominated - and then shutting up and letting McConnell get the nominee through.
So, we can give Trump credit for being a rubber stamp to McConnell, but then that's what is typically called damning with faint praise.