From the 2002 General Instruction of the Roman Missal (GIRM) approved for the USA, which can be accessed from
romanrite.com/girm.html :
" 106. It is appropriate, at least in cathedrals and in larger churches, to have some competent minister, that is to say a master of ceremonies, to oversee the proper planning of sacred actions and their being carried out by the sacred ministers and the lay faithful with decorum, order, and devotion."
The “Ceremonial of Bishops” is another liturigcal book with more information on the Master of Ceremonies in n. 34-36. Some extracts:
“The master of ceremonies should be well-versed in the history and nature of the liturgy and in its laws and precepts. But equally he should be well-versed in pastoral science, so that he knows how to plan liturgical celebrations in a way that encourages fruitful participation by the people and enhances the beauty of the rites.”
“35. … during the celebration he should exercise the greatest discretion: he is not to speak more than is necessary, nor replace the deacons or assistants at the side of the celebrant.”
(Ceremonial of Bishops, Liturgical Press, 1989, ISBN 0-8146-1818-9, page 26.)
Generally the liturgical laws are in the liturgical books, such as the Roman Missal and Ceremonial of Bishops. But the instructions are not as specific as, for example, when to turn the pages of the book.