McKirahan, a Rule 5 acquisition from the Cubs, was one of nine pitchers for Miami. They combined on a six-hitter with one walk.
Slugger Giancarlo Stanton sat out, but the team went mostly with the lineup expected to open the season. Newcomer Martin Prado had a single and a walk, while most of the starters had only one plate appearance.
Marlins newcomer Dan Haren will start Thursday's spring training opener against the St. Louis Cardinals and likely throw two innings. Stanton, who signed a record $325 million, 13-year contract in the offseason, will start in right field.