I don't believe MDF will stain but it paints up real well.
I seal the edges with shellac. (Ornaments I just dunk) The edges are very porous. Depending on the piece I will sand slightly.
I then use craft paint or I spay with the paint in those shaker cans.
Don
Please post pictures as it will help with recommendations.