This project focuses on safety-critical control for quadruped robots navigating in constrained environments. We integrate Control Barrier Functions into a model predictive control framework to enforce collision-avoidance constraints in real time. This framework enables safe traversal of narrow openings that would be challenging for standard MPC methods.