I have one of those game system cleaning kits that has several different cleaning 'wands' (for lack of better term). They're plastic, the same thickness as the cartridge connector. The Genesis one fits the SMS slot.

Or, you can get a can of contact cleaner from an electronics store. Radio Shack sells one with a plastic-bristled brush on the end. It's about $10, but the can I have has lasted for years.