4,169 questions
4,382 answers
5,737 comments
Use the dumpprivkey command, which is documented on this page:
https://www.multichain.com/developers/json-rpc-api/