SAN FRANCISCO (AP) The San Francisco Giants have activated right-hander Matt Cain from the 15-day disabled list and designated lefty David Huff for assignment.

Cain was activated in time to start Friday's series opener against the New York Mets.

Cain had been sidelined since May 22 with a strained right hamstring. He is 1-3 with a 3.66 ERA in eight starts this season.

Huff was 1-0 with a 6.30 ERA in 16 relief appearances.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.