diff --git a/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx b/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx index 74ff0be629c..50d119134f0 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx @@ -277,102 +277,151 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe const checks = MCP_REQUIRED_FIELD_DEFS.filter((f) => requiredFields.includes(f.key)).map((f) => ({ key: f.key, label: f.label, + description: f.description, passed: f.check(server), })); const passCount = checks.filter((c) => c.passed).length; - const allPassed = checks.length > 0 && passCount === checks.length; + const failCount = checks.length - passCount; + const allPassed = checks.length > 0 && failCount === 0; return ( -
{server.description}
+ )} + {server.url && ( +{server.url}
+ Rejection reason: {server.review_notes}
)}{server.description}
- )} - {server.url && ( -{server.url}
- - Rejection reason: {server.review_notes} -
- )} - {checks.length > 0 && ( -