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]

Litellm mcp access group (#12514)

Jugal D. Bhatt1b10dda2f404
diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py b/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py
index c50183fa5f8..c8d6d8e48a0 100644
--- a/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py
+++ b/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py
@@ -96,8 +96,8 @@ class TestMCPRequestHandler:
user_api_key_auth
)
- # Assert the result
- assert result == expected_result
+ # Assert the result (order-independent comparison)
+ assert sorted(result) == sorted(expected_result)
# Verify database call was made correctly when expected
if (
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
index c17b871b11c..f9d10c98ecd 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
@@ -180,7 +180,7 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
<Form.Item
label={
<span className="text-sm font-medium text-gray-700">
- MCP Server URL <span className="text-red-500">*</span>
+ MCP Server URL
</span>
}
name="url"
@@ -199,7 +199,7 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
<Form.Item
label={
<span className="text-sm font-medium text-gray-700">
- Transport Type <span className="text-red-500">*</span>
+ Transport Type
</span>
}
name="transport"
@@ -218,7 +218,7 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
<Form.Item
label={
<span className="text-sm font-medium text-gray-700">
- Authentication <span className="text-red-500">*</span>
+ Authentication
</span>
}
name="auth_type"
@@ -240,7 +240,7 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
<Form.Item
label={
<span className="text-sm font-medium text-gray-700 flex items-center">
- MCP Version <span className="text-red-500 ml-1">*</span>
+ MCP Version
<Tooltip title="Select the MCP specification version your server supports">
<InfoCircleOutlined className="ml-2 text-gray-400 hover:text-gray-600" />
</Tooltip>