If you take a look in the docs directory you will find the api.chm with all the commands in that are used within the GUI,
IE to zero an axis you would need to look at the axis section and use mc.mcAxisSetPos(number inst, number axisId, number val)
you can gain a lot of insight of using commands by looking in the modules and examples directory and reading the codes there.
DazTheGas