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]

chore: lint

Yuta Saito7213f4a6904f
diff --git a/litellm/types/mcp_server/mcp_server_manager.py b/litellm/types/mcp_server/mcp_server_manager.py
index 892a5146a75..96fd79f466b 100644
--- a/litellm/types/mcp_server/mcp_server_manager.py
+++ b/litellm/types/mcp_server/mcp_server_manager.py
@@ -7,12 +7,14 @@ from litellm.proxy._types import MCPAuthType, MCPTransportType
# MCPInfo now allows arbitrary additional fields for custom metadata
MCPInfo = Dict[str, Any]
+
class MCPOAuthMetadata(BaseModel):
scopes: Optional[List[str]] = None
authorization_url: Optional[str] = None
token_url: Optional[str] = None
registration_url: Optional[str] = None
+
class MCPServer(BaseModel):
server_id: str
name: str