From 971cc2a9af40fa14b7a50efb428aab9098cc13ec Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Thu, 19 Mar 2026 17:56:08 -0700 Subject: [PATCH] fix: add team_id field to NewMCPServerRequest Co-Authored-By: Claude Opus 4.6 --- litellm/proxy/_types.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 0c2cb8c827..67ae31bea8 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