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]

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.py
index 12f2b7b297e..ef665c1772c 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -918,6 +918,7 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):
mcp_info: Optional[MCPInfo] = None
mcp_access_groups: List[str] = Field(default_factory=list)
allowed_tools: Optional[List[str]] = None
+ extra_headers: Optional[List[str]] = None
# Stdio-specific fields
command: Optional[str] = None
args: List[str] = Field(default_factory=list)