To be able to permanently dock your yacht in Mexico you need to obtain a Temporary Import Permit (TIP).