I am not 100% sure what you want to ask? Is your girlfriend a Costa Rician girl? This is how I understand your request! A passport is then to be issued by your country there. (Costa Rica). Once she holds a passport you need to check whether she needs a Visa for Mauritius. You might need this as well depending on your nationality.
Maybe you should specify your question a bit so that we can understand you better.