If a writer wants to use e.g. in a sentence, then by convention the MLA would place it only within parenthetical text and before the examples it points to:

Helen recently bought a house, and she needed to replace many appliances (e.g., the washing machine, the dryer, and the dishwasher).