Yoenis Cespedes could return to the Mets in “maybe around two weeks,” manager Terry Collins said after Monday night’s 4-3 win over the Giants.

Cespedes, out since April 28 with a hamstring injury, was in New York on Monday to undergo tests to see if his recurring leg injuries have an underlying cause. The tests apparently showed there is no underlying cause, and Cespedes should be cleared to resume baseball activities “in the next few days,” Collins said.

Cespedes was set to return to Port St. Lucie to continue his rehab. “He came out of the test fine,” Collins said. “He feels he’s getting better. He told me today that the leg’s really feeling a lot better. I think everything’s on the upswing. He had a big smile on his face. He’s glad to be back. I just said, ‘Look, when you get started, take it easy in the beginning. See how you feel.’ ’’

Cabrera remains active

The Mets flew in Gavin Cecchini from Triple-A Las Vegas on Monday in case they needed to place shortstop Asdrubal Cabrera on the disabled list after he injured his thumb on Saturday.

But then Cecchini had to head back to the airport. The Mets decided Cabrera could stay active and be a bat off the bench until he’s ready to resume his starting role.

advertisement | advertise on newsday

Cabrera pinch hit with the bases loaded in the eighth Monday night and grounded into an inning-ending double play.

Cabrera has been playing through leg soreness, so the Mets don’t mind giving him a few days for a full body heal.

“That’s a pretty nice piece to have on the bench right now,” manager Terry Collins said. “If this guy can get a few days off to where he can let those legs heal up a little bit, but you’ve still got that bat on the bench, it becomes big, especially when you have a four-man bench. You’ve got a switch hitter who can walk up there and do some damage.”

Milone added

The Mets activated lefthander Tommy Milone, whom they claimed off waivers from the Brewers on Sunday. Milone might start against the Giants on Wednesday; the Mets were not happy with Rafael Montero’s outing on Friday.

Mets videos

Milone, 30, was 1-0 with a 5.14 ERA in three starts with the Brewers and had a 6.43 ERA overall with one save.

Lagares starts

Juan Lagares, who was batting .194 overall and .111 against lefthanders, started in centerfield against lefthander Matt Moore.

“I don’t think he’s had enough playing time,” Collins said. “If he was in there more, I think he’d do what he always does, and that’s hit lefties.”

Lagares, who entered the game with 31 at-bats, went 0-for-2 with a walk and a strikeout.

advertisement | advertise on newsday

Trainer’s room

Lucas Duda (hyperextended left elbow) went 1-for-2 with a walk with Class A St. Lucie.