Skip to main content

Documentation Index

Fetch the complete documentation index at: https://gofastmcp.com/llms.txt

Use this file to discover all available pages before exploring further.

fastmcp.client.transports.http

Streamable HTTP transport for FastMCP Client.

Classes

StreamableHttpTransport

Transport implementation that connects to an MCP server via Streamable HTTP Requests. Methods:

connect_session

connect_session(self, **session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]

get_session_id

get_session_id(self) -> str | None

close

close(self)