We present a GPU-accelerated trajectory optimization framework for scalable, real-time multi-agent motion planning in both 2D and 3D environments. The proposed method refines nominal trajectories using a model predictive control (MPC) approach, incorporating collision avoidance with obstacles and neighboring agents. By formulating the problem to exploit parallel computation, the optimizer efficiently handles tens of agents simultaneously. The algorithm supports dynamic environments by allowing local updates in response to unforeseen perturbations. We validate our method through a diverse set of simulated scenarios, demonstrating smooth and feasible trajectories with low computational overhead. Comparative analysis in 2D scenarios against the RVO2 baseline highlights improvements in smoothness and path quality.