I control my iPhone using an MDM.
What specifically are you looking for?
I also use a local NodeJS server to control the display of my iPhone. I use it during presentations to 'control' audience ( that sounds bigger than it is, what is a better word for 2 - 20 people ) device displays as well.