The masking I use works fine on mdf.
@thesavvysanctuary’s product is probably fine too, but it’s also significantly more expensive per square foot. (6"x30 feet = 15 square feet, or about $0.86/square foot, as opposed to 12" x 300 feet for around $40, about $0.13/square foot, about a sixth of the cost)
Here is a link to the discussion about masking and price: