mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
Custom headers (x-* prefixed) sent in MCP tool call requests are now extracted and stored in StandardLoggingMCPToolCall.custom_headers, and also propagated to requester_custom_headers in StandardLoggingMetadata so logging callbacks can access them via kwargs. Sensitive headers (x-api-key, x-litellm-*, x-mcp-server-auth-*) are filtered out before logging. |
||
|---|---|---|
| .. | ||
| mcp_server | ||