In his first game action in over a month, Mets’ outfielder Yoenis Cespedes played five innings in left field and hit two home runs in seven at-bats.

If everything goes well, Cespedes could return for the subway series starting Friday night in the Bronx.

The 32-year-old hasn’t played in a major league game since May, and was shutdown last month after hitting a snag in his rehab.

In just 37 games for the Mets this season, Cespedes has hit .255/.316/.474 with eight homers and 28 RBI while being worth 0.6 WAR.