Can an A/C compressor be repaired or must it be replaced? on 1992 Volkswagen Jetta

The A/C works, but it makes a kind of rattling noise - not too loud, but still noticeable. I believe this is a fairly recent noise (but I don't often drive this car - it's my wife's car).

Asked by for the 1992 Volkswagen Jetta