Something went wrong. Try again.
mirror of github.com/PrefectHQ/fastmcp
Something went wrong. Try again.
12345678910111213141516171819202122232425---title: dependenciessidebarTitle: dependencies---
# `fastmcp.client.dependencies`
Client-side dependency helpers.
## Functions
### `get_http_headers` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/client/dependencies.py#L19" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
```pythonget_http_headers(include_all: bool = False, include: set[str] | None = None) -> dict[str, str]```
Return HTTP headers from an ambient server request, when available.
The standalone client package has no server request context. When the fullFastMCP package is installed, delegate to its request-aware implementation.