This paper introduces a model predictive control (MPC) method designed for modular multilevel converters (MMCs) to facilitate the connection of renewable energy sources. The proposed method addresses voltage balancing issues in MMCs while improving output voltage quality with reduced switching frequency and total harmonic distortion. The study encompasses system design, control requirements, and performance evaluations using simulations in MATLAB/Simulink.