To get server name @@SERVERNAME and to get the version of SQL Server installed @@VERSION function can be used.
SELECT @@SERVERNAME, @@VERSION
Similarly, we can also use MAX connection allowed and max text size function like below
SELECT @@MAX_CONNECTIONSViews: 7296 | Post Order: 65
SELECT @@TEXTSIZE