Right-hander Ryan Vogelsong is staying with the San Francisco Giants, agreeing to terms on a one-year contract Friday.