mg-mamposst: a code to test modifications of gravity with internal kinematics and lensing analyses of galaxy clusters