Assuming there is no clearance for a box or tube wrench, turn a slender bar to the nut minor dia for a length just under the nut thickness.
The shoulder will keep the nut square and press it on the male thread, the pin point will center the nut.
Present the tool just made with the nut on the tip and rub the nut to roll until it threads on.