As far as I know this isn't possible.
You can turn off all services but I dont think you can remove the server part of your OS.
At least there is no simple way to do so.
Assuming you are referring to Mac OS X Server app for Mountain Lion, just drag the application into the trash and delete it.
Dragging Server.app out of the Applications folder will cause it to automatically self-disable all server functionality.