From 1a2a24ecc695ad277e34dc4b19b1db0cdcf93e27 Mon Sep 17 00:00:00 2001 From: Daniel Meismer Date: Tue, 25 Aug 2026 22:40:01 -0400 Subject: [PATCH] chore(mcp): document mutable bridge header shape Generated with AI Co-Authored-By: Codex --- .../_experimental/mcp_server/auth/user_api_key_auth_mcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.py index 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 shape request: Request, route: str, - ) -> tuple[UserAPIKeyAuth, dict[str, dict[str, str]] | None]: + ) -> tuple[UserAPIKeyAuth, dict[str, dict[str, str]] | None]: # mutable-ok: existing MCP sink shape if is_bridge_envelope_shaped(authorization_value): return await MCPRequestHandler._admit_dcr_bridge_delegate( server=server,