Currently, coastal sandy soils face issues such as insufficient foundation strength, which has become one of the crucial factors constraining urban development. Geotechnical engineering, as a traditional discipline, breaks down disciplinary barriers, promotes interdisciplinary integration, and realizes the green ecological and low-carbon development of geotechnical engineering, which is highly important. Based on the “dual carbon” concept advocating a green and environmentally friendly lifestyle, Bacillus spores were utilized to induce calcium carbonate precipitation technology (MICP) to solidify coastal sandy soils, leveraging the rough-surface and low-permeability characteristics of silty soil. The mechanical-strength variations in the samples were explored through experiments, such as calcium carbonate generation rate tests, non-consolidated undrained triaxial shear tests, and scanning electron microscopy (SEM) experiments, to investigate the MICP solidification mechanism. The results indicate that by incorporating silty soil into sandy soil for MICP solidification, the calcium carbonate generation rates of the samples were significantly increased. With the increase in the silty-soil content, the enhancement range was 0.58–3.62%, with the maximum calcium carbonate generation rate occurring at a 5% content level. As the silty-soil content gradually increased from 1% to 5%, the peak deviator stress increased by 4.2–43.2%, enhancing the sample shear strength. Furthermore, the relationship between the internal-friction angle, cohesion, and shear strength further validates the enhancement of the shear strength. Silty soil plays roles in adsorption and physical filling during the MICP solidification process, reducing the inter-particle pores in sandy soil, increasing the compactness, providing adsorption sites, and enhancing the calcium carbonate generation rate, thereby improving the shear strength. The research findings can provide guidance for reinforcing poor coastal sandy-soil foundations in various regions.