Current trends in the development of materials for optics and laser technology were analyzed. The prospects of creating passively Q-switched Yb-Er glass lasers with eye-safe emission wavelengths based on glass-ceramic magnesium aluminosilicate materials for compact pulsed lasers were established. The main types of transparent glass-ceramic materials were analyzed and the main criteria for the synthesis of transparent nanostructured glass-ceramic materials with a crystalline phase content of approximately 70–80 vol.% were substantiated. Compositions of magnesium aluminosilicate glasses were synthesized and the differences of compositions with different types of optical transparency were determined, taking into account their thermal prehistory. The mechanism of phase formation and the differences of MgO, Al2O3, MgO/Al2O3 and RO2 in their composition, which determine the character of crystallization, optical transparency and density under the conditions of heat treatment with a duration of 0.5 and 6 hours, were studied. The developed magnesium aluminosilicate glasses can be used as a basis for the creation of protective and functional high-strength nanostructured glass-ceramic materials based on spinel or cordierite with adjustable optical transparency for optics and laser technology.