Hi aborzenkov,
MCTB must be installed on the DFM/OnCommand server as it is a Script Plugin. It also expects to have access to the DFM command line utility, which only runs on the DFM/OnCommand server. MCTB does support OnCommand 5.0. Complete details on installation, configuration, and how MCTB monitors is in the Admin Guide.
Thanks!
Brian