Cespedes wound up with bruises on two fingers of his left hand after he was hit by a pitch Wednesday night in a testy, 7-5 loss to the Philadelphia Phillies.
X-rays were negative on Cespedes, struck on the ring and middle fingers.
"That's always scary," Mets manager Terry Collins said. "Very relieved he's OK."
Cespedes was hit by Justin De Fratus and came out of the game.
"I felt pain when I first got hit," Cespedes said through a translator. "I was relieved when X-rays came back negative."
De Fratus said it was a sinker that got away.
"I hope he's OK," he said. "We don't want to be doing them any favors, but that's not the way I want to do it. I feel bad about it."
Acquired at the July 31 trade deadline from Detroit, Cespedes is batting .287 with 17 homers and 44 RBI in 54 games with the Mets. Overall, he has set career highs this season with 35 home runs and 105 RBI.
Cespedes exited in the third inning after being hit, but returned to the dugout in the sixth when the benches started to empty following a high-and-tight pitch.
"It was a fastball that got away," Robles said.
Said Collins, "You can't miss that bad up around the head."
Daniel Murphy and Michael Conforto homered for the NL East champion Mets, who remained one game ahead of the Los Angeles Dodgers for home-field advantage in the Division Series. The Mets hold the tiebreaker in the event the teams finish with identical records.
Freddy Galvis drove in two runs for the Phillies and scored the go-ahead run in the sixth on a wild pitch.
Ken Roberts (1-1) retired one batter. Seven Phillies relievers combined to pitch 8 1/3 scoreless innings, capped by Ken Giles working the ninth for his 15th save in 19 chances.
Bobby Parnell (2-4) faced three batters and retired none of them.
The teams combined to use 17 pitchers in the 3-hour, 59-minute game.
"It was an ugly game," Collins said. "We have to get rekindled here. We'll get it going."
Darin Ruf had a two-run double for the Phillies.
The Phillies went ahead with three runs on one hit in the sixth, with Galvis scoring on Carlos Torres' wild pitch.
Conforto's two-run homer with two outs in the first made it 5-0 and finished Alec Asher.
Logan Verrett made a spot start for the Mets in place of Steven Matz and surrendered three runs on four hits in 4 1/3 innings. Matz originally was slated to pitch, but the rookie's outing was pushed back a day after he woke up Tuesday with a sore back.
Collins said prior to Wednesday's game that the back issue was lingering and Matz would not appear on Thursday, either. After the game, Collins indicated that Matz was feeling batter following treatment and medication for muscle spasms.
The Phillies need to win two of their last four games to avoid losing 100 games for the first time since 1961.
"I know I wake up every day, knowing I don't want to lose 100 games," De Fratus said. "That wouldn't be a nice thing to sit on in the offseason."
Mets: SS Wilmer Flores left the game in the fourth inning with lower back stiffness.
Phillies: Manager Pete Mackanin said prior to Wednesday's game that 1B Ryan Howard, out since Sept. 14 after getting hit on the left knee by a ball at first base, may not play the rest of the season. ... 3B Maikel Franco plans to rejoin the team for their season-ending weekend series against the Marlins, which begins Friday. Franco, who has been on the DL since Aug. 12, is scheduled to arrive in Philadelphia late Thursday morning.
RHP Jerad Eickhoff (2-3, 3.07) takes the mound for the Phillies in the conclusion of the three-game series at 12:05 p.m. on Thursday. The start time was changed from 7:05 p.m. due to the impending storms in the Northeast expected from Hurricane Joaquin. LHP Sean Gilmartin (3-1, 2.58) will start for the Mets.
Boston Red Sox would be foolish not to bring back Alex Cora as manager
The MLB suspension of the World Series-winning manager will soon end, and Boston has a decision to make.
MLB Playoffs Daily: Baseball's biggest postseason party ever is here
It's playoff time! Tuesday's four American League openers feature an ace showdown, a big test for the Astros and much more.
Police, protest, pandemic and the end of the 9/11 era
The pandemic, the killing of George Floyd and the summer of protest and racial reckoning have combined to bring an end to the police-as-hero narrative sold to the public for the past 20 years -- largely through sports.
Tampa Bay Lightning's Stanley Cup win adds them to list of Redeem Teams
The Lightning won the Stanley Cup. Just a year later than many experts expected. Getting redemption for a big upset puts them in good company with teams like Alabama, the Golden State Warriors and LeBron James.
Top-seeded Dodgers set to tackle sub-.500 Brewers
The Los Angeles Dodgers hit the most home runs in baseball and produced the best staff ERA in the game, yet they will enter the opener of their first-round National League playoff series against the Milwaukee Brewers on Wednesday looking to get even...
Youthful Marlins take aim at experienced Cubs
Chicago's Wrigley Field is the site for a best-of-three National League wild-card series that will feature the experience of the third-seeded Chicago Cubs against the youth of the sixth-seeded Miami Marlins.