Even as a child I thought McCoy was a racist prick.
"I think the surface quarreling [between Spock and McCoy] is the fun of testing each other’s ideas. Very often, people who are very deeply affectionate with each other have a surface fight going all the time. I have dear friends who I would never in a thousand years refer to in any way other than ‘you ugly bastard".- Gene Roddenberry (1975)
Although it is true that McCoy is a popular character and your post is in the right thread. You are unfortunately not alone in this misinterpretation of the character.