Finish first in the Star Cup. That is the whole requirement.
The Star Cup itself unlocks by placing first, second or third in every race of both the Flower Cup and the Mushroom Cup. Once the Star Cup is available and won, the 100cc Special Cup opens up — and clearing that in turn leads on to the 150cc and Mirror modes.