Multibit notification
As MultiBit HD is targeted for end users it does not have any external API.

Have a look at the WalletTool in the bitcoinj examples module (the Bitcoin network code MultiBit uses).

It gives you a command line interface into bitcoin confirmations.
It's much simpler than the MultiBit HD code so will be much easier to tweak to do what you want.