They are legal. Colt is even making a special Kali friendly version. I think the only thing you have to worry about is if your specific gun is on on the ban list, and I doubt any M&P15s are. You can't use any mag with a >10 round capacity however.
Colt SP 6920CA M4 16" CA Legal at G&R Tactical