diff --git a/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx b/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx index 0ff721a7..80c2dffa 100644 --- a/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx +++ b/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx @@ -34,6 +34,7 @@ export const BrowseDialog: React.FC = ({ const categories = popularServersV2?.success ? Object.keys(popularServersV2.categorized) : []; + useEffect(() => { setCurrentPage(1); }, [searchQuery]);