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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
chore(mcp): document mutable bridge header shape
Daniel Meismer1a2a24ecc695
diff --git a/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py b/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.pyindex 4d999919f2f..8bd0d4efae8 100644--- a/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py+++ b/litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py@@ -817,10 +817,10 @@ class MCPRequestHandler:server: MCPServer,authorization_value: str,litellm_api_key: str,- mcp_server_auth_headers: dict[str, dict[str, str]] | None,+ mcp_server_auth_headers: dict[str, dict[str, str]] | None, # mutable-ok: existing MCP sink shaperequest: Request,route: str,- ) -> tuple[UserAPIKeyAuth, dict[str, dict[str, str]] | None]:+ ) -> tuple[UserAPIKeyAuth, dict[str, dict[str, str]] | None]: # mutable-ok: existing MCP sink shapeif is_bridge_envelope_shaped(authorization_value):return await MCPRequestHandler._admit_dcr_bridge_delegate(server=server,