The article proposes an optimization scheme that integrates the path search algorithm with vehicle motion parameters. By combining Model Predictive Control (MPC) and parameter tuning strategies, the robustness of tracking control is enhanced. The effectiveness of the algorithm under various parking conditions is verified through simulation and real vehicle experiments, significantly optimizing trajectory smoothness and real-time performance.