This paper presents a novel station manager algorithm for grid-connected PV-EV charging stations, designed to address key challenges in current systems. Existing charging stations often encounter issues such as unstable PV power generation and dependence on grid stability, which can interrupt the EV charging process during grid faults. Additionally, PV arrays are typically designed to extract maximum power, leading to over-current or over-voltage situations that compromise the safety of the charging infrastructure and the EV. Furthermore, these systems often require multiple power electronics converters, increasing complexity and costs while reducing overall system efficiency. To overcome these limitations, the proposed algorithm dynamically switches between on-grid and off-grid modes based on real-time weather conditions, grid availability, and the state of charge of the battery electric vehicle (BEV). This approach maximizes PV power utilization, minimizes grid dependency, and enhances BEV charging performance while prioritizing EV safety and ensuring an uninterrupted power supply. It also provides flexibility in BEV power sizing, optimizing the use of power electronics converters to reduce costs and complexity. Two distinct operating modes, adaptive charging and fast charging, are introduced, each integrated with dedicated model predictive controllers (MPC) to achieve specific control objectives. Semi-experimental simulations using a process-in-the-loop (PIL) test approach with the embedded board eZdsp TMS320F28335 demonstrate that the station manager significantly improves performance over conventional methods under various irradiance levels. Moreover, numerical results demonstrate the superiority of the proposed MPC-based approach over traditional controllers such as Proportional-Integral-Derivative (PID) and Sliding Mode Control (SMC) in different charging modes. For instance, the MPC controller achieved an Integral Absolute Error (IAE) of 11.45%, lower than that of the PID controller, and 4.3% lower than the SMC controller.