John Leyba-USA TODAY Sports

Ryan McMahon homered, had three hits and finished with five RBIs, Charlie Blackmon also went deep among his two hits, and the Colorado Rockies beat the New York Mets 11-10 in Denver on Sunday.

Randal Grichuk had three hits and two RBIs, Harold Castro added two hits and an RBI while and Peter Lambert (1-1) tossed 2 2/3 innings of relief for the win, Colorado's fifth in its last seven games.

Jurickson Profar singled and scored a run for the Rockies, extending his on-base streak to 35 games.

Francisco Lindor and Francisco Alvarez homered, Tommy Pham had three hits and four RBIs and Pete Alonso, Brandon Nimmo, Eduardo Escobar and Starling Marte had two hits each for New York.

Colorado took a 2-0 lead in the third inning. Blackmon reached on an error by Mets starter Tylor Megill, McMahon walked, Grichuk singled to drive in Blackmon and McMahon scored on Castro's single.

The Mets responded in the fourth inning off starter Austin Gomber. Alonso doubled to lead off, Marte later walked and both moved up on a passed ball. Pham tied it with a two-run double, then stole third. Mark Canha walked and Escobar singled to put New York ahead 3-2.

One out later, Alvarez followed with his eighth home run to make it 6-2.

Gomber allowed six runs on eight hits and struck out three with three walks in four innings of work.

The Rockies answered with a two-out rally in the bottom of the inning against Megill. Blackmon and Profar singled, Kris Bryant walked and McMahon hit a bases-clearing double. Grichuck followed with a double to tie it.

Megill allowed six runs -- four earned -- on 10 hits over four innings. He struck out three and walked two.

Colorado went ahead in the fifth against reliever Stephen Nogosek (0-1). Ezequiel Tovar and Austin Wynns hit consecutive doubles and Blackmon homered to right to make it 9-6. It was his fifth of the season.

Bryant walked for the second time and McMahon homered to center, his seventh and the third straight game he went deep.

Lindor led off the seventh with his ninth homer of the season and the Mets made it close in the ninth. Jeff McNeil singled, Marte walked, Pham his a two-run triple and he scored on a groundout by Brett Baty. Escobar then grounded out to end the game.

More must-reads:

TODAY'S BEST
Maple Leafs fire HC Sheldon Keefe after another early playoff exit
Super Bowl champion discusses why Russell Wilson failed with Broncos
Colts LB Zaire Franklin calls out Texans, C.J. Stroud
Angels to acquire longtime Mets infielder from Braves
Hornets make decision on next head coach
Giants sign former Pro Bowl wide receiver
Report reveals why the NBA did not suspend Jamal Murray
Pressure mounts on Nuggets as Nikola Jokic wins third MVP Award
Jalen Brunson shakes off injury to lift Knicks to Game 2 win
Panthers dominate Bruins to even series
LSU HC pins transfer portal struggles on reluctance to 'buy players'
Pirates announce date for 2023 No. 1 overall pick's MLB debut
Shohei Ohtani showing what would happen if he only focused on hitting
Joe Burrow shares 'support' for Bengals who requested trades
Canucks erase three-goal deficit to stun Oilers in Game 1
Watch: Pacers star ties playoff high in threes in one half
Former NFL player has major warning for Steelers QB Justin Fields: 'You can't fall into this'
Watch: Brad Marchand hurdle Panthers player on Charlie Coyle goal
LeBron James rues 'missed opportunities' against Nuggets
Cardinals star gives update on timeline for injury rehab

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.