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
feat(proxy/_types.py): add new `extra_headers` param support to API request
Krrish Dholakia562e7a4e03c2
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 12f2b7b297e..ef665c1772c 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -918,6 +918,7 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):mcp_info: Optional[MCPInfo] = Nonemcp_access_groups: List[str] = Field(default_factory=list)allowed_tools: Optional[List[str]] = None+ extra_headers: Optional[List[str]] = None# Stdio-specific fieldscommand: Optional[str] = Noneargs: List[str] = Field(default_factory=list)