> ## Documentation Index
> Fetch the complete documentation index at: https://gofastmcp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# http

# `fastmcp.utilities.http`

## Functions

### `find_available_port` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/utilities/http.py#L4](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/utilities/http.py#L4)</sup>

```python theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
find_available_port(host: str = '127.0.0.1') -> int
```

Find an available port by letting the OS assign one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.