diff --git a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.test.tsx b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.test.tsx index 210e684da37..052720677cd 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.test.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.test.tsx @@ -110,10 +110,12 @@ describe("CreateMCPServer", () => { expect(screen.getByText("Add New MCP Server")).toBeInTheDocument(); }); - it("should not render when user is not an admin", () => { + it("should render for internal users with team selection prompt", () => { render(); - expect(screen.queryByText("Add New MCP Server")).not.toBeInTheDocument(); + expect(screen.getByText("Add New MCP Server")).toBeInTheDocument(); + // Internal users without a selected team see a prompt + expect(screen.getByText("Select a team to create an MCP server for your team.")).toBeInTheDocument(); }); it("should show transport type options", async () => {