Files
Pietro Zullo 5c0b35afd9 fix(python): replace deprecated streamablehttp_client with streamable_http_client (#1017)
* fix(python): replace deprecated streamablehttp_client with streamable_http_client

The MCP SDK deprecated streamablehttp_client (camelCase) in favor of
streamable_http_client (snake_case). The new API takes a pre-configured
httpx.AsyncClient instead of individual params.

Changes:
- Create httpx.AsyncClient with auth, headers, timeouts via factory
- Pass it to streamable_http_client(url, http_client=client)
- Manage httpx client lifecycle in _close_connection
- Default httpx_client_factory to create_mcp_http_client (no more None)

Closes MCP-1379

* fix: use logger.warning for cleanup errors (consistent with other connection managers)

* chore: bump mcp minimum version to 1.24.0 (streamable_http_client introduced)

* docs

* docs

* docs: fix memory address in generated docs (use None default instead of function reference)
2026-02-15 16:45:00 -08:00
..
2025-10-17 20:09:19 +02:00
2025-11-24 20:59:22 +01:00
2025-10-17 20:09:19 +02:00
2025-12-10 17:02:08 +01:00