MuseScore -- Index -- Tuplets

To create a triplet first create a note with a duration of the whole triplet. Then select the note and press <Ctrl+3> to change it to a triplet. Similarly a <Ctrl+5> changes to note to a quintuplet.
First select a note:
<Ctrl+3> creates a triplet:
which can be further edited