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]

Adding extra_headers and allowed_tools in UpdateMCPServerRequest

yuneng-jiang5ee2338f9ef2
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index d507b6b5ac3..2e68e25894b 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -1070,6 +1070,8 @@ class UpdateMCPServerRequest(LiteLLMPydanticObjectBase):
url: Optional[str] = None
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
static_headers: Optional[Dict[str, str]] = None
# Stdio-specific fields
command: Optional[str] = None