Disc brakes locked

Awesome suggestions , how can I verify if I have the correct master cylinder? What would be a good part number from say napa or advance.