Pro Bowl left tackle Joe Staley had finger surgery Tuesday night and will "probably be out a couple weeks," head coach Kyle Shanahan said.