Check Engine light
It (computer) has to scanned for codes, but I would check oil and all fluid levels before driving and get it scanned at auto parts places.
Air flow meter needs to be checked, disconnect battery for 15 mins , this can reset ecu . You will need a simple reset tool , cheap enough to buy , 20$
Looking for a Used M-Class in your area?
CarGurus has 476 nationwide M-Class listings starting at $3,500.
Search Mercedes-Benz M-Class Questions
Mercedes-Benz M-Class Experts