Effective thermal management is necessary for electronic devices to prevent overheating and guarantee optimal performance. The development of cutting-edge cooling methods may be aided by research into Triple Component Magneto-Convection (TCMC) in a superposed porous and fluid system with heat source/sink effects. It is feasible to improve the thermal management of electronic parts and systems by managing convective heat transfer via the optimization of heat source/sink spot and design. An investigation into the issue of TCMC in a horizontally infinite composite layer is presented in this work. The investigation takes into account of a consistent heat source or sinks in both layers as well as a uniform vertical magnetic field. The upper enclosure of the fluid layer is either free and adiabatic or isothermal, while the bottom enclosure of the porous layer is rigid and adiabatic. By employing normal mode analysis, the resulting system of ordinary differential equations is solved in closed form to obtain the eigenvalue, specifically the thermal Marangoni number (tMn). The investigation focuses on two different combinations of thermal boundaries: (i) adiabatic–adiabatic and (ii) adiabatic–isothermal. During the inquiry, the influence of major elements on TCMC in connection to the depth ratio is fully investigated. This work aims at understanding the stability of the superposed porous-fluid system using adiabatic and isothermal boundaries in the presence of a heat source or sink.