That leaves two options: Drill pilot holes in MDF and use typical wood screws, or minimize your work time and use self-tapping MDF screws.
In addition there are particular head models — including slotted hex, hex https://types.blog/types-of-screw-heads/