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]

fix: add team_id field to NewMCPServerRequest

yuneng-jiang971cc2a9af40
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 0c2cb8c827e..67ae31bea8e 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -1144,6 +1144,10 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):
None,
description="Server-managed: set by the endpoint; caller values are overridden.",
)
+ team_id: Optional[str] = Field(
+ None,
+ description="Team ID to assign the MCP server to. Required for team MCP managers.",
+ )
@model_validator(mode="before")
@classmethod