Robinson Cano’s All-Star start turned into just a cameo, after the Yankees second baseman was drilled behind the right knee by a Matt Harvey fastball in Tuesday night’s first inning and left the game.

Harvey hit Cano with a 96-mph missile. After Cano was checked out by trainers he went to first base and remained in the game for Miguel Cabrera’s at-bat. Cabrera struck out, and Cano came limping off the field and was replaced by pinch-runner Dustin Pedroia, who remained in the game at second base.

Can appeared to have a brief, civil exchange with Harvey as he walked back to the dugout.

X-rays were negative, but Cano did not seem to believe it was serious in an interview on FOX, which reported he had a right knee contusion.

“I’ll be good for Friday,” Cano said. The Yankees visit Boston on Friday in their first game after the All-Star break.

Harvey, the Mets’ ace, pitched two shutout innings in which he allowed one hit. Mike Trout doubled lead off the game, but both he and Pedroia were left stranded in the first. In the second inning, Harvey retired the side in order.