It was rather easy for me to get MacCready's perk. Although meaningless because I never use VATS. He likes violence for example. Immediately after ending his med quest I had the perk. It was not so easy to get him into my bed, Cait was more willing here for example. Anyway, from here you can have hints what companions like or not: https://steamcommunity.com/sharedfiles/filedetails/?id=553055452