Michael
If the boiler is off, then make up a tee piece joined to flexible hose, 1/4 or 3/8 ID engine oil or fuel pipe works well secured with jubilee clips. The two ends fix onto adapters that you need to design and mount on the cylinder valve chest inlets at the top. The other common end of the hose goes to your compressor via an on/off valve. Bring the compressor outlet pressure up and it should run from around 10psi. You will need a proper, big workshop compressor to keep a 5inch loco running.
If the boiler goes back on make yourself a fitting that screws into one safety valve bush The fitting tail that sticks up will be finished to accept the length of hose.
Norm
Edit – this might help as it shows how I did the same job https://youtu.be/_Di62EOCriA
Edited By norm norton on 04/03/2023 10:36:59