That leaves two possibilities: Drill pilot holes in MDF and use regular Wooden screws, or lower your work time and use self-tapping MDF screws.
The big selection of heads indicates that there is generally an acceptable https://types.blog/types-of-screw-heads/