MPLv2 is file-based copyleft, and there are no restrictions on including it in a commercial work provided that changes to MPLv2-licensed files are accessible per the terms.
Indeed it’s something of a spiritual successor to CDDL which was designed precisely for that purpose (although reliable sources also say it was designed to be GPL-incompatible, so that is literally a he-said/she-said case).