How can I make this robot mech work?

Use the RigEdit plugin and manually rig the robot mech yourself.

I personally won’t weld anything as custom and different as your robot mech to an R15 humanoid, it would look messy and weird.