The mechanism? Centrioles!
Cilia are anchored to the apical surface of MCCs via 150-200 centrioles, also known as basal bodies. These structures are generated close to the nucleus and then migrate apically, where they dock at the cell surface and subsequently give rise to cilia.