Forward Doug McDermott agreed to a three-year, $42-million contract with the Spurs, highlighting a quick roster upgrade for San Antonio — once free agency opened Monday — that included a three-year agreement with center Zach Collins, sources told ESPN.