Mets catcher Josh Thole prevented a run in the eighth when he held on to the ball despite being barrelled over at home plate by Mike Fontenot. Daniel Murphy lined a shot off Papelbon's leg for the tying run with two outs in the ninth, setting the stage for Wright.
Ike Davis began the ninth with a double off Papelbon (2-3). Thole sacrificed pinch-runner Ronny Cedeno to third before Kirk Nieuwenhuis struck out. Papelbon then hit Jordany Valdespin with a 3-2 pitch and walked Ruben Tejada on a full-count to load the bases.
Bobby Parnell (2-1) pitched the ninth for the Mets, winners of six of eight.
MARLINS 4, BREWERS 0
MILWAUKEE (AP) — Carlos Lee doubled and scored in his Miami debut, Mark Buerhle struck out a season-best eight over 7 2-3 innings and the Marlins beat the Milwaukee Brewers to split the four-game series.
Lee, acquired in a trade with the Houston Astros on Wednesday, started at first base.
Buehrle (8-8) allowed only six hits to the Brewers, who had produced 25 runs the previous three games. The left-hander was challenged in the fourth when Milwaukee had runners at the corners with two outs, but he struck out Rickie Weeks to end the threat. The Brewers failed to advance a runner to third the rest of the way.
Greg Dobbs hit a pinch-hit, two-run homer off Jose Veras in the top of the ninth for Miami.
Mike Fiers (3-3) allowed two runs on seven hits for the Brewers.
PIRATES 2, ASTROS 0
PITTSBURGH (AP) — Jeff Karstens scattered four hits over eight innings and the surging Pittsburgh Pirates blanked the Houston Astros.
Karstens (2-2) struck out a season-high eight against just one walk as the Pirates completed their first four-game sweep of the Astros at home since 1979. Joel Hanrahan pitched the ninth to record his 22nd save.
Garrett Jones and Casey McGehee each drove in a run for Pittsburgh, which has won eight of nine to vault into first in the NL Central.
Houston's Bud Norris (5-6) gave up two runs and five hits in seven solid innings but the Astros' offence sputtered a day after trading slugger Carlos Lee to Miami. Houston managed four singles and didn't get a runner to third base until the ninth while losing its eighth straight game.
NATIONALS 6, GIANTS 5
WASHINGTON (AP) — Bryce Harper scored the winning run when first baseman Brandon Belt couldn't dig out a short-hop throw on a potential double-play ball in the ninth, and the Washington Nationals completed a sweep with a win over the San Francisco Giants on a night of fond memories of the 1924 World Series.
It was throwback night in the nation's capital, and the "Senators" topped the "New York Giants" with a two-run rally off Santiago Casilla (2-4). The NL East leaders recovered from a four-run deficit and have won four straight and seven of nine.
Tyler Clippard (2-2) pitched the ninth to get the win for the Nationals, who scored 24 runs in the three-game series.
The home team went all-out to recreate the nostalgia of the '24 World Series, even though the game didn't feature both of the cities nor both of the franchises from the Series the Senators won in seven games. The Giants moved to the West Coast in 1958, and that version of the Senators (also called the Nationals) bailed for Minnesota in 1961. The current Nationals are the former Montreal Expos, who moved to Washington in 2005.
BRAVES 7, CUBS 3
ATLANTA (AP) — Jason Heyward and Brian McCann each hit a two-run homer in the first inning, helping Mike Minor and the Atlanta Braves beat the Chicago Cubs.
Freddie Freeman and Juan Francisco also connected for Atlanta, which salvaged a split of the four-game series. Minor (5-6) held the Cubs without a hit until the fifth and gave up three runs, two earned, and three hits in 6 1-3 innings overall.
Chicago right-hander Matt Garza (4-7), who could be one of the top starters on the market ahead of this month's trade deadline, allowed five runs and five hits in four innings.
CARDINALS 6, ROCKIES 2
ST. LOUIS (AP) — Lance Lynn struck out seven in six shutout innings, and the Cardinals got two RBIs apiece from Matt Holliday and Carlos Beltran.
St. Louis has won four of its last five and 11 of 14 against Colorado. Jason Motte came on with two on and two out in the ninth and retired Carlos Gonzalez on a grounder for his 19th save in 23 opportunities.
The Rockies have lost four of five. Colorado has scored 13 runs in its last six games.
Lynn (11-4) allowed four hits in winning for the first time since June 13. The All-Star right-hander was 0-2 with a 9.98 ERA in his three previous starts.
Colorado starter Christian Friedrich (4-6) gave up six runs in 4 1/3 innings.
PADRES 2, REDS 1
SAN DIEGO (AP) — Everth Cabrera hit a bases-loaded single in the ninth inning to give the San Diego Padres a win over the Cincinnati Reds.
Rookie Yasmani Grandal hit a leadoff triple in the ninth against Logan Ondrusek (3-2), who then intentionally walked Yonder Alonso. Cameron Maybin followed with a bunt that bounced high in the air and left no play to load the bases.
The Reds brought in Sam LeCure and played the infield and outfield in before Cabrera's game-winning hit, a fly ball that hit the left-field wall on one bounce, gave San Diego its season-high sixth straight win.
All-Star Huston Street (2-0) pitched the ninth for the win.
San Diego pinch-hitter Logan Forsythe tied the game at 1 when he homered off reliever Sean Marshall to lead off the eighth inning.
DODGERS 4, DIAMONDBACKS 1
PHOENIX (AP) — Scott Van Slyke and Elian Herrera hit solo home runs, and the Los Angeles Dodgers sent the Arizona Diamondbacks to their sixth straight loss.
Diamondbacks starter Wade Miley allowed four runs and eight hits in 6 2-3 innings, with four strikeouts.
Van Slyke went deep off Miley and Herrera hit his first big league homer to chase Arizona's lone All-Star representative in the seventh inning to back Nathan Eovaldi, who got his first win in his eighth start.
Eovaldi (1-5) lasted six innings and allowed a run on five hits with three walks and three strikeouts.
Dodgers relievers Scott Elbert and Ronald Belisario combined on scoreless seventh and eighth innings, and Kenley Jansen struck out the side in the ninth for his 15th save.