The continuous cropping can restrict the large scale and intensive cultivation of muskmelon, and the use of Trichoderma preparation to alleviate the negative effects is an effective mean. Although the impact on rhizosphere soil microbial communities and metabolites after applying Trichoderma are still unclear. In this study, we applied the fermentation broth of Trichoderma viride T23 to muskmelon under continuous cropping, collected rhizosphere soil samples at 60 days after transplantation, and investigated the changes in the microbial communities and metabolites of muskmelon by using high−throughput sequencing and metabolomic analysis, respectively. The results showed that T. viride T23 could effectively reduce the disease index of muskmelon wilt (65.86 to 18) and significantly increase the soil pH value (6.06 to 6.40). Trichoderma viride T23 induced drastic shifts in the richness, structure, and composition of rhizosphere microbial communities, and Proteobacteria, Bacteroidetes, and Actinobacteria were the dominant bacterial phyla. Bioactive substances such as scopoletin, erythronic acid, and palmitic acid were significantly upregulated in the rhizosphere soil, which enhanced soil activity. Overall, T. viride T23 resolves the continuous cropping limitation in muskmelon by improving soil physicochemical properties, elevating the biomass and diversity of soil microbial communities, and stimulating the production of soil active substances.