diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.test.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.test.tsx index 299bbcd4f2e..b5d6836c36f 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.test.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.test.tsx @@ -96,6 +96,23 @@ describe("MCPServers", () => { }); }); + it("should not show a new badge on the Submitted MCPs tab", async () => { + vi.mocked(networking.fetchMCPServers).mockResolvedValue([]); + vi.mocked(networking.fetchMCPServerHealth).mockResolvedValue([]); + + const queryClient = createQueryClient(); + render( + + + , + ); + + await waitFor(() => { + expect(screen.getByRole("tab", { name: "Submitted MCPs" })).toBeInTheDocument(); + }); + expect(screen.queryByRole("tab", { name: /Submitted MCPs\s+New/i })).not.toBeInTheDocument(); + }); + it("should render mocked MCP servers data in the table", async () => { // Mock MCP servers data const mockServers = [ diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx index 541658b42e8..464be1cd265 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx @@ -501,11 +501,7 @@ const MCPServers: React.FC = ({ accessToken, userRole, userID }) Semantic Filter Network Settings {isAdminRole(userRole) && ( - - - Submitted MCPs - - + Submitted MCPs )} {isProxyAdminRole(userRole) && (