# lsdtools.server reference
URL: https://lsd.tools/docs/sdk-lsdtools-server
Updated: 2026-09-09

SDK distribution **1.0.0**; API contract **1.0**; generator **1.0.0**.

Product source digest: `4ea39055732e8883c03ccfecf12af6ccebd2041a12ce1b843e4a769e200f5ef9`.

Generated from declared public exports and source syntax. Signatures and annotations are declaration spellings; decorators, factories and annotations are never executed. Class members below are declared members; base classes remain explicit. Source docstrings describe their owning implementation; they do not grant app permissions.

```text
Public package-facing access to LSD server services.

Packages use this module instead of selecting localhost/production URLs or
starting infrastructure themselves. In a source checkout the application
runtime asks the sibling ``lsd-server`` checkout to ensure its local gateway;
an installed runtime is locked to ``https://lsd.tools``.
```


## `lsdtools.server.auth_client`

Kind: function. Source: `sdk/src/lsdtools/server.py:32`.

```python
auth_client(*, timeout: Optional[float]=None)
```


```python
timeout: Optional[float]
```


Source docstring:

```text
Return an :class:`lsd_sdk.auth.AuthClient` on the selected gateway.
```


## `lsdtools.server.ensure_available`

Kind: function. Source: `sdk/src/lsdtools/server.py:13`.

```python
ensure_available(*, timeout: Optional[float]=None) -> str
```


```python
timeout: Optional[float]
```


Source docstring:

```text
Ensure the selected development gateway is ready and return its origin.

The operation is process-coalesced and idempotent. It never starts local
infrastructure in an installed runtime.
```


## `lsdtools.server.market_client`

Kind: function. Source: `sdk/src/lsdtools/server.py:39`.

```python
market_client(*, timeout: Optional[float]=None)
```


```python
timeout: Optional[float]
```


Source docstring:

```text
Return an :class:`lsd_sdk.market.MarketClient` on the selected gateway.
```


## `lsdtools.server.publish_client`

Kind: function. Source: `sdk/src/lsdtools/server.py:46`.

```python
publish_client(*, timeout: Optional[float]=None)
```


```python
timeout: Optional[float]
```


Source docstring:

```text
Return the authenticated streaming published-site client on the selected gateway.
```
