That leaves two possibilities: Drill pilot holes in MDF and use typical wood screws, or decrease your work time and use self-tapping MDF screws.
The threads of a screw are definitely the ridges that spiral up the shank https://types.blog/types-of-screw-heads/