You're probably looking for NodeMC CORE.
This component handles communication between different nodes, as well as keeping each node healthy and unburdened with load.
yarnNODEMC_API="yourapiendpoint"NODEMC_SCHEDULER_TOKEN="apitoken"nodeindex.js... That's it! The scheduler will register itself with the server and delegate tasks on this machine.