How to use a MBP with broken graphics chip as a server? I have a 2012 MBP and the graphic chips gave up and the repair costs are huge.

Is there a way to use it as a Unix server somehow? It is still a powerful machine and if I  could boot into a mode without using anything that needs graphics that would be great.

Thanks!
Build the drive with the software on a separate machine or remote log in to it and set it up that way.

I have 2 machines I remote log in to but not due to a graphics failure so I can't say if it will have an error on booting