​Senate Majority Leader Mitch McConnell on Tuesday ​defended President Trump ​from accusations of racism after his “go back” ​to where you came from ​tweets about four minority Democrats.

“The president is not a racist,” McConnell told reporters at the Capitol. “And I think the tone of all of this is not good for the country. But it’s coming from all different ideological points of view. That’s the point – to single out any segment of this – I think is a mistake.”

The Kentucky Republican said the “vile accusations” have become “incredibly routine” and urged all sides to abide by a saying from former Supreme Court Justice Antonin Scalia.

​”He said, ‘I don’t attack people, ​I ​attack ideas.’ And I think that’s a good lesson for all of us. From the ​president, to the speaker, to freshman members of the House, all of us have a responsibility to elevate the public discourse. Our words do matter,” McConnell said.

“We all know politics is a contact sport. But it’s about time we lowered the temperature all across the board. All of us ought to contribute to a better level of discourse​,” he said. ​

Asked if he would consider it racist if somebody told his wife, Transportation Secretary Elaine Chao, who emigrated from Taiwan, to “go back” to where she came from, he championed the contributions of all immigrants.

“The ​secretary of ​transportation came here at age ​8, legally, not speaking a word of English and has realized the American dream,” ​he said. “And I think all of us think that this is a process of renewal that’s gone on in this country for a very long time and it is good for America.​

“As I said, the legal immigration has been a fulfilling of the American dream, the new people who come here have a lot of ambition, a lot of energy​.​ … And my wife’s a good example of that.”

“I’m obviously a big fan of legal immigration,” McConnell added.

His comments came as members of the House began debating whether to condemn the president for tweeting on Sunday that four liberal freshman congresswoman should “go back and help fix the totally broken and crime-infested places from which they came.” ​

T​he four Democrats — Reps. Alexandria Ocasio-Cortez, Rashida Tlaib, Ayanna Pressley and Ilhan Omar, known as “the Squad” — blasted Trump for “promoting the agenda of white nationalists.”