A few places sell "spare parts kits". A few detent springs, buffer retainer, firing pin retainer key, ejector spring and o-ring.
To that I added some gas rings, a few fire control springs and a firing pin.
If I had more spare $$$ for this I would stock a spare bolt carrier group.
FWIW the...