[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentServer](./bitburner.singularity.getcurrentserver.md)
## Singularity.getCurrentServer() method
SF4.1 - Get the current server.
Signature:
```typescript
getCurrentServer(): string;
```
Returns:
string
Name of the current server.
## Remarks
RAM cost: 2 GB