# libtmux.Server.__enter__

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L260
- **Page:** https://libtmux.org/reference/py/libtmux-server-__enter__/

```
libtmux.Server.__enter__(self) -> Self
```

Enter the context, returning self.

## Returns

:class:`Server`
    The server instance
