The MMR is a live vaccine, so immune compromised people cannot get vaccinated.
Indeed. The reason public health agencies (e.g. the CDC) recommend the widest vaccine coverage possible is to protect the people who cannot be vaccinated. Their best protection is for the chains of transmission to break before they are exposed. Measles is so highly contagious that over 90% vaccine coverage is needed to prevent on-going transmission.