<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentServer](./bitburner.singularity.getcurrentserver.md) ## Singularity.getCurrentServer() method Get the current server. <b>Signature:</b> ```typescript getCurrentServer(): string; ``` <b>Returns:</b> string Name of the current server. ## Remarks RAM cost: 2 GB \* 16/4/1