diff --git a/web/app/components/tools/mcp/index.tsx b/web/app/components/tools/mcp/index.tsx index a9012d0652..c634085c54 100644 --- a/web/app/components/tools/mcp/index.tsx +++ b/web/app/components/tools/mcp/index.tsx @@ -23,7 +23,7 @@ const MCPList = ({ const filteredList = useMemo(() => { return list.filter((collection) => { if (searchText) - return Object.values(collection.name).some(value => (value as string).toLowerCase().includes(searchText.toLowerCase())) + return collection.type === 'mcp' && Object.values(collection.name).some(value => (value as string).toLowerCase().includes(searchText.toLowerCase())) return collection.type === 'mcp' }) as ToolWithProvider[] }, [list, searchText])