The Red Sox have agreed to terms on a two-year, $9.5MM contract with right-hander Edward Mujica, according to Jeff Passan of Yahoo Sports. Mujica will take a physical today, according to Passan.

Mujica, 29, possesses some of the best command of any pitcher in the Majors. He issued just five walks in 64 2/3 innings this season to go along with 46 strikeouts and a 2.78 ERA. Mujica entered the season buried on St. Louis' bullpen depth chart but ascended to the role of closer. Jason Motte underwent Tommy John surgery, Mitchell Boggs flopped and the Cardinals elected to deploy rookie Trevor Rosenthal in a setup role. The end result was Mujica notching 37 saves for the Redbirds, though he wilted down the stretch and was a complete non-factor in the playoffs.