XCode (not Xcode Server) on a mac server

I'd like to install XCode on a mac server for iOS app development. I have a macbook pro, not a mac server. Here is how I want to set up. I work from a remote location. I want to have a mac server in our server room and install NuoRDS Terminal Server and user Windows Remote Desktop client to access it from a Windows computer. (The reason I will be using Windows computer to acces the mac server and once this set up is completed, I will not have the mac book pro.)


So, my question is can I install XCode on a mac server for iOS developement?

Thanks.