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]

style: black format types/mcp_server/mcp_server_manager.py

Ishaan Jaffer13952b0b1b40
diff --git a/litellm/types/mcp_server/mcp_server_manager.py b/litellm/types/mcp_server/mcp_server_manager.py
index 81fb424c153..ace8c8a4188 100644
--- a/litellm/types/mcp_server/mcp_server_manager.py
+++ b/litellm/types/mcp_server/mcp_server_manager.py
@@ -29,19 +29,19 @@ class MCPServer(BaseModel):
authentication_token: Optional[str] = None
instructions: Optional[str] = None
mcp_info: Optional[MCPInfo] = None
- extra_headers: Optional[
- List[str]
- ] = None # allow admin to specify which headers to forward from client to the MCP server
+ extra_headers: Optional[List[str]] = (
+ None # allow admin to specify which headers to forward from client to the MCP server
+ )
allowed_tools: Optional[List[str]] = None
disallowed_tools: Optional[List[str]] = None
tool_name_to_display_name: Optional[Dict[str, str]] = None
tool_name_to_description: Optional[Dict[str, str]] = None
- allowed_params: Optional[
- Dict[str, List[str]]
- ] = None # map of tool names to allowed parameter lists
- static_headers: Optional[
- Dict[str, str]
- ] = None # static headers to forward to the MCP server
+ allowed_params: Optional[Dict[str, List[str]]] = (
+ None # map of tool names to allowed parameter lists
+ )
+ static_headers: Optional[Dict[str, str]] = (
+ None # static headers to forward to the MCP server
+ )
# OAuth-specific fields
client_id: Optional[str] = None
client_secret: Optional[str] = None