Getting the connection will be the only problem.
If you have the power wire from an old Lionel brick, splice it in.
Otherwise the male ends are available to make your own cable. Be aware of Polarity in both cases.
The bricks from MTH are simple transformers outputting pure sine wave AC.