The 35-year-old went on the DL because of an anxiety disorder that flared up when the club was in New York at the end of April.
"He's missed some time playing but also mentally," Bochy said. "He's a little bit into this, so I'll try to get him a couple at-bats in a game here and there. Then get him in there."
Huff hit a pinch-hit single in the top of the eighth inning Friday off of D-backs relief pitcher Bryan Shaw.
"It's a great sign," Bochy said. "He saw some pitches. I think he's feeling better and better; he's close. We'll use him off the bench so he can really feel comfortable."
On the season, Huff is batting .194 with a homer, four RBIs and an on-base percentage of .302.