It seems very unlikely Heinlein thought McCarthy went too far until most Americans did. McCarthyism essentially died when McCarthy got censured by the Senate in 1954. Heinlein wrote Starship Troopers in 1959, and it’s, if anything, to the right of McCarthy.