This paper presents a control technique for a singlephase modular multilevel converter (MMC) with photovoltaics (PV) integration and having a grid connection. For a PV connected to the grid, MMC is an interfacing unit that acts as a DC to AC converter. This paper proposes a method to solve the problem of controlling the output of the single-phase MMC by designing a controller to get the desired output power. Simulation of the proposed controller with PV integrated system has been performed on MATLAB/Simulink. The simulation results suggest that the proposed control method is a feasible solution to control MMC output in PV integrated grid-connected MMC system.