How do you get the correct mouse coordinates for xClick on a VPS?

Where is UI Vision installed? Inside the VPS or on your local machine? And where do you run MPos? VPS or local? A screenshot / screen video would help.