mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
5c0b35afd9
* 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)