If you take a look at this question that was asked a couple of years back, there seems to be no issue with using it for commercial use
Maybe @MakeCode could help me with my query - jus to clarify, I’m wondering whether MakeCode can be used as a platform to teach coding, and the tutor profits from teaching off of MakeCode? After all, I won’t be selling any MakeCode products, rather I’m using MakeCode as a tool.