In the calculation of the ideal magnetohydrodynamic free-boundary stability of magnetoplasma equilibria, the integration of the perturbed magnetic energy in the vacuum region that can exist between the plasma edge and nearby conducting shells is extended to axisymmetric configurations composed in part by closed and in part by open field lines. Examples of such equilibria are flux-core-spheromaks and spherical tori with a plasma central column, where a magnetic separatrix divides a spherical torus—with closed field lines—from a central screw pinch discharge—with open field lines that end on the sustaining electrodes. These configurations pose two problems: their plasma-vacuum interface is composed of multiple flux surfaces (i.e., they enclose different values of toroidal and poloidal flux) and their plasma extends up to the symmetry axis. A Green’s function method based on two-dimensional finite elements is used to solve both problems, and an application to the experimental results of the Tokyo University Spherical Torus No. 3 flux-core-spheromak experiment [N. Amemiya, A. Morita, and M. Katsurai, J. Phys. Soc. Jpn. 63, 1552 (1993)] is illustrated.