Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge pull request #15253 from BerriAI/litellm_dev_10_06_2025_p2

Krish Dholakia6b4415684e02
diff --cc litellm/experimental_mcp_client/client.py
index 081384b40d9,8324011a050..b10ddc9e812
--- a/litellm/experimental_mcp_client/client.py
+++ b/litellm/experimental_mcp_client/client.py
@@@ -117,8 -124,9 +124,9 @@@ class MCPClient
await self._session.initialize()
else: # http
headers = self._get_auth_headers()
+ httpx_client_factory = self._create_httpx_client_factory()
verbose_logger.debug(
- "litellm headers for streamablehttp_client: ", headers
+ "litellm headers for streamablehttp_client: %s", headers
)
self._transport_ctx = streamablehttp_client(
url=self.server_url,