Results and discussionThe results showed that the bacterial species richness index increased, while the fungi species richness index decreased in M. incognita-infected MiMIF-2 transgenic A. thaliana plants. The relative abundance of genera such as Clitopilus, Komagataeibacter, Lactobacillus, Prevotella, Moritella, Vibrio, Escherichia-Shigella, and Pseudomonas was reduced in MiMIF-2 transgenic A. thaliana plants compared to wild type, but was significantly increased after inoculation with M. incognita. The Cluster of Orthologous Genes (COG) function classification analysis revealed a decrease in the relative abundance of defense mechanisms, secondary metabolite biosynthesis, transport, and nematode infection catabolism-related functions in MiMIF-2 lines compared to the wild type. These differences may be the reason for the increased susceptibility of MiMIF-2 transgenic A. thaliana to nematode infection. Our results provide a new insight into RKN effector proteins and their association with the microbial community, host, and plant pathogens, which will lead to the exploration of new innovative ideas for future biological control of RKNs.