MCPA (2-methyl-4-chlorophenoxyacetic acid) contamination is an emerging problem, especially in water reservoirs. The early removal of MCPA residues from soil can prevent its spread to untreated areas. It has been found that the growth of cucurbits and the addition of selected plant secondary metabolites (PSMs) can stimulate MCPA removal from soil. However, the effect of these treatments on soil microbial activity remains poorly studied. Hence, the aim of this research was to evaluate the influence of zucchini (C. pepo cv Atena Polka) and its characteristic PSM: syringic acid (SA) on the functional diversity of soil microorganisms in MCPA-contaminated soil using Biolog® EcoPlates™. It also examines soil physicochemical properties and the growth parameters of zucchini.Microbial activity was enhanced by both zucchini cultivation and SA. All unplanted variants showed significantly lower microbial activity (average well color development, AWCD, ranging from 0.35 to 0.51) than the planted ones (AWCD ranging from 0.77 to 1.16). SA also stimulated microbial activity in the soil: a positive effect was observed from the beginning of the experiment in the unplanted variants, but over a longer time span in the planted variants. SA ameliorated the toxic effect of MCPA on the studied plants, especially in terms of photosynthetic pigment production: the MCPA+SA group demonstrated significantly increased chlorophyll content (401 ± 4.83 μg/g), compared to the MCPA group without SA (338 ± 50.1 μg/g).Our findings demonstrated that zucchini and the amendment of soils with SA, the characteristic PSM of cucurbits, can shape functional diversity in MCPA-contaminated soil. The changes of soil properties caused by the application of both compounds can trigger changes in functional diversity. Hence, both SA and MCPA exert indirect and direct effects on soil microbial activity.