According to one embodiment, a power-module assembly includes a power-module stack having coolant chambers interleaved with power modules and supply and return manifold channels extending axially along the stack. An endcap has a major side defining recessed inlet and outlet manifold cavities aligned with the channels and inlet and outlet ports disposed on one or more minor sides that are perpendicular to the major side.