This document proposes using a fuel cell system as a shunt compensator to enhance voltage stability in a power distribution system. It models a proton exchange membrane fuel cell connected to a boost converter and three-phase inverter to inject power into the grid. Simulation results in MATLAB Simulink show that connecting the fuel cell compensator maintains voltage levels closer to acceptable ranges when additional loads are added, improving voltage stability, compared to the system without the compensator. The fuel cell system with power electronic interfaces provides flexible distributed generation and reactive power support to enhance power quality and reliability.