... and for supply voltages greater than the MCU's Vcc, you'll also need a level shifter. e.g. with a 12V supply, you'll need to take the gate between +12V for Off and at least 2x the Vgs threshold voltage negative of that for On. As the supply voltage is significantly less than the max Vgs rating, you can pull it all the way down to 0V, so a simple discrete small signal N-MOSFET will do for the level shifter if you aren't PWMing the load at a high frequency. It adds another stage of inversion so you are back to logic high for On. N.B. The load turn-off time is then determined by how fast the gate pullup resistor can discharge the gate - you have to tradeoff fast turnoff v wasted power when on.
With higher supply voltages, pulling the gate of a high side MOSFET all the way down to 0V could exceed its max Vgs rating causing gate oxide breakdown so your level shifter would need to be considerably more complex to limit or clamp the Vgs applied to the MOSFET.