Btw, I think HP's and Mrs. Nop's suggestions are very good ones for starters. Humor and not fading into the background when she can clearly be heard speaking about you in your presence. Yes... start there.
AND... MIL may continue to do these things... which you can ignore, if you and your W are in agreement privately. If your W begins to side with your MIL over you, then you have a different boundary issue with your W.