2006 cls, bet the inlet manifolds are absolutely coked up , swirl flap link arms loose, the heat exchange coked up also, oil cooler seals are probably the originals as well.
Pull the egr clean it up, pull the back pressure give that a clean or replace, do the 02 sensor on the exhaust, check that that bearing is ok, may not have been replaced just tightened up for the mot, fronts are cheap and easy to replace.
If I were closer i could give you a hand ( arm deep in sockets and spanners ; ) )
once again, get it on a star so all the merc codes are read properly, have them, erased and then see what comes back, the star will tell you much more.
take it from there, I still have all my part codes here somewhere and theres loads of info on my thread where i did mine ( 2008 cls ) but there are many guys here that are willing to share advice etc to help you out. I know its a bit of a downer but if your going to keep it the help is here.
Beware.. if you do it my way.... you will replace, every seal, o'ring, nut, bolt, gasket, pipe, etc that comes off, that way everything is replaced with new and there is no issue but I am a bit wierd like that!
@W1ghty will tell you that!
Oh an i dont give in on an issue, I am like an old bloodhound when it comes to finding the fault