You can run existing vSphere CLI or VMware vSphere SDK for Perl scripts from vMA.
To set target servers and initialize vi-fastpass, the script can use the VmaTarget.login() method of VmaTargetLib.