I'd opt for the male adpt.. Probably water service copper. You don't have room enough for a flaired fitting.
If you can unsolder the present valve then you should be able to sweat on an adapter.
Guess you have to follow code, but a good gate valve would be my choice on my own home....Can you still buy good stuff???????