Phegley underwent surgery Tuesday to remove a cruciate ligament cyst from his right knee, Susan Slusser of the San Francisco Chronicle reports.

An estimated recovery timetable was not immediately offered up, but team trainer Nick Paparesta said the procedure was "about as minor as knee surgery can be." Matt McBride was summoned to replace Phegley on the roster and should see most of the starts against left-handed pitching.