I had a plastic cap on an 850Mk2 master cylinder, when the original alloy cap got damaged.
Was a perfect simple swap.
This was back in the 1970s though - when possibly everything was made correctly to fit.
Still have it, if a photo would help anyone...