Exogenous microbial inoculation influences soil carbon and nitrogen dynamics during plant residue incorporation. However, how inoculation reshapes fungal–bacterial functional differentiation and regulates soil C and N transformation remains unclear. Here, we incorporated rice straw and mushroom residue into soil with three decomposers (Trichoderma spirale, Phanerochaete chrysosporium and Bacillus velezensis) and their pairwise combinations, and tracked microbial community structure and predicted functional potential. Microbial inoculation consistently increased soil organic carbon (SOC), while total nitrogen (TN) varied across treatments and time. Notably, Bacillus velezensis treatment showed the strongest SOC and TN responses. Amplicon sequencing showed persistent restructuring of fungal and bacterial communities. Exploratory PICRUSt2 predictions indicated that predicted fungal carbohydrate-degradation pathways were positively associated with SOC, whereas several predicted biosynthetic and energy-related pathways were negatively associated with SOC. In contrast, predicted bacterial carbohydrate biosynthesis and cell structure biosynthesis were negatively associated with SOC-R. More profoundly, resident Penicillium was a key fungal genus strongly associated with SOC variation, with copy numbers of Penicillium-associated genes encoding endoglucanases, cellobiohydrolases, and β-glucosidases all positively correlated with SOC. Collectively, these findings suggest that microbial inoculation-induced SOC changes were linked to shifts in resident microbial community composition and functional potential, providing a basis for microbiome-guided residue-return strategies.