title mc_custom_code: mc_custom_code: --8<-- "config_section.md" Valid in machine config files YES ✅ mode config files NO 🚫 The mc_custom_code: section of your config is a list where you register your custom code classes for MC. Related How To guides MPF developer documentation.