PITTSBURGH -- Andrew McCutchen got both mad and even.
The Pittsburgh Pirates' All-Star center fielder was upset that New York Mets reliever David Aardsma threw a pitch high and tight in the sixth inning. McCutchen responded by sending the next pitch over the center-field fence to tie the game.
McCutchen then singled in the go-ahead run an inning later as the Pirates rallied for a 4-2 victory on Saturday night at PNC Park. The Pirates won their third straight to pull into a tie for first place with St. Louis in the National League Central.
McCutchen pumped his fist as he rounded first base after the home run, his 10th of the season, tied the score at 2-2.
Pittsburgh then scored twice more in the seventh off three New York relievers to go ahead, with both runs being charged to Greg Burke (0-2).
Pinch-hitter Travis Snider lined a one-out single off first baseman Ike Davis' glove and Jose Tabata singled with two outs.
McCutchen then singled off the glove of diving third baseman David Wright and the ball trickled into left-center field, allowing Snider to score from second.
Josh Edgin relieved and issued consecutive walks to Pedro Alvarez and Russell Martin to force in another run.
Justin Wilson (6-1) pitched 1 1/3 scoreless innings for the win. Mark Melancon worked a perfect eighth and Jason Grilli pitched a 1-2-3 ninth for his NL-leading 29th save in 30 opportunities.
Besides McCutchen, Clint Barmes also had two hits for Pittsburgh.
New York's Eric Young Jr. and Marlon Byrd had two hits each. David Wright's 12-game hitting streak ended; he went 0-for-5 as the Mets lost their second straight game after a four-game winning streak.
The Mets' Carlos Torres, moving from the bullpen to sub for Matt Harvey (blister on right index finger), pitched five innings in his first major-league start since Aug. 3, 2010, with the White Sox. Torres yielded only one run and five hits while striking out five and walking none.
Pirates starter A.J. Burnett allowed two runs and seven hits in 5 2/3 innings, with four walks and eight strikeouts.
New York's Kirk Nieuwenhuis drove in the game's first run with a fourth-inning double that one-hopped the fence in right-center. The hit scored Marlon Byrd, who had walked, all the way from first base with one out.
Byrd then hit a two-out RBI infield single in the fifth. The Mets had a chance to score another run in the inning, but Young was thrown out at home by third baseman Alvarez when he tried to score on Wright's chopper.
Pittsburgh closed the gap to 2-1 in the bottom of the fifth when Jones led off with a double and scored on Jordy Mercer's single. The Pirates missed an opportunity for more runs when Jose Tabata grounded into an inning-ending double play with the bases loaded.
NOTES: Pittsburgh LHP Jeff Locke has been scratched from his scheduled start Sunday because of lower back stiffness. RHP Gerrit Cole (4-2, 3.68) will take his place against New York RHP Dillon Gee (6-7, 4.60) in the finale of the three-game series. Locke also will not pitch in the All-Star Game on Tuesday at New York. ... McCutchen was in the lineup after being spiked in his left hand while stealing second base in the 11th inning Friday night. He scored the winning run in that game. ... RHP Jeremy Hefner will start against Atlanta on Friday in the Mets' first game following the All-Star break. He will be followed in the rotation by Gee, RHP Zack Wheeler, Harvey and Torres. ... The Pirates will start LHP Francisco Liriano at Cincinnati on Friday in their first game out of the break, and he will be followed by RHP A.J. Burnett, Locke, RHP Charlie Morton and Cole. ... Mets RHP Jenrry Mejia, who has been on the disabled list all season with an inflamed right elbow tendon, had his rehab assignment transferred to Double-A Binghamton from the rookie-level Gulf Coast League Mets.