M12 connectors are probably a reasonable choice for external connections, they're quite common for sensors. Just be aware that there are a bunch of different key types, so you have to match the mating gender, shell gender, pin count, and key type to get connectors that will mate. Some keys are sorta-standardized for certain applications, but I think the only application where that's really strict is for the connectors designed for ethernet. TE makes some field-installable M12 plugs with screw terminals that are surprisingly cheap and great for making test harnesses.
For connections that will be inside of a control cabinet or other enclosure, spring- or screw-terminals are ubiquitous in industry.
Everything else depends a lot on the intended application, which will inform how robust it needs to be, but you should probably plan for reverse polarity protection on the power inputs and overcurrent/short circuit protection on the MOS outputs at a minimum.