Master cylinder rebuild kits

I have this same master cylinder, but i have discs on the front.
Is it safe to use it, or should i get proper one?
It might work, but better to get an optimal MC, since they are cheap. Disk brakes usually require more hydraulic pressure than drums, so most either use a vacuum booster or an MC with a smaller bore (7/8" or 15/16"D). Disks also tend to draw more fluid so the disk reservoir is usually bigger. You can use almost any MC. Many here use a more modern aluminum ones, using a 2 to 4 bolt adapter plate. However, best to copy others since you can run into problems with the pedal rod length and such.