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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
generate_mock_mcp_server_config_record
Ishaan Jaffer79a6feb7acc1
diff --git a/tests/test_litellm/proxy/management_endpoints/test_mcp_management_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_mcp_management_endpoints.pyindex fc97b389137..f1594c36e7e 100644--- a/tests/test_litellm/proxy/management_endpoints/test_mcp_management_endpoints.py+++ b/tests/test_litellm/proxy/management_endpoints/test_mcp_management_endpoints.py@@ -22,7 +22,7 @@ from litellm.proxy._types import (UserAPIKeyAuth,)from litellm.types.mcp import MCPAuth-from litellm.types.mcp_server.mcp_server_manager import MCPInfo, MCPServer+from litellm.types.mcp_server.mcp_server_manager import MCPServerdef generate_mock_mcp_server_db_record(@@ -63,10 +63,10 @@ def generate_mock_mcp_server_config_record(url=url,transport=MCPTransport.http if transport == "http" else MCPTransport.sse,auth_type=MCPAuth.api_key if auth_type == "api_key" else None,- mcp_info=MCPInfo(- server_name=name,- description="Config server description",- ),+ mcp_info={+ "server_name": name,+ "description": "Config server description",+ },)